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

Unified Diff: chrome/browser/extensions/api/runtime/runtime_api.h

Issue 52983004: Convert ExtensionProcessManager to BrowserContext, part 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, add browser test Created 7 years, 2 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/api/runtime/runtime_api.h
diff --git a/chrome/browser/extensions/api/runtime/runtime_api.h b/chrome/browser/extensions/api/runtime/runtime_api.h
index b917ba4aa57f5c84e8cc64d6052141f8e886c432..88849843c7fb53621645bcd1059c47c0b36599d2 100644
--- a/chrome/browser/extensions/api/runtime/runtime_api.h
+++ b/chrome/browser/extensions/api/runtime/runtime_api.h
@@ -18,6 +18,10 @@ namespace base {
class Version;
}
+namespace content {
+class BrowserContext;
+}
+
namespace extensions {
class Extension;
class ExtensionHost;
@@ -25,7 +29,7 @@ class ExtensionHost;
class RuntimeEventRouter {
public:
// Dispatches the onStartup event to all currently-loaded extensions.
- static void DispatchOnStartupEvent(Profile* profile,
+ static void DispatchOnStartupEvent(content::BrowserContext* context,
const std::string& extension_id);
// Dispatches the onInstalled event to the given extension.

Powered by Google App Engine
This is Rietveld 408576698