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

Side by Side Diff: extensions/shell/browser/shell_extensions_browser_client.h

Issue 1254363004: Move ownership of AppSorting from ExtensionPrefs to ExtensionSystem (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing include Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "extensions/browser/extensions_browser_client.h" 9 #include "extensions/browser/extensions_browser_client.h"
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 InfoMap* extension_info_map) override; 59 InfoMap* extension_info_map) override;
60 PrefService* GetPrefServiceForContext( 60 PrefService* GetPrefServiceForContext(
61 content::BrowserContext* context) override; 61 content::BrowserContext* context) override;
62 void GetEarlyExtensionPrefsObservers( 62 void GetEarlyExtensionPrefsObservers(
63 content::BrowserContext* context, 63 content::BrowserContext* context,
64 std::vector<ExtensionPrefsObserver*>* observers) const override; 64 std::vector<ExtensionPrefsObserver*>* observers) const override;
65 ProcessManagerDelegate* GetProcessManagerDelegate() const override; 65 ProcessManagerDelegate* GetProcessManagerDelegate() const override;
66 scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() override; 66 scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() override;
67 bool DidVersionUpdate(content::BrowserContext* context) override; 67 bool DidVersionUpdate(content::BrowserContext* context) override;
68 void PermitExternalProtocolHandler() override; 68 void PermitExternalProtocolHandler() override;
69 scoped_ptr<AppSorting> CreateAppSorting(
70 content::BrowserContext* context) override;
71 bool IsRunningInForcedAppMode() override; 69 bool IsRunningInForcedAppMode() override;
72 ApiActivityMonitor* GetApiActivityMonitor( 70 ApiActivityMonitor* GetApiActivityMonitor(
73 content::BrowserContext* context) override; 71 content::BrowserContext* context) override;
74 ExtensionSystemProvider* GetExtensionSystemFactory() override; 72 ExtensionSystemProvider* GetExtensionSystemFactory() override;
75 void RegisterExtensionFunctions( 73 void RegisterExtensionFunctions(
76 ExtensionFunctionRegistry* registry) const override; 74 ExtensionFunctionRegistry* registry) const override;
77 void RegisterMojoServices(content::RenderFrameHost* render_frame_host, 75 void RegisterMojoServices(content::RenderFrameHost* render_frame_host,
78 const Extension* extension) const override; 76 const Extension* extension) const override;
79 scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( 77 scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
80 content::BrowserContext* context) const override; 78 content::BrowserContext* context) const override;
(...skipping 24 matching lines...) Expand all
105 103
106 // The extension cache used for download and installation. 104 // The extension cache used for download and installation.
107 scoped_ptr<ExtensionCache> extension_cache_; 105 scoped_ptr<ExtensionCache> extension_cache_;
108 106
109 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); 107 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient);
110 }; 108 };
111 109
112 } // namespace extensions 110 } // namespace extensions
113 111
114 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 112 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_extension_system.cc ('k') | extensions/shell/browser/shell_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698