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