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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 } | 141 } |
142 | 142 |
143 LazyBackgroundTaskQueue* ShellExtensionSystem::lazy_background_task_queue() { | 143 LazyBackgroundTaskQueue* ShellExtensionSystem::lazy_background_task_queue() { |
144 return lazy_background_task_queue_.get(); | 144 return lazy_background_task_queue_.get(); |
145 } | 145 } |
146 | 146 |
147 EventRouter* ShellExtensionSystem::event_router() { | 147 EventRouter* ShellExtensionSystem::event_router() { |
148 return event_router_.get(); | 148 return event_router_.get(); |
149 } | 149 } |
150 | 150 |
151 InstallVerifier* ShellExtensionSystem::install_verifier() { | |
152 return nullptr; | |
153 } | |
154 | |
155 QuotaService* ShellExtensionSystem::quota_service() { | 151 QuotaService* ShellExtensionSystem::quota_service() { |
156 return quota_service_.get(); | 152 return quota_service_.get(); |
157 } | 153 } |
158 | 154 |
159 void ShellExtensionSystem::RegisterExtensionWithRequestContexts( | 155 void ShellExtensionSystem::RegisterExtensionWithRequestContexts( |
160 const Extension* extension) { | 156 const Extension* extension) { |
161 BrowserThread::PostTask(BrowserThread::IO, | 157 BrowserThread::PostTask(BrowserThread::IO, |
162 FROM_HERE, | 158 FROM_HERE, |
163 base::Bind(&InfoMap::AddExtension, | 159 base::Bind(&InfoMap::AddExtension, |
164 info_map(), | 160 info_map(), |
(...skipping 15 matching lines...) Expand all Loading... |
180 ContentVerifier* ShellExtensionSystem::content_verifier() { | 176 ContentVerifier* ShellExtensionSystem::content_verifier() { |
181 return nullptr; | 177 return nullptr; |
182 } | 178 } |
183 | 179 |
184 scoped_ptr<ExtensionSet> ShellExtensionSystem::GetDependentExtensions( | 180 scoped_ptr<ExtensionSet> ShellExtensionSystem::GetDependentExtensions( |
185 const Extension* extension) { | 181 const Extension* extension) { |
186 return make_scoped_ptr(new ExtensionSet()); | 182 return make_scoped_ptr(new ExtensionSet()); |
187 } | 183 } |
188 | 184 |
189 } // namespace extensions | 185 } // namespace extensions |
OLD | NEW |