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

Unified Diff: chrome/browser/extensions/extension_web_ui_override_registrar.h

Issue 178193030: Rename ProfileKeyedAPI to BrowserContextKeyedAPI and GetProfile to Get. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 10 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: chrome/browser/extensions/extension_web_ui_override_registrar.h
diff --git a/chrome/browser/extensions/extension_web_ui_override_registrar.h b/chrome/browser/extensions/extension_web_ui_override_registrar.h
index eca634f6728ec30fc95a4c20137d5bb566e23bb0..6b02ac1944198cfd1ab40a35f4f2656bebdf305f 100644
--- a/chrome/browser/extensions/extension_web_ui_override_registrar.h
+++ b/chrome/browser/extensions/extension_web_ui_override_registrar.h
@@ -6,9 +6,9 @@
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_OVERRIDE_REGISTRAR_H_
#include "base/basictypes.h"
-#include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "extensions/browser/browser_context_keyed_api_factory.h"
class Profile;
@@ -18,14 +18,14 @@ class BrowserContext;
namespace extensions {
-class ExtensionWebUIOverrideRegistrar : public ProfileKeyedAPI,
- public content::NotificationObserver {
+class ExtensionWebUIOverrideRegistrar : public BrowserContextKeyedAPI,
+ public content::NotificationObserver {
public:
explicit ExtensionWebUIOverrideRegistrar(content::BrowserContext* context);
virtual ~ExtensionWebUIOverrideRegistrar();
- // ProfileKeyedAPI implementation.
- static ProfileKeyedAPIFactory<ExtensionWebUIOverrideRegistrar>*
+ // BrowserContextKeyedAPI implementation.
+ static BrowserContextKeyedAPIFactory<ExtensionWebUIOverrideRegistrar>*
GetFactoryInstance();
// content::NotificationObserver implementation.
@@ -34,9 +34,9 @@ class ExtensionWebUIOverrideRegistrar : public ProfileKeyedAPI,
const content::NotificationDetails& details) OVERRIDE;
private:
- friend class ProfileKeyedAPIFactory<ExtensionWebUIOverrideRegistrar>;
+ friend class BrowserContextKeyedAPIFactory<ExtensionWebUIOverrideRegistrar>;
- // ProfileKeyedAPI implementation.
+ // BrowserContextKeyedAPI implementation.
static const char* service_name() {
return "ExtensionWebUIOverrideRegistrar";
}

Powered by Google App Engine
This is Rietveld 408576698