Chromium Code Reviews

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

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/history/shortcuts_backend_factory.h
diff --git a/chrome/browser/history/shortcuts_backend_factory.h b/chrome/browser/history/shortcuts_backend_factory.h
index 272b2d0531bb2e0bb57bf087064957c311db9d6f..b15f57ce2c118388b46a44140bcbaf7c2229b344 100644
--- a/chrome/browser/history/shortcuts_backend_factory.h
+++ b/chrome/browser/history/shortcuts_backend_factory.h
@@ -29,12 +29,12 @@ class ShortcutsBackendFactory : public RefcountedProfileKeyedServiceFactory {
// Creates and returns a backend for testing purposes.
static scoped_refptr<RefcountedProfileKeyedService>
- BuildProfileForTesting(Profile* profile);
+ BuildProfileForTesting(content::BrowserContext* profile);
// Creates and returns a backend but without creating its persistent database
// for testing purposes.
static scoped_refptr<RefcountedProfileKeyedService>
- BuildProfileNoDatabaseForTesting(Profile* profile);
+ BuildProfileNoDatabaseForTesting(content::BrowserContext* profile);
private:
friend struct DefaultSingletonTraits<ShortcutsBackendFactory>;
@@ -44,7 +44,7 @@ class ShortcutsBackendFactory : public RefcountedProfileKeyedServiceFactory {
// ProfileKeyedServiceFactory:
virtual scoped_refptr<RefcountedProfileKeyedService> BuildServiceInstanceFor(
- Profile* profile) const OVERRIDE;
+ content::BrowserContext* profile) const OVERRIDE;
virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
};
« no previous file with comments | « chrome/browser/history/history_service_factory.cc ('k') | chrome/browser/history/shortcuts_backend_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine