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

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

Issue 11147026: Initial refactor to get profiles to propagate storage partition details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed a merging of removed variable. Created 8 years, 1 month 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 // down the IO thread to avoid leaks). 237 // down the IO thread to avoid leaks).
238 void ResetRequestContext(); 238 void ResetRequestContext();
239 239
240 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 240 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
241 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 241 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
242 int renderer_child_id) OVERRIDE; 242 int renderer_child_id) OVERRIDE;
243 virtual net::URLRequestContextGetter* 243 virtual net::URLRequestContextGetter*
244 GetRequestContextForExtensions() OVERRIDE; 244 GetRequestContextForExtensions() OVERRIDE;
245 virtual net::URLRequestContextGetter* 245 virtual net::URLRequestContextGetter*
246 GetMediaRequestContextForStoragePartition( 246 GetMediaRequestContextForStoragePartition(
247 const std::string& partition_id) OVERRIDE; 247 const FilePath& partition_path,
248 bool in_memory) OVERRIDE;
248 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( 249 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition(
249 const std::string& partition_id) OVERRIDE; 250 const FilePath& partition_path,
251 bool in_memory) OVERRIDE;
250 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 252 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
251 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 253 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
252 virtual std::wstring GetName(); 254 virtual std::wstring GetName();
253 virtual void SetName(const std::wstring& name) {} 255 virtual void SetName(const std::wstring& name) {}
254 virtual std::wstring GetID(); 256 virtual std::wstring GetID();
255 virtual void SetID(const std::wstring& id); 257 virtual void SetID(const std::wstring& id);
256 void set_last_session_exited_cleanly(bool value) { 258 void set_last_session_exited_cleanly(bool value) {
257 last_session_exited_cleanly_ = value; 259 last_session_exited_cleanly_ = value;
258 } 260 }
259 virtual void MergeResourceString(int message_id, 261 virtual void MergeResourceString(int message_id,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 // testing. 364 // testing.
363 ProfileDependencyManager* profile_dependency_manager_; 365 ProfileDependencyManager* profile_dependency_manager_;
364 366
365 scoped_ptr<content::MockResourceContext> resource_context_; 367 scoped_ptr<content::MockResourceContext> resource_context_;
366 368
367 // 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.
368 Delegate* delegate_; 370 Delegate* delegate_;
369 }; 371 };
370 372
371 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 373 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698