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

Side by Side Diff: chrome/test/base/testing_profile.h

Issue 12386009: Remove the chrome:// protocol interceptor since it's not used anymore now that the chrome job facto… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // leaking if they called this method without the necessary IO thread. This 184 // leaking if they called this method without the necessary IO thread. This
185 // getter is currently only capable of returning a Context that helps test 185 // getter is currently only capable of returning a Context that helps test
186 // the CookieMonster. See implementation comments for more details. 186 // the CookieMonster. See implementation comments for more details.
187 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 187 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
188 virtual net::URLRequestContextGetter* CreateRequestContext( 188 virtual net::URLRequestContextGetter* CreateRequestContext(
189 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 189 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
190 blob_protocol_handler, 190 blob_protocol_handler,
191 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 191 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
192 file_system_protocol_handler, 192 file_system_protocol_handler,
193 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 193 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
194 developer_protocol_handler,
195 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
196 chrome_protocol_handler, 194 chrome_protocol_handler,
197 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 195 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
198 chrome_devtools_protocol_handler) OVERRIDE; 196 chrome_devtools_protocol_handler) OVERRIDE;
199 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 197 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
200 int renderer_child_id) OVERRIDE; 198 int renderer_child_id) OVERRIDE;
201 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 199 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
202 virtual content::GeolocationPermissionContext* 200 virtual content::GeolocationPermissionContext*
203 GetGeolocationPermissionContext() OVERRIDE; 201 GetGeolocationPermissionContext() OVERRIDE;
204 virtual content::SpeechRecognitionPreferences* 202 virtual content::SpeechRecognitionPreferences*
205 GetSpeechRecognitionPreferences() OVERRIDE; 203 GetSpeechRecognitionPreferences() OVERRIDE;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 const base::FilePath& partition_path, 246 const base::FilePath& partition_path,
249 bool in_memory) OVERRIDE; 247 bool in_memory) OVERRIDE;
250 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 248 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
251 const base::FilePath& partition_path, 249 const base::FilePath& partition_path,
252 bool in_memory, 250 bool in_memory,
253 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 251 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
254 blob_protocol_handler, 252 blob_protocol_handler,
255 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 253 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
256 file_system_protocol_handler, 254 file_system_protocol_handler,
257 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 255 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
258 developer_protocol_handler,
259 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
260 chrome_protocol_handler, 256 chrome_protocol_handler,
261 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 257 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
262 chrome_devtools_protocol_handler) OVERRIDE; 258 chrome_devtools_protocol_handler) OVERRIDE;
263 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 259 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
264 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 260 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
265 virtual std::wstring GetName(); 261 virtual std::wstring GetName();
266 virtual void SetName(const std::wstring& name) {} 262 virtual void SetName(const std::wstring& name) {}
267 virtual std::wstring GetID(); 263 virtual std::wstring GetID();
268 virtual void SetID(const std::wstring& id); 264 virtual void SetID(const std::wstring& id);
269 void set_last_session_exited_cleanly(bool value) { 265 void set_last_session_exited_cleanly(bool value) {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 // testing. 364 // testing.
369 ProfileDependencyManager* profile_dependency_manager_; 365 ProfileDependencyManager* profile_dependency_manager_;
370 366
371 scoped_ptr<content::MockResourceContext> resource_context_; 367 scoped_ptr<content::MockResourceContext> resource_context_;
372 368
373 // Weak pointer to a delegate for indicating that a profile was created. 369 // Weak pointer to a delegate for indicating that a profile was created.
374 Delegate* delegate_; 370 Delegate* delegate_;
375 }; 371 };
376 372
377 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 373 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/sync/one_click_signin_helper_unittest.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698