| 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 a6b6d3527891933cdd2be4b4b6b293cb4e912195..a4f7c7ea00582034f9f00c290836c159f62f7fe9 100644
|
| --- a/chrome/browser/extensions/api/processes/processes_api.h
|
| +++ b/chrome/browser/extensions/api/processes/processes_api.h
|
| @@ -9,6 +9,7 @@
|
| #include <string>
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
|
| #include "chrome/browser/extensions/event_router.h"
|
| #include "chrome/browser/extensions/extension_function.h"
|
| #include "chrome/browser/profiles/profile_keyed_service.h"
|
| @@ -116,6 +117,17 @@ class ProcessesAPI : public ProfileKeyedService,
|
| scoped_ptr<ProcessesEventRouter> processes_event_router_;
|
| };
|
|
|
| +template <>
|
| +struct ProfileKeyedAPIFactoryTraits<ProcessesAPI>
|
| + : public DefaultProfileKeyedAPIFactoryTraits {
|
| + static const char* name() {
|
| + return "ProcessesAPI";
|
| + }
|
| +
|
| + static const bool kServiceRedirectedInIncognito = true;
|
| + static const bool kServiceIsNULLWhileTesting = true;
|
| +};
|
| +
|
| // This extension function returns the Process object for the renderer process
|
| // currently in use by the specified Tab.
|
| class GetProcessIdForTabFunction : public AsyncExtensionFunction,
|
|
|