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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 virtual ExtensionService* GetExtensionService() OVERRIDE; | 42 virtual ExtensionService* GetExtensionService() OVERRIDE; |
43 virtual ExtensionSpecialStoragePolicy* | 43 virtual ExtensionSpecialStoragePolicy* |
44 GetExtensionSpecialStoragePolicy() OVERRIDE; | 44 GetExtensionSpecialStoragePolicy() OVERRIDE; |
45 virtual policy::ManagedModePolicyProvider* | 45 virtual policy::ManagedModePolicyProvider* |
46 GetManagedModePolicyProvider() OVERRIDE; | 46 GetManagedModePolicyProvider() OVERRIDE; |
47 virtual policy::PolicyService* GetPolicyService() OVERRIDE; | 47 virtual policy::PolicyService* GetPolicyService() OVERRIDE; |
48 virtual PrefServiceSyncable* GetPrefs() OVERRIDE; | 48 virtual PrefServiceSyncable* GetPrefs() OVERRIDE; |
49 virtual PrefServiceSyncable* GetOffTheRecordPrefs() OVERRIDE; | 49 virtual PrefServiceSyncable* GetOffTheRecordPrefs() OVERRIDE; |
50 virtual net::URLRequestContextGetter* | 50 virtual net::URLRequestContextGetter* |
51 GetRequestContextForExtensions() OVERRIDE; | 51 GetRequestContextForExtensions() OVERRIDE; |
52 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( | 52 virtual net::URLRequestContextGetter* CreateRequestContext( |
| 53 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 54 blob_protocol_handler, |
| 55 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 56 file_system_protocol_handler, |
| 57 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 58 developer_protocol_handler, |
| 59 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 60 chrome_protocol_handler, |
| 61 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 62 chrome_devtools_protocol_handler) OVERRIDE; |
| 63 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
53 const FilePath& partition_path, | 64 const FilePath& partition_path, |
54 bool in_memory) OVERRIDE; | 65 bool in_memory, |
| 66 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 67 blob_protocol_handler, |
| 68 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 69 file_system_protocol_handler, |
| 70 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 71 developer_protocol_handler, |
| 72 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 73 chrome_protocol_handler, |
| 74 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 75 chrome_devtools_protocol_handler) OVERRIDE; |
55 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; | 76 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; |
56 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; | 77 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; |
57 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; | 78 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; |
58 virtual bool IsSameProfile(Profile* profile) OVERRIDE; | 79 virtual bool IsSameProfile(Profile* profile) OVERRIDE; |
59 virtual Time GetStartTime() const OVERRIDE; | 80 virtual Time GetStartTime() const OVERRIDE; |
60 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; | 81 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; |
61 virtual history::TopSites* GetTopSites() OVERRIDE; | 82 virtual history::TopSites* GetTopSites() OVERRIDE; |
62 virtual FilePath last_selected_directory() OVERRIDE; | 83 virtual FilePath last_selected_directory() OVERRIDE; |
63 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; | 84 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; |
64 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 85 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 Time start_time_; | 156 Time start_time_; |
136 | 157 |
137 FilePath last_selected_directory_; | 158 FilePath last_selected_directory_; |
138 | 159 |
139 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 160 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
140 | 161 |
141 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 162 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
142 }; | 163 }; |
143 | 164 |
144 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 165 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
OLD | NEW |