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

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

Issue 221283006: Revert of Fix the handling of user gestures for external protocol handler dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 scoped_ptr<ExtensionHostDelegate> 101 scoped_ptr<ExtensionHostDelegate>
102 TestExtensionsBrowserClient::CreateExtensionHostDelegate() { 102 TestExtensionsBrowserClient::CreateExtensionHostDelegate() {
103 return scoped_ptr<ExtensionHostDelegate>(); 103 return scoped_ptr<ExtensionHostDelegate>();
104 } 104 }
105 105
106 bool TestExtensionsBrowserClient::DidVersionUpdate(BrowserContext* context) { 106 bool TestExtensionsBrowserClient::DidVersionUpdate(BrowserContext* context) {
107 return false; 107 return false;
108 } 108 }
109 109
110 void TestExtensionsBrowserClient::PermitExternalProtocolHandler() {}
111
110 scoped_ptr<AppSorting> TestExtensionsBrowserClient::CreateAppSorting() { 112 scoped_ptr<AppSorting> TestExtensionsBrowserClient::CreateAppSorting() {
111 return scoped_ptr<AppSorting>(); 113 return scoped_ptr<AppSorting>();
112 } 114 }
113 115
114 bool TestExtensionsBrowserClient::IsRunningInForcedAppMode() { return false; } 116 bool TestExtensionsBrowserClient::IsRunningInForcedAppMode() { return false; }
115 117
116 ApiActivityMonitor* TestExtensionsBrowserClient::GetApiActivityMonitor( 118 ApiActivityMonitor* TestExtensionsBrowserClient::GetApiActivityMonitor(
117 BrowserContext* context) { 119 BrowserContext* context) {
118 return NULL; 120 return NULL;
119 } 121 }
120 122
121 ExtensionSystemProvider* 123 ExtensionSystemProvider*
122 TestExtensionsBrowserClient::GetExtensionSystemFactory() { 124 TestExtensionsBrowserClient::GetExtensionSystemFactory() {
123 // Tests requiring an extension system should override this function. 125 // Tests requiring an extension system should override this function.
124 NOTREACHED(); 126 NOTREACHED();
125 return NULL; 127 return NULL;
126 } 128 }
127 129
128 void TestExtensionsBrowserClient::RegisterExtensionFunctions( 130 void TestExtensionsBrowserClient::RegisterExtensionFunctions(
129 ExtensionFunctionRegistry* registry) const {} 131 ExtensionFunctionRegistry* registry) const {}
130 132
131 } // namespace extensions 133 } // 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