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

Unified Diff: extensions/browser/extensions_browser_client.h

Issue 83023010: Remove ExtensionPrefs's dependency on ChromeAppSorting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: change a LOG(INFO) that i know nothing about to a VLOG(1) 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 | « extensions/browser/app_sorting.h ('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 b99b3661d6b6d0d3f9d51fbe5c8215c2912685e3..01b6aabd4e732fef136c860750ab10e27826e0e8 100644
--- a/extensions/browser/extensions_browser_client.h
+++ b/extensions/browser/extensions_browser_client.h
@@ -5,12 +5,16 @@
#ifndef EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_
#define EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_
+#include "base/memory/scoped_ptr.h"
+
namespace content {
class BrowserContext;
}
namespace extensions {
+class AppSorting;
+
// Interface to allow the extensions module to make browser-process-specific
// queries of the embedder. Should be Set() once in the browser process.
//
@@ -57,6 +61,9 @@ class ExtensionsBrowserClient {
// version for later comparison.
virtual bool DidVersionUpdate(content::BrowserContext* context) = 0;
+ // Creates a new AppSorting instance.
+ virtual scoped_ptr<AppSorting> CreateAppSorting() = 0;
+
// Returns the single instance of |this|.
static ExtensionsBrowserClient* Get();
« no previous file with comments | « extensions/browser/app_sorting.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698