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

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

Issue 6520008: Device policy infrastructure (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nits Created 9 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/testing_profile.h" 5 #include "chrome/test/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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 } 750 }
751 751
752 ExtensionInfoMap* TestingProfile::GetExtensionInfoMap() { 752 ExtensionInfoMap* TestingProfile::GetExtensionInfoMap() {
753 return NULL; 753 return NULL;
754 } 754 }
755 755
756 PromoCounter* TestingProfile::GetInstantPromoCounter() { 756 PromoCounter* TestingProfile::GetInstantPromoCounter() {
757 return NULL; 757 return NULL;
758 } 758 }
759 759
760 policy::ProfilePolicyContext* TestingProfile::GetPolicyContext() { 760 policy::ProfilePolicyConnector* TestingProfile::GetPolicyConnector() {
761 return NULL; 761 return NULL;
762 } 762 }
763 763
764 ChromeURLDataManager* TestingProfile::GetChromeURLDataManager() { 764 ChromeURLDataManager* TestingProfile::GetChromeURLDataManager() {
765 if (!chrome_url_data_manager_.get()) 765 if (!chrome_url_data_manager_.get())
766 chrome_url_data_manager_.reset(new ChromeURLDataManager(this)); 766 chrome_url_data_manager_.reset(new ChromeURLDataManager(this));
767 return chrome_url_data_manager_.get(); 767 return chrome_url_data_manager_.get();
768 } 768 }
769 769
770 prerender::PrerenderManager* TestingProfile::GetPrerenderManager() { 770 prerender::PrerenderManager* TestingProfile::GetPrerenderManager() {
(...skipping 12 matching lines...) Expand all
783 } 783 }
784 784
785 DerivedTestingProfile::DerivedTestingProfile(Profile* profile) 785 DerivedTestingProfile::DerivedTestingProfile(Profile* profile)
786 : original_profile_(profile) {} 786 : original_profile_(profile) {}
787 787
788 DerivedTestingProfile::~DerivedTestingProfile() {} 788 DerivedTestingProfile::~DerivedTestingProfile() {}
789 789
790 ProfileId DerivedTestingProfile::GetRuntimeId() { 790 ProfileId DerivedTestingProfile::GetRuntimeId() {
791 return original_profile_->GetRuntimeId(); 791 return original_profile_->GetRuntimeId();
792 } 792 }
OLDNEW
« chrome/browser/policy/device_token_fetcher_unittest.cc ('K') | « chrome/test/testing_profile.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698