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 "base/values.h" | 7 #include "base/values.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/public/browser/browser_context.h" | 9 #include "content/public/browser/browser_context.h" |
10 #include "extensions/browser/extension_host_delegate.h" | 10 #include "extensions/browser/extension_host_delegate.h" |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 const std::string& min_version) { | 198 const std::string& min_version) { |
199 return true; | 199 return true; |
200 } | 200 } |
201 | 201 |
202 ExtensionWebContentsObserver* | 202 ExtensionWebContentsObserver* |
203 TestExtensionsBrowserClient::GetExtensionWebContentsObserver( | 203 TestExtensionsBrowserClient::GetExtensionWebContentsObserver( |
204 content::WebContents* web_contents) { | 204 content::WebContents* web_contents) { |
205 return nullptr; | 205 return nullptr; |
206 } | 206 } |
207 | 207 |
| 208 KioskDelegate* TestExtensionsBrowserClient::GetKioskDelegate() { |
| 209 return nullptr; |
| 210 } |
| 211 |
208 scoped_refptr<update_client::UpdateClient> | 212 scoped_refptr<update_client::UpdateClient> |
209 TestExtensionsBrowserClient::CreateUpdateClient( | 213 TestExtensionsBrowserClient::CreateUpdateClient( |
210 content::BrowserContext* context) { | 214 content::BrowserContext* context) { |
211 return update_client_factory_.is_null() | 215 return update_client_factory_.is_null() |
212 ? nullptr | 216 ? nullptr |
213 : make_scoped_refptr(update_client_factory_.Run()); | 217 : make_scoped_refptr(update_client_factory_.Run()); |
214 } | 218 } |
215 | 219 |
216 } // namespace extensions | 220 } // namespace extensions |
OLD | NEW |