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

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

Issue 215623002: Enable Error Console for ADT and <= Dev Channel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 21 matching lines...) Expand all
32 #include "extensions/browser/value_store/testing_value_store.h" 32 #include "extensions/browser/value_store/testing_value_store.h"
33 33
34 using content::BrowserThread; 34 using content::BrowserThread;
35 35
36 namespace extensions { 36 namespace extensions {
37 37
38 TestExtensionSystem::TestExtensionSystem(Profile* profile) 38 TestExtensionSystem::TestExtensionSystem(Profile* profile)
39 : profile_(profile), 39 : profile_(profile),
40 value_store_(NULL), 40 value_store_(NULL),
41 info_map_(new InfoMap()), 41 info_map_(new InfoMap()),
42 error_console_(new ErrorConsole(profile, NULL)), 42 error_console_(new ErrorConsole(profile)),
43 quota_service_(new QuotaService()) {} 43 quota_service_(new QuotaService()) {}
44 44
45 TestExtensionSystem::~TestExtensionSystem() { 45 TestExtensionSystem::~TestExtensionSystem() {
46 } 46 }
47 47
48 void TestExtensionSystem::Shutdown() { 48 void TestExtensionSystem::Shutdown() {
49 process_manager_.reset(); 49 process_manager_.reset();
50 } 50 }
51 51
52 void TestExtensionSystem::CreateProcessManager() { 52 void TestExtensionSystem::CreateProcessManager() {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 const OneShotEvent& TestExtensionSystem::ready() const { 181 const OneShotEvent& TestExtensionSystem::ready() const {
182 return ready_; 182 return ready_;
183 } 183 }
184 184
185 // static 185 // static
186 KeyedService* TestExtensionSystem::Build(content::BrowserContext* profile) { 186 KeyedService* TestExtensionSystem::Build(content::BrowserContext* profile) {
187 return new TestExtensionSystem(static_cast<Profile*>(profile)); 187 return new TestExtensionSystem(static_cast<Profile*>(profile));
188 } 188 }
189 189
190 } // namespace extensions 190 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_system_impl.cc ('k') | chrome/browser/ui/webui/extensions/extension_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698