| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 bool FakeProfile::IsSameProfile(Profile* profile) { | 168 bool FakeProfile::IsSameProfile(Profile* profile) { |
| 169 return false; | 169 return false; |
| 170 } | 170 } |
| 171 | 171 |
| 172 base::Time FakeProfile::GetStartTime() const { | 172 base::Time FakeProfile::GetStartTime() const { |
| 173 return base::Time(); | 173 return base::Time(); |
| 174 } | 174 } |
| 175 | 175 |
| 176 net::URLRequestContextGetter* FakeProfile::CreateRequestContext( | 176 net::URLRequestContextGetter* FakeProfile::CreateRequestContext( |
| 177 content::ProtocolHandlerMap* protocol_handlers, | 177 content::ProtocolHandlerMap* protocol_handlers, |
| 178 content::ProtocolHandlerScopedVector protocol_interceptors) { | 178 content::URLRequestInterceptorScopedVector request_interceptors) { |
| 179 return NULL; | 179 return NULL; |
| 180 } | 180 } |
| 181 | 181 |
| 182 net::URLRequestContextGetter* | 182 net::URLRequestContextGetter* |
| 183 FakeProfile::CreateRequestContextForStoragePartition( | 183 FakeProfile::CreateRequestContextForStoragePartition( |
| 184 const base::FilePath& partition_path, | 184 const base::FilePath& partition_path, |
| 185 bool in_memory, | 185 bool in_memory, |
| 186 content::ProtocolHandlerMap* protocol_handlers, | 186 content::ProtocolHandlerMap* protocol_handlers, |
| 187 content::ProtocolHandlerScopedVector protocol_interceptors) { | 187 content::URLRequestInterceptorScopedVector request_interceptors) { |
| 188 return NULL; | 188 return NULL; |
| 189 } | 189 } |
| 190 | 190 |
| 191 base::FilePath FakeProfile::last_selected_directory() { | 191 base::FilePath FakeProfile::last_selected_directory() { |
| 192 return base::FilePath(); | 192 return base::FilePath(); |
| 193 } | 193 } |
| 194 | 194 |
| 195 void FakeProfile::set_last_selected_directory(const base::FilePath& path) {} | 195 void FakeProfile::set_last_selected_directory(const base::FilePath& path) {} |
| 196 | 196 |
| 197 #if defined(OS_CHROMEOS) | 197 #if defined(OS_CHROMEOS) |
| (...skipping 28 matching lines...) Expand all Loading... |
| 226 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 226 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
| 227 return false; | 227 return false; |
| 228 } | 228 } |
| 229 | 229 |
| 230 void FakeProfile::SetExitType(ExitType exit_type) { | 230 void FakeProfile::SetExitType(ExitType exit_type) { |
| 231 } | 231 } |
| 232 | 232 |
| 233 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 233 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
| 234 return EXIT_NORMAL; | 234 return EXIT_NORMAL; |
| 235 } | 235 } |
| OLD | NEW |