#ifndef CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_SERVICE_FACTORY_H_
#define CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_SERVICE_FACTORY_H_
#include "base/memory/singleton.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
class Profile;
namespace suggestions {
class SuggestionsService;
class SuggestionsServiceFactory : public BrowserContextKeyedServiceFactory {
 public:
  
  static suggestions::SuggestionsService* GetForProfile(Profile* profile);
  static SuggestionsServiceFactory* GetInstance();
 private:
  friend struct DefaultSingletonTraits<SuggestionsServiceFactory>;
  SuggestionsServiceFactory();
  virtual ~SuggestionsServiceFactory();
  
  virtual content::BrowserContext* GetBrowserContextToUse(
      content::BrowserContext* context) const OVERRIDE;
  virtual KeyedService* BuildServiceInstanceFor(
      content::BrowserContext* profile) const OVERRIDE;
  DISALLOW_COPY_AND_ASSIGN(SuggestionsServiceFactory);
};
}  
#endif