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

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: Latest master for cq 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
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 } 445 }
446 446
447 VisitedLinkMaster* TestingProfile::GetVisitedLinkMaster() { 447 VisitedLinkMaster* TestingProfile::GetVisitedLinkMaster() {
448 return NULL; 448 return NULL;
449 } 449 }
450 450
451 ExtensionService* TestingProfile::GetExtensionService() { 451 ExtensionService* TestingProfile::GetExtensionService() {
452 return extensions::ExtensionSystem::Get(this)->extension_service(); 452 return extensions::ExtensionSystem::Get(this)->extension_service();
453 } 453 }
454 454
455 UserScriptMaster* TestingProfile::GetUserScriptMaster() { 455 extensions::UserScriptMaster* TestingProfile::GetUserScriptMaster() {
456 return extensions::ExtensionSystem::Get(this)->user_script_master(); 456 return extensions::ExtensionSystem::Get(this)->user_script_master();
457 } 457 }
458 458
459 ExtensionProcessManager* TestingProfile::GetExtensionProcessManager() { 459 ExtensionProcessManager* TestingProfile::GetExtensionProcessManager() {
460 return extensions::ExtensionSystem::Get(this)->process_manager(); 460 return extensions::ExtensionSystem::Get(this)->process_manager();
461 } 461 }
462 462
463 ExtensionEventRouter* TestingProfile::GetExtensionEventRouter() { 463 ExtensionEventRouter* TestingProfile::GetExtensionEventRouter() {
464 return extensions::ExtensionSystem::Get(this)->event_router(); 464 return extensions::ExtensionSystem::Get(this)->event_router();
465 } 465 }
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 } 726 }
727 727
728 bool TestingProfile::WasCreatedByVersionOrLater(const std::string& version) { 728 bool TestingProfile::WasCreatedByVersionOrLater(const std::string& version) {
729 return true; 729 return true;
730 } 730 }
731 731
732 base::Callback<ChromeURLDataManagerBackend*(void)> 732 base::Callback<ChromeURLDataManagerBackend*(void)>
733 TestingProfile::GetChromeURLDataManagerBackendGetter() const { 733 TestingProfile::GetChromeURLDataManagerBackendGetter() const {
734 return base::Callback<ChromeURLDataManagerBackend*(void)>(); 734 return base::Callback<ChromeURLDataManagerBackend*(void)>();
735 } 735 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698