| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 const base::FilePath& partition_path, | 138 const base::FilePath& partition_path, |
| 138 bool in_memory, | 139 bool in_memory, |
| 139 content::ProtocolHandlerMap* protocol_handlers, | 140 content::ProtocolHandlerMap* protocol_handlers, |
| 140 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; | 141 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; |
| 141 virtual base::FilePath last_selected_directory() OVERRIDE; | 142 virtual base::FilePath last_selected_directory() OVERRIDE; |
| 142 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; | 143 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; |
| 143 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 144 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |
| 144 virtual void ClearNetworkingHistorySince( | 145 virtual void ClearNetworkingHistorySince( |
| 145 base::Time time, | 146 base::Time time, |
| 146 const base::Closure& completion) OVERRIDE; | 147 const base::Closure& completion) OVERRIDE; |
| 148 virtual void ClearDomainReliabilityMonitor( |
| 149 domain_reliability::DomainReliabilityClearMode mode, |
| 150 const base::Closure& completion) OVERRIDE; |
| 147 virtual GURL GetHomePage() OVERRIDE; | 151 virtual GURL GetHomePage() OVERRIDE; |
| 148 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 152 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
| 149 virtual void SetExitType(ExitType exit_type) OVERRIDE; | 153 virtual void SetExitType(ExitType exit_type) OVERRIDE; |
| 150 virtual ExitType GetLastSessionExitType() OVERRIDE; | 154 virtual ExitType GetLastSessionExitType() OVERRIDE; |
| 151 | 155 |
| 152 #if defined(OS_CHROMEOS) | 156 #if defined(OS_CHROMEOS) |
| 153 virtual void ChangeAppLocale(const std::string& locale, | 157 virtual void ChangeAppLocale(const std::string& locale, |
| 154 AppLocaleChangedVia) OVERRIDE; | 158 AppLocaleChangedVia) OVERRIDE; |
| 155 virtual void OnLogin() OVERRIDE; | 159 virtual void OnLogin() OVERRIDE; |
| 156 virtual void InitChromeOSPreferences() OVERRIDE; | 160 virtual void InitChromeOSPreferences() OVERRIDE; |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 // components/keyed_service/content/browser_context_keyed_service_factory.* | 297 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 294 | 298 |
| 295 Profile::Delegate* delegate_; | 299 Profile::Delegate* delegate_; |
| 296 | 300 |
| 297 chrome_browser_net::Predictor* predictor_; | 301 chrome_browser_net::Predictor* predictor_; |
| 298 | 302 |
| 299 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 303 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 300 }; | 304 }; |
| 301 | 305 |
| 302 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 306 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |