OLD | NEW |
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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() { | 143 scoped_ptr<AppSorting> TestExtensionsBrowserClient::CreateAppSorting( |
| 144 content::BrowserContext* context) { |
144 return scoped_ptr<AppSorting>(); | 145 return scoped_ptr<AppSorting>(); |
145 } | 146 } |
146 | 147 |
147 bool TestExtensionsBrowserClient::IsRunningInForcedAppMode() { return false; } | 148 bool TestExtensionsBrowserClient::IsRunningInForcedAppMode() { return false; } |
148 | 149 |
149 ApiActivityMonitor* TestExtensionsBrowserClient::GetApiActivityMonitor( | 150 ApiActivityMonitor* TestExtensionsBrowserClient::GetApiActivityMonitor( |
150 BrowserContext* context) { | 151 BrowserContext* context) { |
151 return NULL; | 152 return NULL; |
152 } | 153 } |
153 | 154 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 return true; | 199 return true; |
199 } | 200 } |
200 | 201 |
201 ExtensionWebContentsObserver* | 202 ExtensionWebContentsObserver* |
202 TestExtensionsBrowserClient::GetExtensionWebContentsObserver( | 203 TestExtensionsBrowserClient::GetExtensionWebContentsObserver( |
203 content::WebContents* web_contents) { | 204 content::WebContents* web_contents) { |
204 return nullptr; | 205 return nullptr; |
205 } | 206 } |
206 | 207 |
207 } // namespace extensions | 208 } // namespace extensions |
OLD | NEW |