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

Side by Side Diff: chrome/browser/profiles/off_the_record_profile_impl.h

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: most unittests pass 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
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_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 27 matching lines...) Expand all
38 virtual std::string GetProfileName() OVERRIDE; 38 virtual std::string GetProfileName() OVERRIDE;
39 virtual Profile* GetOffTheRecordProfile() OVERRIDE; 39 virtual Profile* GetOffTheRecordProfile() OVERRIDE;
40 virtual void DestroyOffTheRecordProfile() OVERRIDE; 40 virtual void DestroyOffTheRecordProfile() OVERRIDE;
41 virtual bool HasOffTheRecordProfile() OVERRIDE; 41 virtual bool HasOffTheRecordProfile() OVERRIDE;
42 virtual Profile* GetOriginalProfile() OVERRIDE; 42 virtual Profile* GetOriginalProfile() OVERRIDE;
43 virtual ExtensionService* GetExtensionService() OVERRIDE; 43 virtual ExtensionService* GetExtensionService() OVERRIDE;
44 virtual ExtensionSpecialStoragePolicy* 44 virtual ExtensionSpecialStoragePolicy*
45 GetExtensionSpecialStoragePolicy() OVERRIDE; 45 GetExtensionSpecialStoragePolicy() OVERRIDE;
46 virtual PrefService* GetPrefs() OVERRIDE; 46 virtual PrefService* GetPrefs() OVERRIDE;
47 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; 47 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE;
48 virtual net::URLRequestContextGetter*
49 GetRequestContextForExtensions() OVERRIDE;
50 virtual net::URLRequestContextGetter* CreateRequestContext( 48 virtual net::URLRequestContextGetter* CreateRequestContext(
51 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; 49 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE;
52 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 50 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
53 const base::FilePath& partition_path, 51 const base::FilePath& partition_path,
54 bool in_memory, 52 bool in_memory,
55 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; 53 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE;
56 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 54 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
57 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 55 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
58 virtual bool IsSameProfile(Profile* profile) OVERRIDE; 56 virtual bool IsSameProfile(Profile* profile) OVERRIDE;
59 virtual Time GetStartTime() const OVERRIDE; 57 virtual Time GetStartTime() const OVERRIDE;
(...skipping 17 matching lines...) Expand all
77 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 75 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
78 76
79 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; 77 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE;
80 virtual void ClearNetworkingHistorySince( 78 virtual void ClearNetworkingHistorySince(
81 base::Time time, 79 base::Time time,
82 const base::Closure& completion) OVERRIDE; 80 const base::Closure& completion) OVERRIDE;
83 virtual GURL GetHomePage() OVERRIDE; 81 virtual GURL GetHomePage() OVERRIDE;
84 82
85 // content::BrowserContext implementation: 83 // content::BrowserContext implementation:
86 virtual base::FilePath GetPath() const OVERRIDE; 84 virtual base::FilePath GetPath() const OVERRIDE;
85 virtual content::CookieStoreConfig GetCookieStoreConfig() OVERRIDE;
87 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; 86 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE;
88 virtual bool IsOffTheRecord() const OVERRIDE; 87 virtual bool IsOffTheRecord() const OVERRIDE;
89 virtual content::DownloadManagerDelegate* 88 virtual content::DownloadManagerDelegate*
90 GetDownloadManagerDelegate() OVERRIDE; 89 GetDownloadManagerDelegate() OVERRIDE;
91 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 90 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
92 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 91 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
93 int renderer_child_id) OVERRIDE; 92 int renderer_child_id) OVERRIDE;
94 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 93 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
95 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 94 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
96 int renderer_child_id) OVERRIDE; 95 int renderer_child_id) OVERRIDE;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 131
133 // Time we were started. 132 // Time we were started.
134 Time start_time_; 133 Time start_time_;
135 134
136 base::FilePath last_selected_directory_; 135 base::FilePath last_selected_directory_;
137 136
138 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 137 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
139 138
140 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; 139 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_;
141 140
141 scoped_refptr<net::CookieMonsterDelegate> cookie_delegate_;
142
142 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 143 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
143 }; 144 };
144 145
145 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 146 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698