| 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 // This class gathers state related to a single user profile. | 5 // This class gathers state related to a single user profile. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/prefs/pref_change_registrar.h" | 16 #include "base/prefs/pref_change_registrar.h" |
| 17 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
| 18 #include "chrome/browser/profiles/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
| 19 #include "chrome/browser/profiles/profile_impl_io_data.h" | 19 #include "chrome/browser/profiles/profile_impl_io_data.h" |
| 20 #include "components/domain_reliability/clear_mode.h" |
| 20 #include "content/public/browser/content_browser_client.h" | 21 #include "content/public/browser/content_browser_client.h" |
| 21 #include "content/public/browser/host_zoom_map.h" | 22 #include "content/public/browser/host_zoom_map.h" |
| 22 | 23 |
| 23 class NetPrefObserver; | 24 class NetPrefObserver; |
| 24 class PrefService; | 25 class PrefService; |
| 25 class PrefServiceSyncable; | 26 class PrefServiceSyncable; |
| 26 class ShortcutsBackend; | 27 class ShortcutsBackend; |
| 27 class SSLConfigServiceManager; | 28 class SSLConfigServiceManager; |
| 28 | 29 |
| 29 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 const base::FilePath& partition_path, | 136 const base::FilePath& partition_path, |
| 136 bool in_memory, | 137 bool in_memory, |
| 137 content::ProtocolHandlerMap* protocol_handlers, | 138 content::ProtocolHandlerMap* protocol_handlers, |
| 138 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; | 139 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; |
| 139 virtual base::FilePath last_selected_directory() OVERRIDE; | 140 virtual base::FilePath last_selected_directory() OVERRIDE; |
| 140 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; | 141 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; |
| 141 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 142 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |
| 142 virtual void ClearNetworkingHistorySince( | 143 virtual void ClearNetworkingHistorySince( |
| 143 base::Time time, | 144 base::Time time, |
| 144 const base::Closure& completion) OVERRIDE; | 145 const base::Closure& completion) OVERRIDE; |
| 146 virtual void ClearDomainReliabilityMonitor( |
| 147 domain_reliability::DomainReliabilityClearMode mode, |
| 148 const base::Closure& completion) OVERRIDE; |
| 145 virtual GURL GetHomePage() OVERRIDE; | 149 virtual GURL GetHomePage() OVERRIDE; |
| 146 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 150 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
| 147 virtual void SetExitType(ExitType exit_type) OVERRIDE; | 151 virtual void SetExitType(ExitType exit_type) OVERRIDE; |
| 148 virtual ExitType GetLastSessionExitType() OVERRIDE; | 152 virtual ExitType GetLastSessionExitType() OVERRIDE; |
| 149 | 153 |
| 150 #if defined(OS_CHROMEOS) | 154 #if defined(OS_CHROMEOS) |
| 151 virtual void ChangeAppLocale(const std::string& locale, | 155 virtual void ChangeAppLocale(const std::string& locale, |
| 152 AppLocaleChangedVia) OVERRIDE; | 156 AppLocaleChangedVia) OVERRIDE; |
| 153 virtual void OnLogin() OVERRIDE; | 157 virtual void OnLogin() OVERRIDE; |
| 154 virtual void InitChromeOSPreferences() OVERRIDE; | 158 virtual void InitChromeOSPreferences() OVERRIDE; |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 // components/keyed_service/content/browser_context_keyed_service_factory.* | 291 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 288 | 292 |
| 289 Profile::Delegate* delegate_; | 293 Profile::Delegate* delegate_; |
| 290 | 294 |
| 291 chrome_browser_net::Predictor* predictor_; | 295 chrome_browser_net::Predictor* predictor_; |
| 292 | 296 |
| 293 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 297 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 294 }; | 298 }; |
| 295 | 299 |
| 296 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 300 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |