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

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

Issue 8343052: Sync Promo: Tweak first tabs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: diff against correct branch Created 9 years, 1 month 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
« 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) 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/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 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 } 774 }
775 775
776 chrome_browser_net::Predictor* TestingProfile::GetNetworkPredictor() { 776 chrome_browser_net::Predictor* TestingProfile::GetNetworkPredictor() {
777 return NULL; 777 return NULL;
778 } 778 }
779 779
780 void TestingProfile::ClearNetworkingHistorySince(base::Time time) { 780 void TestingProfile::ClearNetworkingHistorySince(base::Time time) {
781 NOTIMPLEMENTED(); 781 NOTIMPLEMENTED();
782 } 782 }
783 783
784 GURL TestingProfile::GetHomePage() {
785 return GURL(chrome::kChromeUINewTabURL);
786 }
787
784 PrefService* TestingProfile::GetOffTheRecordPrefs() { 788 PrefService* TestingProfile::GetOffTheRecordPrefs() {
785 return NULL; 789 return NULL;
786 } 790 }
787 791
788 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { 792 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() {
789 return GetExtensionSpecialStoragePolicy(); 793 return GetExtensionSpecialStoragePolicy();
790 } 794 }
791 795
792 void TestingProfile::DestroyWebDataService() { 796 void TestingProfile::DestroyWebDataService() {
793 if (!web_data_service_.get()) 797 if (!web_data_service_.get())
794 return; 798 return;
795 799
796 web_data_service_->Shutdown(); 800 web_data_service_->Shutdown();
797 } 801 }
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