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

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

Issue 10696208: Move ExtensionEventRouter and related into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed bug + latest master 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') | no next file » | 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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 } 456 }
457 457
458 extensions::UserScriptMaster* TestingProfile::GetUserScriptMaster() { 458 extensions::UserScriptMaster* TestingProfile::GetUserScriptMaster() {
459 return extensions::ExtensionSystem::Get(this)->user_script_master(); 459 return extensions::ExtensionSystem::Get(this)->user_script_master();
460 } 460 }
461 461
462 ExtensionProcessManager* TestingProfile::GetExtensionProcessManager() { 462 ExtensionProcessManager* TestingProfile::GetExtensionProcessManager() {
463 return extensions::ExtensionSystem::Get(this)->process_manager(); 463 return extensions::ExtensionSystem::Get(this)->process_manager();
464 } 464 }
465 465
466 ExtensionEventRouter* TestingProfile::GetExtensionEventRouter() { 466 extensions::EventRouter* TestingProfile::GetExtensionEventRouter() {
467 return extensions::ExtensionSystem::Get(this)->event_router(); 467 return extensions::ExtensionSystem::Get(this)->event_router();
468 } 468 }
469 469
470 void TestingProfile::SetExtensionSpecialStoragePolicy( 470 void TestingProfile::SetExtensionSpecialStoragePolicy(
471 ExtensionSpecialStoragePolicy* extension_special_storage_policy) { 471 ExtensionSpecialStoragePolicy* extension_special_storage_policy) {
472 extension_special_storage_policy_ = extension_special_storage_policy; 472 extension_special_storage_policy_ = extension_special_storage_policy;
473 } 473 }
474 474
475 ExtensionSpecialStoragePolicy* 475 ExtensionSpecialStoragePolicy*
476 TestingProfile::GetExtensionSpecialStoragePolicy() { 476 TestingProfile::GetExtensionSpecialStoragePolicy() {
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 } 729 }
730 730
731 bool TestingProfile::WasCreatedByVersionOrLater(const std::string& version) { 731 bool TestingProfile::WasCreatedByVersionOrLater(const std::string& version) {
732 return true; 732 return true;
733 } 733 }
734 734
735 base::Callback<ChromeURLDataManagerBackend*(void)> 735 base::Callback<ChromeURLDataManagerBackend*(void)>
736 TestingProfile::GetChromeURLDataManagerBackendGetter() const { 736 TestingProfile::GetChromeURLDataManagerBackendGetter() const {
737 return base::Callback<ChromeURLDataManagerBackend*(void)>(); 737 return base::Callback<ChromeURLDataManagerBackend*(void)>();
738 } 738 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698