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

Side by Side Diff: chrome/test/base/testing_profile.cc

Issue 10696176: Move UserScript and related into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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/test/base/testing_profile.h" 5 #include "chrome/test/base/testing_profile.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 } 444 }
445 445
446 VisitedLinkMaster* TestingProfile::GetVisitedLinkMaster() { 446 VisitedLinkMaster* TestingProfile::GetVisitedLinkMaster() {
447 return NULL; 447 return NULL;
448 } 448 }
449 449
450 ExtensionService* TestingProfile::GetExtensionService() { 450 ExtensionService* TestingProfile::GetExtensionService() {
451 return extensions::ExtensionSystem::Get(this)->extension_service(); 451 return extensions::ExtensionSystem::Get(this)->extension_service();
452 } 452 }
453 453
454 UserScriptMaster* TestingProfile::GetUserScriptMaster() { 454 extensions::UserScriptMaster* TestingProfile::GetUserScriptMaster() {
455 return extensions::ExtensionSystem::Get(this)->user_script_master(); 455 return extensions::ExtensionSystem::Get(this)->user_script_master();
456 } 456 }
457 457
458 ExtensionProcessManager* TestingProfile::GetExtensionProcessManager() { 458 ExtensionProcessManager* TestingProfile::GetExtensionProcessManager() {
459 return extensions::ExtensionSystem::Get(this)->process_manager(); 459 return extensions::ExtensionSystem::Get(this)->process_manager();
460 } 460 }
461 461
462 ExtensionEventRouter* TestingProfile::GetExtensionEventRouter() { 462 ExtensionEventRouter* TestingProfile::GetExtensionEventRouter() {
463 return extensions::ExtensionSystem::Get(this)->event_router(); 463 return extensions::ExtensionSystem::Get(this)->event_router();
464 } 464 }
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 } 713 }
714 714
715 bool TestingProfile::WasCreatedByVersionOrLater(const std::string& version) { 715 bool TestingProfile::WasCreatedByVersionOrLater(const std::string& version) {
716 return true; 716 return true;
717 } 717 }
718 718
719 base::Callback<ChromeURLDataManagerBackend*(void)> 719 base::Callback<ChromeURLDataManagerBackend*(void)>
720 TestingProfile::GetChromeURLDataManagerBackendGetter() const { 720 TestingProfile::GetChromeURLDataManagerBackendGetter() const {
721 return base::Callback<ChromeURLDataManagerBackend*(void)>(); 721 return base::Callback<ChromeURLDataManagerBackend*(void)>();
722 } 722 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698