Index: chrome/browser/extensions/api/processes/processes_api.h |
diff --git a/chrome/browser/extensions/api/processes/processes_api.h b/chrome/browser/extensions/api/processes/processes_api.h |
index 0bc67b4128246d6fd252a04081b290e738e501c3..d7859d057b9f6d6416f1cc4c162f84319325d128 100644 |
--- a/chrome/browser/extensions/api/processes/processes_api.h |
+++ b/chrome/browser/extensions/api/processes/processes_api.h |
@@ -9,13 +9,13 @@ |
#include <string> |
#include "base/memory/scoped_ptr.h" |
-#include "chrome/browser/extensions/api/profile_keyed_api_factory.h" |
#include "chrome/browser/extensions/chrome_extension_function.h" |
#include "chrome/browser/task_manager/task_manager.h" |
#include "components/browser_context_keyed_service/browser_context_keyed_service.h" |
#include "content/public/browser/notification_registrar.h" |
#include "content/public/browser/render_process_host.h" |
#include "content/public/browser/render_widget_host.h" |
+#include "extensions/browser/browser_context_keyed_api_factory.h" |
#include "extensions/browser/event_router.h" |
namespace base { |
@@ -94,7 +94,7 @@ class ProcessesEventRouter : public TaskManagerModelObserver, |
}; |
// The profile-keyed service that manages the processes extension API. |
-class ProcessesAPI : public ProfileKeyedAPI, |
+class ProcessesAPI : public BrowserContextKeyedAPI, |
public EventRouter::Observer { |
public: |
explicit ProcessesAPI(content::BrowserContext* context); |
@@ -103,8 +103,8 @@ class ProcessesAPI : public ProfileKeyedAPI, |
// BrowserContextKeyedService implementation. |
virtual void Shutdown() OVERRIDE; |
- // ProfileKeyedAPI implementation. |
- static ProfileKeyedAPIFactory<ProcessesAPI>* GetFactoryInstance(); |
+ // BrowserContextKeyedAPI implementation. |
+ static BrowserContextKeyedAPIFactory<ProcessesAPI>* GetFactoryInstance(); |
// Convenience method to get the ProcessesAPI for a profile. |
static ProcessesAPI* Get(content::BrowserContext* context); |
@@ -116,11 +116,11 @@ class ProcessesAPI : public ProfileKeyedAPI, |
virtual void OnListenerRemoved(const EventListenerInfo& details) OVERRIDE; |
private: |
- friend class ProfileKeyedAPIFactory<ProcessesAPI>; |
+ friend class BrowserContextKeyedAPIFactory<ProcessesAPI>; |
content::BrowserContext* browser_context_; |
- // ProfileKeyedAPI implementation. |
+ // BrowserContextKeyedAPI implementation. |
static const char* service_name() { |
return "ProcessesAPI"; |
} |