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

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

Issue 266963003: Beginning of support for extension content verification (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged latest trunk Created 6 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 | Annotate | Revision Log
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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 } 176 }
177 177
178 QuotaService* TestExtensionSystem::quota_service() { 178 QuotaService* TestExtensionSystem::quota_service() {
179 return quota_service_.get(); 179 return quota_service_.get();
180 } 180 }
181 181
182 const OneShotEvent& TestExtensionSystem::ready() const { 182 const OneShotEvent& TestExtensionSystem::ready() const {
183 return ready_; 183 return ready_;
184 } 184 }
185 185
186 ContentVerifier* TestExtensionSystem::content_verifier() {
187 return NULL;
188 }
189
186 // static 190 // static
187 KeyedService* TestExtensionSystem::Build(content::BrowserContext* profile) { 191 KeyedService* TestExtensionSystem::Build(content::BrowserContext* profile) {
188 return new TestExtensionSystem(static_cast<Profile*>(profile)); 192 return new TestExtensionSystem(static_cast<Profile*>(profile));
189 } 193 }
190 194
191 } // namespace extensions 195 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_system.h ('k') | chrome/browser/extensions/user_script_master.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698