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

Side by Side Diff: chrome/browser/extensions/test_extension_system.cc

Issue 503033002: Move ExtensionWarningService and ExtensionsWarningSet to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@3_web_view_internal
Patch Set: Rename. Created 6 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/extensions/test_extension_system.h" 5 #include "chrome/browser/extensions/test_extension_system.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "chrome/browser/extensions/blacklist.h" 9 #include "chrome/browser/extensions/blacklist.h"
10 #include "chrome/browser/extensions/error_console/error_console.h" 10 #include "chrome/browser/extensions/error_console/error_console.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 TestExtensionSystem::lazy_background_task_queue() { 152 TestExtensionSystem::lazy_background_task_queue() {
153 return NULL; 153 return NULL;
154 } 154 }
155 155
156 void TestExtensionSystem::SetEventRouter(scoped_ptr<EventRouter> event_router) { 156 void TestExtensionSystem::SetEventRouter(scoped_ptr<EventRouter> event_router) {
157 event_router_.reset(event_router.release()); 157 event_router_.reset(event_router.release());
158 } 158 }
159 159
160 EventRouter* TestExtensionSystem::event_router() { return event_router_.get(); } 160 EventRouter* TestExtensionSystem::event_router() { return event_router_.get(); }
161 161
162 ExtensionWarningService* TestExtensionSystem::warning_service() { 162 WarningService* TestExtensionSystem::warning_service() {
163 return NULL; 163 return NULL;
164 } 164 }
165 165
166 Blacklist* TestExtensionSystem::blacklist() { 166 Blacklist* TestExtensionSystem::blacklist() {
167 return blacklist_.get(); 167 return blacklist_.get();
168 } 168 }
169 169
170 ErrorConsole* TestExtensionSystem::error_console() { 170 ErrorConsole* TestExtensionSystem::error_console() {
171 return error_console_.get(); 171 return error_console_.get();
172 } 172 }
(...skipping 25 matching lines...) Expand all
198 const ExtensionId& extension_id) { 198 const ExtensionId& extension_id) {
199 return NULL; 199 return NULL;
200 } 200 }
201 201
202 // static 202 // static
203 KeyedService* TestExtensionSystem::Build(content::BrowserContext* profile) { 203 KeyedService* TestExtensionSystem::Build(content::BrowserContext* profile) {
204 return new TestExtensionSystem(static_cast<Profile*>(profile)); 204 return new TestExtensionSystem(static_cast<Profile*>(profile));
205 } 205 }
206 206
207 } // namespace extensions 207 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698