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

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

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change Cookie Override API to not expose the CookieStoreMap. Created 7 years, 4 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('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/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 virtual Profile* GetOffTheRecordProfile() OVERRIDE; 193 virtual Profile* GetOffTheRecordProfile() OVERRIDE;
194 virtual void DestroyOffTheRecordProfile() OVERRIDE {} 194 virtual void DestroyOffTheRecordProfile() OVERRIDE {}
195 virtual bool HasOffTheRecordProfile() OVERRIDE; 195 virtual bool HasOffTheRecordProfile() OVERRIDE;
196 virtual Profile* GetOriginalProfile() OVERRIDE; 196 virtual Profile* GetOriginalProfile() OVERRIDE;
197 virtual bool IsManaged() OVERRIDE; 197 virtual bool IsManaged() OVERRIDE;
198 virtual ExtensionService* GetExtensionService() OVERRIDE; 198 virtual ExtensionService* GetExtensionService() OVERRIDE;
199 void SetExtensionSpecialStoragePolicy( 199 void SetExtensionSpecialStoragePolicy(
200 ExtensionSpecialStoragePolicy* extension_special_storage_policy); 200 ExtensionSpecialStoragePolicy* extension_special_storage_policy);
201 virtual ExtensionSpecialStoragePolicy* 201 virtual ExtensionSpecialStoragePolicy*
202 GetExtensionSpecialStoragePolicy() OVERRIDE; 202 GetExtensionSpecialStoragePolicy() OVERRIDE;
203 // TODO(ajwong): Remove this API in favor of directly retrieving the
204 // CookieStore from the StoragePartition after ExtensionURLRequestContext
205 // has been removed.
206 net::CookieMonster* GetCookieMonster();
207 203
208 virtual PrefService* GetPrefs() OVERRIDE; 204 virtual PrefService* GetPrefs() OVERRIDE;
209 205
210 virtual history::TopSites* GetTopSites() OVERRIDE; 206 virtual history::TopSites* GetTopSites() OVERRIDE;
211 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; 207 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE;
212 208
213 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 209 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
214 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 210 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
215 int renderer_child_id) OVERRIDE; 211 int renderer_child_id) OVERRIDE;
216 virtual net::URLRequestContextGetter* 212 virtual net::URLRequestContextGetter*
217 GetRequestContextForExtensions() OVERRIDE;
218 virtual net::URLRequestContextGetter*
219 GetMediaRequestContextForStoragePartition( 213 GetMediaRequestContextForStoragePartition(
220 const base::FilePath& partition_path, 214 const base::FilePath& partition_path,
221 bool in_memory) OVERRIDE; 215 bool in_memory) OVERRIDE;
222 virtual void RequestMIDISysExPermission( 216 virtual void RequestMIDISysExPermission(
223 int render_process_id, 217 int render_process_id,
224 int render_view_id, 218 int render_view_id,
225 const GURL& requesting_frame, 219 const GURL& requesting_frame,
226 const MIDISysExPermissionCallback& callback) OVERRIDE; 220 const MIDISysExPermissionCallback& callback) OVERRIDE;
227 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 221 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
228 const base::FilePath& partition_path, 222 const base::FilePath& partition_path,
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 // scoped_ptr<>. 334 // scoped_ptr<>.
341 content::MockResourceContext* resource_context_; 335 content::MockResourceContext* resource_context_;
342 336
343 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; 337 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_;
344 338
345 // Weak pointer to a delegate for indicating that a profile was created. 339 // Weak pointer to a delegate for indicating that a profile was created.
346 Delegate* delegate_; 340 Delegate* delegate_;
347 }; 341 };
348 342
349 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 343 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698