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

Unified Diff: extensions/browser/extensions_browser_client.h

Issue 69883007: Extract chrome.runtime API code from extensions::EventRouter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos 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
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extensions_browser_client.h
diff --git a/extensions/browser/extensions_browser_client.h b/extensions/browser/extensions_browser_client.h
index 467fd32969e6f54ba1dfd15fb4cac1d774b37c72..b99b3661d6b6d0d3f9d51fbe5c8215c2912685e3 100644
--- a/extensions/browser/extensions_browser_client.h
+++ b/extensions/browser/extensions_browser_client.h
@@ -11,8 +11,6 @@ class BrowserContext;
namespace extensions {
-class ExtensionPrefs;
-
// Interface to allow the extensions module to make browser-process-specific
// queries of the embedder. Should be Set() once in the browser process.
//
@@ -55,9 +53,9 @@ class ExtensionsBrowserClient {
// Returns true if the client version has updated since the last run. Called
// once each time the extensions system is loaded per browser_context. The
- // implementation may wish to use |extension_prefs| to record the current
- // version for later comparison. |extension_prefs| may be NULL in tests.
- virtual bool DidVersionUpdate(ExtensionPrefs* extension_prefs) = 0;
+ // implementation may wish to use the BrowserContext to record the current
+ // version for later comparison.
+ virtual bool DidVersionUpdate(content::BrowserContext* context) = 0;
// Returns the single instance of |this|.
static ExtensionsBrowserClient* Get();
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698