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

Unified Diff: chrome/browser/extensions/plugin_manager.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/plugin_manager.h
diff --git a/chrome/browser/extensions/plugin_manager.h b/chrome/browser/extensions/plugin_manager.h
index 71f91d63ea56b3b281edb5daf1e7a4951d575710..c66ac5a83dbc5ad602254e2de0d5ea96f97ca139 100644
--- a/chrome/browser/extensions/plugin_manager.h
+++ b/chrome/browser/extensions/plugin_manager.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_EXTENSIONS_PLUGIN_MANAGER_H_
#define CHROME_BROWSER_EXTENSIONS_PLUGIN_MANAGER_H_
-#include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
#include "chrome/common/extensions/manifest_handlers/nacl_modules_handler.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 GURL;
class Profile;
@@ -19,14 +19,14 @@ class BrowserContext;
namespace extensions {
-class PluginManager : public ProfileKeyedAPI,
+class PluginManager : public BrowserContextKeyedAPI,
public content::NotificationObserver {
public:
explicit PluginManager(content::BrowserContext* context);
virtual ~PluginManager();
- // ProfileKeyedAPI implementation.
- static ProfileKeyedAPIFactory<PluginManager>* GetFactoryInstance();
+ // BrowserContextKeyedAPI implementation.
+ static BrowserContextKeyedAPIFactory<PluginManager>* GetFactoryInstance();
// content::NotificationObserver impelmentation.
virtual void Observe(int type,
@@ -34,7 +34,7 @@ class PluginManager : public ProfileKeyedAPI,
const content::NotificationDetails& details) OVERRIDE;
private:
- friend class ProfileKeyedAPIFactory<PluginManager>;
+ friend class BrowserContextKeyedAPIFactory<PluginManager>;
// We implement some Pepper plug-ins using NaCl to take advantage of NaCl's
// strong sandbox. Typically, these NaCl modules are stored in extensions
@@ -51,7 +51,7 @@ class PluginManager : public ProfileKeyedAPI,
extensions::NaClModuleInfo::List::iterator FindNaClModule(const GURL& url);
- // ProfileKeyedAPI implementation.
+ // BrowserContextKeyedAPI implementation.
static const char* service_name() { return "PluginManager"; }
static const bool kServiceIsNULLWhileTesting = true;
« no previous file with comments | « chrome/browser/extensions/extension_web_ui_override_registrar.cc ('k') | chrome/browser/extensions/plugin_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698