| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 | 155 |
| 156 void TestExtensionsBrowserClient::RegisterExtensionFunctions( | 156 void TestExtensionsBrowserClient::RegisterExtensionFunctions( |
| 157 ExtensionFunctionRegistry* registry) const {} | 157 ExtensionFunctionRegistry* registry) const {} |
| 158 | 158 |
| 159 scoped_ptr<RuntimeAPIDelegate> | 159 scoped_ptr<RuntimeAPIDelegate> |
| 160 TestExtensionsBrowserClient::CreateRuntimeAPIDelegate( | 160 TestExtensionsBrowserClient::CreateRuntimeAPIDelegate( |
| 161 content::BrowserContext* context) const { | 161 content::BrowserContext* context) const { |
| 162 return scoped_ptr<RuntimeAPIDelegate>(new TestRuntimeAPIDelegate()); | 162 return scoped_ptr<RuntimeAPIDelegate>(new TestRuntimeAPIDelegate()); |
| 163 } | 163 } |
| 164 | 164 |
| 165 bool TestExtensionsBrowserClient::IsComponentExtensionResource( |
| 166 const base::FilePath& extension_path, |
| 167 const base::FilePath& resource_path, |
| 168 int* resource_id) const { |
| 169 return false; |
| 170 } |
| 171 |
| 165 } // namespace extensions | 172 } // namespace extensions |
| OLD | NEW |