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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 158 |
159 bool FakeProfile::IsSameProfile(Profile* profile) { | 159 bool FakeProfile::IsSameProfile(Profile* profile) { |
160 return false; | 160 return false; |
161 } | 161 } |
162 | 162 |
163 base::Time FakeProfile::GetStartTime() const { | 163 base::Time FakeProfile::GetStartTime() const { |
164 return base::Time(); | 164 return base::Time(); |
165 } | 165 } |
166 | 166 |
167 net::URLRequestContextGetter* FakeProfile::CreateRequestContext( | 167 net::URLRequestContextGetter* FakeProfile::CreateRequestContext( |
168 content::ProtocolHandlerMap* protocol_handlers) { | 168 content::ProtocolHandlerMap* protocol_handlers, |
| 169 content::ProtocolHandlerScopedVector protocol_interceptors) { |
169 return NULL; | 170 return NULL; |
170 } | 171 } |
171 | 172 |
172 net::URLRequestContextGetter* | 173 net::URLRequestContextGetter* |
173 FakeProfile::CreateRequestContextForStoragePartition( | 174 FakeProfile::CreateRequestContextForStoragePartition( |
174 const base::FilePath& partition_path, | 175 const base::FilePath& partition_path, |
175 bool in_memory, | 176 bool in_memory, |
176 content::ProtocolHandlerMap* protocol_handlers) { | 177 content::ProtocolHandlerMap* protocol_handlers, |
| 178 content::ProtocolHandlerScopedVector protocol_interceptors) { |
177 return NULL; | 179 return NULL; |
178 } | 180 } |
179 | 181 |
180 base::FilePath FakeProfile::last_selected_directory() { | 182 base::FilePath FakeProfile::last_selected_directory() { |
181 return base::FilePath(); | 183 return base::FilePath(); |
182 } | 184 } |
183 | 185 |
184 void FakeProfile::set_last_selected_directory(const base::FilePath& path) {} | 186 void FakeProfile::set_last_selected_directory(const base::FilePath& path) {} |
185 | 187 |
186 #if defined(OS_CHROMEOS) | 188 #if defined(OS_CHROMEOS) |
(...skipping 22 matching lines...) Expand all Loading... |
209 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 211 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
210 return false; | 212 return false; |
211 } | 213 } |
212 | 214 |
213 void FakeProfile::SetExitType(ExitType exit_type) { | 215 void FakeProfile::SetExitType(ExitType exit_type) { |
214 } | 216 } |
215 | 217 |
216 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 218 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
217 return EXIT_NORMAL; | 219 return EXIT_NORMAL; |
218 } | 220 } |
OLD | NEW |