Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Side by Side Diff: chrome/browser/ui/app_list/test/fake_profile.cc

Issue 282103004: Rename ProtocolInterceptJobFactory and make it not use ProtocolHandlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Response to jam's comments (And a merge) Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.h ('k') | chrome/browser/ui/sync/one_click_signin_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698