Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4419)

Unified Diff: chrome/browser/history/history_service_factory.h

Issue 839193002: Move ServiceAccessType into //components/keyed_service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on android Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/history/history_browsertest.cc ('k') | chrome/browser/history/history_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_service_factory.h
diff --git a/chrome/browser/history/history_service_factory.h b/chrome/browser/history/history_service_factory.h
index 06fcc2464833c8f6b15cbab64878a7469cd716a8..01044d6b0d8c5aba06a95d7db4c0d230a06b93d3 100644
--- a/chrome/browser/history/history_service_factory.h
+++ b/chrome/browser/history/history_service_factory.h
@@ -6,20 +6,20 @@
#define CHROME_BROWSER_HISTORY_HISTORY_SERVICE_FACTORY_H_
#include "base/memory/singleton.h"
-#include "chrome/browser/profiles/profile.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
+#include "components/keyed_service/core/service_access_type.h"
class HistoryService;
+class Profile;
// Singleton that owns all HistoryService and associates them with
// Profiles.
class HistoryServiceFactory : public BrowserContextKeyedServiceFactory {
public:
- static HistoryService* GetForProfile(
- Profile* profile, Profile::ServiceAccessType sat);
+ static HistoryService* GetForProfile(Profile* profile, ServiceAccessType sat);
- static HistoryService* GetForProfileIfExists(
- Profile* profile, Profile::ServiceAccessType sat);
+ static HistoryService* GetForProfileIfExists(Profile* profile,
+ ServiceAccessType sat);
static HistoryService* GetForProfileWithoutCreating(
Profile* profile);
« no previous file with comments | « chrome/browser/history/history_browsertest.cc ('k') | chrome/browser/history/history_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698