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/shell/browser/shell_extension_system.h" | 5 #include "extensions/shell/browser/shell_extension_system.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 } | 153 } |
154 | 154 |
155 InstallVerifier* ShellExtensionSystem::install_verifier() { | 155 InstallVerifier* ShellExtensionSystem::install_verifier() { |
156 return nullptr; | 156 return nullptr; |
157 } | 157 } |
158 | 158 |
159 QuotaService* ShellExtensionSystem::quota_service() { | 159 QuotaService* ShellExtensionSystem::quota_service() { |
160 return quota_service_.get(); | 160 return quota_service_.get(); |
161 } | 161 } |
162 | 162 |
| 163 WebViewContentScriptManager* |
| 164 ShellExtensionSystem::web_view_content_script_manager() { |
| 165 return nullptr; |
| 166 } |
| 167 |
163 void ShellExtensionSystem::RegisterExtensionWithRequestContexts( | 168 void ShellExtensionSystem::RegisterExtensionWithRequestContexts( |
164 const Extension* extension) { | 169 const Extension* extension) { |
165 BrowserThread::PostTask(BrowserThread::IO, | 170 BrowserThread::PostTask(BrowserThread::IO, |
166 FROM_HERE, | 171 FROM_HERE, |
167 base::Bind(&InfoMap::AddExtension, | 172 base::Bind(&InfoMap::AddExtension, |
168 info_map(), | 173 info_map(), |
169 make_scoped_refptr(extension), | 174 make_scoped_refptr(extension), |
170 base::Time::Now(), | 175 base::Time::Now(), |
171 false, | 176 false, |
172 false)); | 177 false)); |
(...skipping 11 matching lines...) Expand all Loading... |
184 ContentVerifier* ShellExtensionSystem::content_verifier() { | 189 ContentVerifier* ShellExtensionSystem::content_verifier() { |
185 return nullptr; | 190 return nullptr; |
186 } | 191 } |
187 | 192 |
188 scoped_ptr<ExtensionSet> ShellExtensionSystem::GetDependentExtensions( | 193 scoped_ptr<ExtensionSet> ShellExtensionSystem::GetDependentExtensions( |
189 const Extension* extension) { | 194 const Extension* extension) { |
190 return make_scoped_ptr(new ExtensionSet()); | 195 return make_scoped_ptr(new ExtensionSet()); |
191 } | 196 } |
192 | 197 |
193 } // namespace extensions | 198 } // namespace extensions |
OLD | NEW |