| OLD | NEW |
| 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 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 781 ChromeDownloadManagerDelegate* delegate) { | 781 ChromeDownloadManagerDelegate* delegate) { |
| 782 // Specially marked so errors from use will occur near to the site | 782 // Specially marked so errors from use will occur near to the site |
| 783 // of the error. | 783 // of the error. |
| 784 NOTIMPLEMENTED(); | 784 NOTIMPLEMENTED(); |
| 785 } | 785 } |
| 786 | 786 |
| 787 chrome_browser_net::Predictor* TestingProfile::GetNetworkPredictor() { | 787 chrome_browser_net::Predictor* TestingProfile::GetNetworkPredictor() { |
| 788 return NULL; | 788 return NULL; |
| 789 } | 789 } |
| 790 | 790 |
| 791 void TestingProfile::DeleteTransportSecurityStateSince(base::Time time) { | 791 void TestingProfile::ClearNetworkingHistorySince(base::Time time) { |
| 792 NOTIMPLEMENTED(); | 792 NOTIMPLEMENTED(); |
| 793 } | 793 } |
| 794 | 794 |
| 795 PrefService* TestingProfile::GetOffTheRecordPrefs() { | 795 PrefService* TestingProfile::GetOffTheRecordPrefs() { |
| 796 return NULL; | 796 return NULL; |
| 797 } | 797 } |
| 798 | 798 |
| 799 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { | 799 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { |
| 800 return GetExtensionSpecialStoragePolicy(); | 800 return GetExtensionSpecialStoragePolicy(); |
| 801 } | 801 } |
| 802 | 802 |
| 803 void TestingProfile::DestroyWebDataService() { | 803 void TestingProfile::DestroyWebDataService() { |
| 804 if (!web_data_service_.get()) | 804 if (!web_data_service_.get()) |
| 805 return; | 805 return; |
| 806 | 806 |
| 807 web_data_service_->Shutdown(); | 807 web_data_service_->Shutdown(); |
| 808 } | 808 } |
| OLD | NEW |