Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Side by Side Diff: extensions/shell/browser/shell_extension_system.cc

Issue 1127133006: Extract InstallVerifier from ExtensionSystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/shell/browser/shell_extension_system.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_extension_system.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698