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

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

Issue 10909182: Make FileSystemContext respect StoragePartitions. filesystem:// urls will be properly isolated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove useless headers. Created 8 years, 3 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/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 void CreateRequestContext(); 238 void CreateRequestContext();
239 // Clears out the created request context (which must be done before shutting 239 // Clears out the created request context (which must be done before shutting
240 // down the IO thread to avoid leaks). 240 // down the IO thread to avoid leaks).
241 void ResetRequestContext(); 241 void ResetRequestContext();
242 242
243 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 243 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
244 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 244 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
245 int renderer_child_id) OVERRIDE; 245 int renderer_child_id) OVERRIDE;
246 virtual net::URLRequestContextGetter* 246 virtual net::URLRequestContextGetter*
247 GetRequestContextForExtensions() OVERRIDE; 247 GetRequestContextForExtensions() OVERRIDE;
248 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( 248 virtual net::URLRequestContextGetter*
249 const std::string& app_id) OVERRIDE; 249 GetMediaRequestContextForStoragePartition(
250 const std::string& partition_id) OVERRIDE;
251 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition(
252 const std::string& partition_id) OVERRIDE;
250 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 253 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
251 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 254 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
252 virtual std::wstring GetName(); 255 virtual std::wstring GetName();
253 virtual void SetName(const std::wstring& name) {} 256 virtual void SetName(const std::wstring& name) {}
254 virtual std::wstring GetID(); 257 virtual std::wstring GetID();
255 virtual void SetID(const std::wstring& id); 258 virtual void SetID(const std::wstring& id);
256 void set_last_session_exited_cleanly(bool value) { 259 void set_last_session_exited_cleanly(bool value) {
257 last_session_exited_cleanly_ = value; 260 last_session_exited_cleanly_ = value;
258 } 261 }
259 virtual void MergeResourceString(int message_id, 262 virtual void MergeResourceString(int message_id,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 // testing. 364 // testing.
362 ProfileDependencyManager* profile_dependency_manager_; 365 ProfileDependencyManager* profile_dependency_manager_;
363 366
364 scoped_ptr<content::MockResourceContext> resource_context_; 367 scoped_ptr<content::MockResourceContext> resource_context_;
365 368
366 // 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.
367 Delegate* delegate_; 370 Delegate* delegate_;
368 }; 371 };
369 372
370 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 373 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/cookies_view_handler.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698