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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 #endif // defined(OS_CHROMEOS) | 198 #endif // defined(OS_CHROMEOS) |
199 | 199 |
200 PrefProxyConfigTracker* FakeProfile::GetProxyConfigTracker() { | 200 PrefProxyConfigTracker* FakeProfile::GetProxyConfigTracker() { |
201 return NULL; | 201 return NULL; |
202 } | 202 } |
203 | 203 |
204 chrome_browser_net::Predictor* FakeProfile::GetNetworkPredictor() { | 204 chrome_browser_net::Predictor* FakeProfile::GetNetworkPredictor() { |
205 return NULL; | 205 return NULL; |
206 } | 206 } |
207 | 207 |
208 void FakeProfile::ClearNetworkingHistorySince(base::Time time, | 208 void FakeProfile::ClearNetworkingHistorySince( |
209 const base::Closure& completion) { | 209 base::Time time, |
| 210 const base::Closure& completion) { |
| 211 } |
| 212 |
| 213 void FakeProfile::ClearDomainReliabilityMonitor( |
| 214 bool clear_contexts, |
| 215 const base::Closure& completion) { |
210 } | 216 } |
211 | 217 |
212 GURL FakeProfile::GetHomePage() { | 218 GURL FakeProfile::GetHomePage() { |
213 return GURL(); | 219 return GURL(); |
214 } | 220 } |
215 | 221 |
216 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 222 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
217 return false; | 223 return false; |
218 } | 224 } |
219 | 225 |
220 void FakeProfile::SetExitType(ExitType exit_type) { | 226 void FakeProfile::SetExitType(ExitType exit_type) { |
221 } | 227 } |
222 | 228 |
223 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 229 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
224 return EXIT_NORMAL; | 230 return EXIT_NORMAL; |
225 } | 231 } |
OLD | NEW |