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

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

Issue 57813003: Reland: Convert ExtensionProcessManager to BrowserContext, part 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable on windows Created 7 years, 1 month 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.cc
diff --git a/chrome/browser/extensions/api/runtime/runtime_api.cc b/chrome/browser/extensions/api/runtime/runtime_api.cc
index 185c2ce22223a866988f7dae13c22ec7bf51079b..3411a037e362c96c2d94d3b7eff14e5b7b970864 100644
--- a/chrome/browser/extensions/api/runtime/runtime_api.cc
+++ b/chrome/browser/extensions/api/runtime/runtime_api.cc
@@ -132,7 +132,9 @@ std::string GetUninstallUrl(ExtensionPrefs* prefs,
// static
void RuntimeEventRouter::DispatchOnStartupEvent(
- Profile* profile, const std::string& extension_id) {
+ content::BrowserContext* context, const std::string& extension_id) {
+ // TODO(jamescook): Convert to BrowserContext all the way down.
+ Profile* profile = static_cast<Profile*>(context);
DispatchOnStartupEventImpl(profile, extension_id, true, NULL);
}

Powered by Google App Engine
This is Rietveld 408576698