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

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

Issue 1139643005: Extract ErrorConsole from ExtensionSystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use ErrorConsole::Get, update year for copyright lines 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 ErrorConsole* ShellExtensionSystem::error_console() {
152 return nullptr;
153 }
154
155 InstallVerifier* ShellExtensionSystem::install_verifier() { 151 InstallVerifier* ShellExtensionSystem::install_verifier() {
156 return nullptr; 152 return nullptr;
157 } 153 }
158 154
159 QuotaService* ShellExtensionSystem::quota_service() { 155 QuotaService* ShellExtensionSystem::quota_service() {
160 return quota_service_.get(); 156 return quota_service_.get();
161 } 157 }
162 158
163 void ShellExtensionSystem::RegisterExtensionWithRequestContexts( 159 void ShellExtensionSystem::RegisterExtensionWithRequestContexts(
164 const Extension* extension) { 160 const Extension* extension) {
(...skipping 19 matching lines...) Expand all
184 ContentVerifier* ShellExtensionSystem::content_verifier() { 180 ContentVerifier* ShellExtensionSystem::content_verifier() {
185 return nullptr; 181 return nullptr;
186 } 182 }
187 183
188 scoped_ptr<ExtensionSet> ShellExtensionSystem::GetDependentExtensions( 184 scoped_ptr<ExtensionSet> ShellExtensionSystem::GetDependentExtensions(
189 const Extension* extension) { 185 const Extension* extension) {
190 return make_scoped_ptr(new ExtensionSet()); 186 return make_scoped_ptr(new ExtensionSet());
191 } 187 }
192 188
193 } // namespace extensions 189 } // 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