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

Unified Diff: components/browser_context_keyed_service/browser_context_keyed_service.h

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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
Index: components/browser_context_keyed_service/browser_context_keyed_service.h
diff --git a/components/browser_context_keyed_service/browser_context_keyed_service.h b/components/browser_context_keyed_service/browser_context_keyed_service.h
index b87aeac87cc40c124694b6fe791bac1089b6e885..bbe3686002e963946dc77c71016cdbb43d388588 100644
--- a/components/browser_context_keyed_service/browser_context_keyed_service.h
+++ b/components/browser_context_keyed_service/browser_context_keyed_service.h
@@ -5,26 +5,26 @@
#ifndef COMPONENTS_BROWSER_CONTEXT_KEYED_SERVICE_BROWSER_CONTEXT_KEYED_SERVICE_H_
#define COMPONENTS_BROWSER_CONTEXT_KEYED_SERVICE_BROWSER_CONTEXT_KEYED_SERVICE_H_
-class ProfileKeyedServiceFactory;
+class BrowserContextKeyedServiceFactory;
-// Base class for all ProfileKeyedServices to allow for correct destruction
-// order.
+// Base class for all BrowserContextKeyedServices to allow for correct
+// destruction order.
//
-// Many services that hang off Profile have a two-pass shutdown. Many
+// Many services that hang off BrowserContext have a two-pass shutdown. Many
// subsystems need a first pass shutdown phase where they drop references. Not
// all services will need this, so there's a default implementation. Only once
// every system has been given a chance to drop references do we start deleting
// objects.
-class ProfileKeyedService {
+class BrowserContextKeyedService {
public:
- // The first pass is to call Shutdown on a ProfileKeyedService.
+ // The first pass is to call Shutdown on a BrowserContextKeyedService.
virtual void Shutdown() {}
protected:
- friend class ProfileKeyedServiceFactory;
+ friend class BrowserContextKeyedServiceFactory;
// The second pass is the actual deletion of each object.
- virtual ~ProfileKeyedService() {}
+ virtual ~BrowserContextKeyedService() {}
};
#endif // COMPONENTS_BROWSER_CONTEXT_KEYED_SERVICE_BROWSER_CONTEXT_KEYED_SERVICE_H_

Powered by Google App Engine
This is Rietveld 408576698