| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/browser/ui/app_list/test/fake_profile.h" | 5 #include "chrome/browser/ui/app_list/test/fake_profile.h" |
| 6 | 6 |
| 7 FakeProfile::FakeProfile(const std::string& name) | 7 FakeProfile::FakeProfile(const std::string& name) |
| 8 : name_(name) { | 8 : name_(name) { |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 #endif // defined(OS_CHROMEOS) | 203 #endif // defined(OS_CHROMEOS) |
| 204 | 204 |
| 205 PrefProxyConfigTracker* FakeProfile::GetProxyConfigTracker() { | 205 PrefProxyConfigTracker* FakeProfile::GetProxyConfigTracker() { |
| 206 return NULL; | 206 return NULL; |
| 207 } | 207 } |
| 208 | 208 |
| 209 chrome_browser_net::Predictor* FakeProfile::GetNetworkPredictor() { | 209 chrome_browser_net::Predictor* FakeProfile::GetNetworkPredictor() { |
| 210 return NULL; | 210 return NULL; |
| 211 } | 211 } |
| 212 | 212 |
| 213 void FakeProfile::ClearNetworkingHistorySince(base::Time time, | 213 void FakeProfile::ClearNetworkingHistorySince( |
| 214 const base::Closure& completion) { | 214 base::Time time, |
| 215 const base::Closure& completion) { |
| 216 } |
| 217 |
| 218 void FakeProfile::ClearDomainReliabilityMonitor( |
| 219 domain_reliability::DomainReliabilityClearMode mode, |
| 220 const base::Closure& completion) { |
| 215 } | 221 } |
| 216 | 222 |
| 217 GURL FakeProfile::GetHomePage() { | 223 GURL FakeProfile::GetHomePage() { |
| 218 return GURL(); | 224 return GURL(); |
| 219 } | 225 } |
| 220 | 226 |
| 221 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 227 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
| 222 return false; | 228 return false; |
| 223 } | 229 } |
| 224 | 230 |
| 225 void FakeProfile::SetExitType(ExitType exit_type) { | 231 void FakeProfile::SetExitType(ExitType exit_type) { |
| 226 } | 232 } |
| 227 | 233 |
| 228 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 234 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
| 229 return EXIT_NORMAL; | 235 return EXIT_NORMAL; |
| 230 } | 236 } |
| OLD | NEW |