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

Side by Side Diff: extensions/browser/test_extensions_browser_client.cc

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 #include "extensions/browser/test_extensions_browser_client.h" 5 #include "extensions/browser/test_extensions_browser_client.h"
6 6
7 #include "base/values.h"
7 #include "content/public/browser/browser_context.h" 8 #include "content/public/browser/browser_context.h"
8 #include "extensions/browser/app_sorting.h"
9 #include "extensions/browser/extension_host_delegate.h" 9 #include "extensions/browser/extension_host_delegate.h"
10 #include "extensions/browser/test_runtime_api_delegate.h" 10 #include "extensions/browser/test_runtime_api_delegate.h"
11 #include "extensions/browser/updater/null_extension_cache.h" 11 #include "extensions/browser/updater/null_extension_cache.h"
12 12
13 using content::BrowserContext; 13 using content::BrowserContext;
14 14
15 namespace extensions { 15 namespace extensions {
16 16
17 TestExtensionsBrowserClient::TestExtensionsBrowserClient( 17 TestExtensionsBrowserClient::TestExtensionsBrowserClient(
18 BrowserContext* main_context) 18 BrowserContext* main_context)
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 return scoped_ptr<ExtensionHostDelegate>(); 133 return scoped_ptr<ExtensionHostDelegate>();
134 } 134 }
135 135
136 bool TestExtensionsBrowserClient::DidVersionUpdate(BrowserContext* context) { 136 bool TestExtensionsBrowserClient::DidVersionUpdate(BrowserContext* context) {
137 return false; 137 return false;
138 } 138 }
139 139
140 void TestExtensionsBrowserClient::PermitExternalProtocolHandler() { 140 void TestExtensionsBrowserClient::PermitExternalProtocolHandler() {
141 } 141 }
142 142
143 scoped_ptr<AppSorting> TestExtensionsBrowserClient::CreateAppSorting(
144 content::BrowserContext* context) {
145 return scoped_ptr<AppSorting>();
146 }
147
148 bool TestExtensionsBrowserClient::IsRunningInForcedAppMode() { return false; } 143 bool TestExtensionsBrowserClient::IsRunningInForcedAppMode() { return false; }
149 144
150 ApiActivityMonitor* TestExtensionsBrowserClient::GetApiActivityMonitor( 145 ApiActivityMonitor* TestExtensionsBrowserClient::GetApiActivityMonitor(
151 BrowserContext* context) { 146 BrowserContext* context) {
152 return NULL; 147 return NULL;
153 } 148 }
154 149
155 ExtensionSystemProvider* 150 ExtensionSystemProvider*
156 TestExtensionsBrowserClient::GetExtensionSystemFactory() { 151 TestExtensionsBrowserClient::GetExtensionSystemFactory() {
157 DCHECK(extension_system_factory_); 152 DCHECK(extension_system_factory_);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 return true; 194 return true;
200 } 195 }
201 196
202 ExtensionWebContentsObserver* 197 ExtensionWebContentsObserver*
203 TestExtensionsBrowserClient::GetExtensionWebContentsObserver( 198 TestExtensionsBrowserClient::GetExtensionWebContentsObserver(
204 content::WebContents* web_contents) { 199 content::WebContents* web_contents) {
205 return nullptr; 200 return nullptr;
206 } 201 }
207 202
208 } // namespace extensions 203 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/test_extensions_browser_client.h ('k') | extensions/shell/browser/shell_extension_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698