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> |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 const base::FilePath& partition_path, | 133 const base::FilePath& partition_path, |
134 bool in_memory, | 134 bool in_memory, |
135 content::ProtocolHandlerMap* protocol_handlers, | 135 content::ProtocolHandlerMap* protocol_handlers, |
136 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; | 136 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; |
137 virtual base::FilePath last_selected_directory() OVERRIDE; | 137 virtual base::FilePath last_selected_directory() OVERRIDE; |
138 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; | 138 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; |
139 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 139 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |
140 virtual void ClearNetworkingHistorySince( | 140 virtual void ClearNetworkingHistorySince( |
141 base::Time time, | 141 base::Time time, |
142 const base::Closure& completion) OVERRIDE; | 142 const base::Closure& completion) OVERRIDE; |
| 143 virtual void ClearDomainReliabilityMonitor( |
| 144 bool clear_contexts, |
| 145 const base::Closure& completion) OVERRIDE; |
143 virtual GURL GetHomePage() OVERRIDE; | 146 virtual GURL GetHomePage() OVERRIDE; |
144 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 147 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
145 virtual void SetExitType(ExitType exit_type) OVERRIDE; | 148 virtual void SetExitType(ExitType exit_type) OVERRIDE; |
146 virtual ExitType GetLastSessionExitType() OVERRIDE; | 149 virtual ExitType GetLastSessionExitType() OVERRIDE; |
147 | 150 |
148 #if defined(OS_CHROMEOS) | 151 #if defined(OS_CHROMEOS) |
149 virtual void ChangeAppLocale(const std::string& locale, | 152 virtual void ChangeAppLocale(const std::string& locale, |
150 AppLocaleChangedVia) OVERRIDE; | 153 AppLocaleChangedVia) OVERRIDE; |
151 virtual void OnLogin() OVERRIDE; | 154 virtual void OnLogin() OVERRIDE; |
152 virtual void InitChromeOSPreferences() OVERRIDE; | 155 virtual void InitChromeOSPreferences() OVERRIDE; |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 // components/keyed_service/content/browser_context_keyed_service_factory.* | 288 // components/keyed_service/content/browser_context_keyed_service_factory.* |
286 | 289 |
287 Profile::Delegate* delegate_; | 290 Profile::Delegate* delegate_; |
288 | 291 |
289 chrome_browser_net::Predictor* predictor_; | 292 chrome_browser_net::Predictor* predictor_; |
290 | 293 |
291 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 294 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
292 }; | 295 }; |
293 | 296 |
294 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 297 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |