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

Unified Diff: chrome/browser/extensions/extension_system.h

Issue 22944002: Implementation of the "Redirect URLs to Packaged Apps" feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review comments + lint errors Created 7 years, 4 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/extension_system.h
diff --git a/chrome/browser/extensions/extension_system.h b/chrome/browser/extensions/extension_system.h
index 334bedb09460c7907408e6fe842a270348fe2f96..e2ed8b94b6fbaf8b4e7e8dbdcc888ec5cf23ade6 100644
--- a/chrome/browser/extensions/extension_system.h
+++ b/chrome/browser/extensions/extension_system.h
@@ -37,6 +37,7 @@ class LazyBackgroundTaskQueue;
class ManagementPolicy;
class MessageService;
class NavigationObserver;
+class PlatformAppRedirector;
class RulesRegistryService;
class ShellWindowGeometryCache;
class StandardManagementPolicyProvider;
@@ -129,6 +130,9 @@ class ExtensionSystem : public ProfileKeyedService {
// The blacklist is created at startup.
virtual Blacklist* blacklist() = 0;
+ // The PlatformAppRedirector is created at startup.
+ virtual PlatformAppRedirector* platform_app_redirector() = 0;
benwells 2013/08/30 05:41:39 Does this have to live here? Can't it be a top lev
sergeygs 2013/09/02 07:36:22 This disappears in the reworked CL.
+
// Called by the ExtensionService that lives in this system. Gives the
// info map a chance to react to the load event before the EXTENSION_LOADED
// notification has fired. The purpose for handling this event first is to
@@ -185,6 +189,7 @@ class ExtensionSystemImpl : public ExtensionSystem {
OVERRIDE;
virtual ExtensionWarningService* warning_service() OVERRIDE;
virtual Blacklist* blacklist() OVERRIDE; // shared
+ virtual PlatformAppRedirector* platform_app_redirector() OVERRIDE; // shared
virtual void RegisterExtensionWithRequestContexts(
const Extension* extension) OVERRIDE;
@@ -226,6 +231,7 @@ class ExtensionSystemImpl : public ExtensionSystem {
MessageService* message_service();
EventRouter* event_router();
ExtensionWarningService* warning_service();
+ PlatformAppRedirector* platform_app_redirector();
private:
Profile* profile_;
@@ -257,6 +263,7 @@ class ExtensionSystemImpl : public ExtensionSystem {
scoped_refptr<ExtensionInfoMap> extension_info_map_;
scoped_ptr<ExtensionWarningService> extension_warning_service_;
scoped_ptr<ExtensionWarningBadgeService> extension_warning_badge_service_;
+ scoped_ptr<PlatformAppRedirector> platform_app_redirector_;
};
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698