| 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" |
| 11 #include "chrome/browser/profiles/off_the_record_profile_io_data.h" | 11 #include "chrome/browser/profiles/off_the_record_profile_io_data.h" |
| 12 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
| 13 #include "chrome/browser/ui/browser_list.h" | 13 #include "chrome/browser/ui/browser_list.h" |
| 14 #include "content/public/browser/content_browser_client.h" |
| 14 #include "content/public/browser/host_zoom_map.h" | 15 #include "content/public/browser/host_zoom_map.h" |
| 15 | 16 |
| 16 using base::Time; | 17 using base::Time; |
| 17 using base::TimeDelta; | 18 using base::TimeDelta; |
| 18 | 19 |
| 19 class PrefServiceSyncable; | 20 class PrefServiceSyncable; |
| 20 | 21 |
| 21 //////////////////////////////////////////////////////////////////////////////// | 22 //////////////////////////////////////////////////////////////////////////////// |
| 22 // | 23 // |
| 23 // OffTheRecordProfileImpl is a profile subclass that wraps an existing profile | 24 // OffTheRecordProfileImpl is a profile subclass that wraps an existing profile |
| (...skipping 19 matching lines...) Expand all Loading... |
| 43 virtual ExtensionSpecialStoragePolicy* | 44 virtual ExtensionSpecialStoragePolicy* |
| 44 GetExtensionSpecialStoragePolicy() OVERRIDE; | 45 GetExtensionSpecialStoragePolicy() OVERRIDE; |
| 45 virtual policy::ManagedModePolicyProvider* | 46 virtual policy::ManagedModePolicyProvider* |
| 46 GetManagedModePolicyProvider() OVERRIDE; | 47 GetManagedModePolicyProvider() OVERRIDE; |
| 47 virtual policy::PolicyService* GetPolicyService() OVERRIDE; | 48 virtual policy::PolicyService* GetPolicyService() OVERRIDE; |
| 48 virtual PrefService* GetPrefs() OVERRIDE; | 49 virtual PrefService* GetPrefs() OVERRIDE; |
| 49 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; | 50 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; |
| 50 virtual net::URLRequestContextGetter* | 51 virtual net::URLRequestContextGetter* |
| 51 GetRequestContextForExtensions() OVERRIDE; | 52 GetRequestContextForExtensions() OVERRIDE; |
| 52 virtual net::URLRequestContextGetter* CreateRequestContext( | 53 virtual net::URLRequestContextGetter* CreateRequestContext( |
| 53 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | 54 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
| 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( | 55 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 64 const base::FilePath& partition_path, | 56 const base::FilePath& partition_path, |
| 65 bool in_memory, | 57 bool in_memory, |
| 66 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | 58 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
| 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; | |
| 76 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; | 59 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; |
| 77 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; | 60 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; |
| 78 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; | 61 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; |
| 79 virtual bool IsSameProfile(Profile* profile) OVERRIDE; | 62 virtual bool IsSameProfile(Profile* profile) OVERRIDE; |
| 80 virtual Time GetStartTime() const OVERRIDE; | 63 virtual Time GetStartTime() const OVERRIDE; |
| 81 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; | 64 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; |
| 82 virtual history::TopSites* GetTopSites() OVERRIDE; | 65 virtual history::TopSites* GetTopSites() OVERRIDE; |
| 83 virtual base::FilePath last_selected_directory() OVERRIDE; | 66 virtual base::FilePath last_selected_directory() OVERRIDE; |
| 84 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; | 67 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; |
| 85 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 68 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 base::FilePath last_selected_directory_; | 136 base::FilePath last_selected_directory_; |
| 154 | 137 |
| 155 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 138 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 156 | 139 |
| 157 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; | 140 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; |
| 158 | 141 |
| 159 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 142 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
| 160 }; | 143 }; |
| 161 | 144 |
| 162 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 145 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
| OLD | NEW |