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

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

Issue 420543002: Declarative content scripts: Browser-side: per-extension shared memory regions (lazily loaded) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor relationship between UserScriptMaster and its subclasses Created 6 years, 4 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 ContentVerifier* TestExtensionSystem::content_verifier() { 187 ContentVerifier* TestExtensionSystem::content_verifier() {
188 return NULL; 188 return NULL;
189 } 189 }
190 190
191 scoped_ptr<ExtensionSet> TestExtensionSystem::GetDependentExtensions( 191 scoped_ptr<ExtensionSet> TestExtensionSystem::GetDependentExtensions(
192 const Extension* extension) { 192 const Extension* extension) {
193 return extension_service()->shared_module_service()->GetDependentExtensions( 193 return extension_service()->shared_module_service()->GetDependentExtensions(
194 extension); 194 extension);
195 } 195 }
196 196
197 DeclarativeUserScriptMaster*
198 TestExtensionSystem::GetDeclarativeUserScriptMasterByExtension(
199 const ExtensionId& extension_id) {
200 return NULL;
201 }
202
197 // static 203 // static
198 KeyedService* TestExtensionSystem::Build(content::BrowserContext* profile) { 204 KeyedService* TestExtensionSystem::Build(content::BrowserContext* profile) {
199 return new TestExtensionSystem(static_cast<Profile*>(profile)); 205 return new TestExtensionSystem(static_cast<Profile*>(profile));
200 } 206 }
201 207
202 } // namespace extensions 208 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698