OLD | NEW |
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 28 matching lines...) Expand all Loading... |
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 bool IsManaged() OVERRIDE; | 43 virtual bool IsManaged() OVERRIDE; |
44 virtual ExtensionService* GetExtensionService() OVERRIDE; | 44 virtual ExtensionService* GetExtensionService() OVERRIDE; |
45 virtual ExtensionSpecialStoragePolicy* | 45 virtual ExtensionSpecialStoragePolicy* |
46 GetExtensionSpecialStoragePolicy() OVERRIDE; | 46 GetExtensionSpecialStoragePolicy() OVERRIDE; |
47 virtual PrefService* GetPrefs() OVERRIDE; | 47 virtual PrefService* GetPrefs() OVERRIDE; |
48 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; | 48 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; |
49 virtual net::URLRequestContextGetter* | |
50 GetRequestContextForExtensions() OVERRIDE; | |
51 virtual net::URLRequestContextGetter* CreateRequestContext( | 49 virtual net::URLRequestContextGetter* CreateRequestContext( |
52 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 50 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
53 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 51 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
54 const base::FilePath& partition_path, | 52 const base::FilePath& partition_path, |
55 bool in_memory, | 53 bool in_memory, |
56 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 54 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
57 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; | 55 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; |
58 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; | 56 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; |
59 virtual bool IsSameProfile(Profile* profile) OVERRIDE; | 57 virtual bool IsSameProfile(Profile* profile) OVERRIDE; |
60 virtual Time GetStartTime() const OVERRIDE; | 58 virtual Time GetStartTime() const OVERRIDE; |
(...skipping 21 matching lines...) Expand all Loading... |
82 base::Time time, | 80 base::Time time, |
83 const base::Closure& completion) OVERRIDE; | 81 const base::Closure& completion) OVERRIDE; |
84 virtual GURL GetHomePage() OVERRIDE; | 82 virtual GURL GetHomePage() OVERRIDE; |
85 | 83 |
86 // content::BrowserContext implementation: | 84 // content::BrowserContext implementation: |
87 virtual base::FilePath GetPath() const OVERRIDE; | 85 virtual base::FilePath GetPath() const OVERRIDE; |
88 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 86 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
89 virtual bool IsOffTheRecord() const OVERRIDE; | 87 virtual bool IsOffTheRecord() const OVERRIDE; |
90 virtual content::DownloadManagerDelegate* | 88 virtual content::DownloadManagerDelegate* |
91 GetDownloadManagerDelegate() OVERRIDE; | 89 GetDownloadManagerDelegate() OVERRIDE; |
| 90 virtual void OverrideCookieStoreConfigs(const base::FilePath& partition_path, |
| 91 bool in_memory_partition, |
| 92 bool is_default_partition, |
| 93 CookieSchemeMap* configs) OVERRIDE; |
92 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 94 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
93 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 95 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
94 int renderer_child_id) OVERRIDE; | 96 int renderer_child_id) OVERRIDE; |
95 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 97 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
96 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 98 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
97 int renderer_child_id) OVERRIDE; | 99 int renderer_child_id) OVERRIDE; |
98 virtual net::URLRequestContextGetter* | 100 virtual net::URLRequestContextGetter* |
99 GetMediaRequestContextForStoragePartition( | 101 GetMediaRequestContextForStoragePartition( |
100 const base::FilePath& partition_path, | 102 const base::FilePath& partition_path, |
101 bool in_memory) OVERRIDE; | 103 bool in_memory) OVERRIDE; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 135 |
134 // Time we were started. | 136 // Time we were started. |
135 Time start_time_; | 137 Time start_time_; |
136 | 138 |
137 base::FilePath last_selected_directory_; | 139 base::FilePath last_selected_directory_; |
138 | 140 |
139 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 141 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
140 | 142 |
141 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; | 143 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; |
142 | 144 |
| 145 scoped_refptr<net::CookieMonsterDelegate> cookie_delegate_; |
| 146 |
143 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 147 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
144 }; | 148 }; |
145 | 149 |
146 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 150 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
OLD | NEW |