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

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

Issue 436703002: Revert external protocol handler user gesture fix on M36 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1985/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « extensions/browser/test_extensions_browser_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "content/public/browser/browser_context.h" 7 #include "content/public/browser/browser_context.h"
8 #include "extensions/browser/app_sorting.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"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 scoped_ptr<ExtensionHostDelegate> 129 scoped_ptr<ExtensionHostDelegate>
130 TestExtensionsBrowserClient::CreateExtensionHostDelegate() { 130 TestExtensionsBrowserClient::CreateExtensionHostDelegate() {
131 return scoped_ptr<ExtensionHostDelegate>(); 131 return scoped_ptr<ExtensionHostDelegate>();
132 } 132 }
133 133
134 bool TestExtensionsBrowserClient::DidVersionUpdate(BrowserContext* context) { 134 bool TestExtensionsBrowserClient::DidVersionUpdate(BrowserContext* context) {
135 return false; 135 return false;
136 } 136 }
137 137
138 void TestExtensionsBrowserClient::PermitExternalProtocolHandler() {
139 }
140
138 scoped_ptr<AppSorting> TestExtensionsBrowserClient::CreateAppSorting() { 141 scoped_ptr<AppSorting> TestExtensionsBrowserClient::CreateAppSorting() {
139 return scoped_ptr<AppSorting>(); 142 return scoped_ptr<AppSorting>();
140 } 143 }
141 144
142 bool TestExtensionsBrowserClient::IsRunningInForcedAppMode() { return false; } 145 bool TestExtensionsBrowserClient::IsRunningInForcedAppMode() { return false; }
143 146
144 ApiActivityMonitor* TestExtensionsBrowserClient::GetApiActivityMonitor( 147 ApiActivityMonitor* TestExtensionsBrowserClient::GetApiActivityMonitor(
145 BrowserContext* context) { 148 BrowserContext* context) {
146 return NULL; 149 return NULL;
147 } 150 }
148 151
149 ExtensionSystemProvider* 152 ExtensionSystemProvider*
150 TestExtensionsBrowserClient::GetExtensionSystemFactory() { 153 TestExtensionsBrowserClient::GetExtensionSystemFactory() {
151 // Tests requiring an extension system should override this function. 154 // Tests requiring an extension system should override this function.
152 NOTREACHED(); 155 NOTREACHED();
153 return NULL; 156 return NULL;
154 } 157 }
155 158
156 void TestExtensionsBrowserClient::RegisterExtensionFunctions( 159 void TestExtensionsBrowserClient::RegisterExtensionFunctions(
157 ExtensionFunctionRegistry* registry) const {} 160 ExtensionFunctionRegistry* registry) const {}
158 161
159 scoped_ptr<RuntimeAPIDelegate> 162 scoped_ptr<RuntimeAPIDelegate>
160 TestExtensionsBrowserClient::CreateRuntimeAPIDelegate( 163 TestExtensionsBrowserClient::CreateRuntimeAPIDelegate(
161 content::BrowserContext* context) const { 164 content::BrowserContext* context) const {
162 return scoped_ptr<RuntimeAPIDelegate>(new TestRuntimeAPIDelegate()); 165 return scoped_ptr<RuntimeAPIDelegate>(new TestRuntimeAPIDelegate());
163 } 166 }
164 167
165 } // namespace extensions 168 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/test_extensions_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698