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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 Delegate* delegate, | 150 Delegate* delegate, |
151 CreateMode create_mode, | 151 CreateMode create_mode, |
152 base::SequencedTaskRunner* sequenced_task_runner); | 152 base::SequencedTaskRunner* sequenced_task_runner); |
153 | 153 |
154 // Does final initialization. Should be called after prefs were loaded. | 154 // Does final initialization. Should be called after prefs were loaded. |
155 void DoFinalInit(bool is_new_profile); | 155 void DoFinalInit(bool is_new_profile); |
156 | 156 |
157 void InitHostZoomMap(); | 157 void InitHostZoomMap(); |
158 | 158 |
159 void OnDefaultZoomLevelChanged(); | 159 void OnDefaultZoomLevelChanged(); |
160 void OnZoomLevelChanged(const std::string& host); | 160 void OnZoomLevelChanged( |
| 161 const content::HostZoomMap::ZoomLevelChange& change); |
161 | 162 |
162 void OnInitializationCompleted(PrefService* pref_service, | 163 void OnInitializationCompleted(PrefService* pref_service, |
163 bool succeeded); | 164 bool succeeded); |
164 | 165 |
165 // Does final prefs initialization and calls Init(). | 166 // Does final prefs initialization and calls Init(). |
166 void OnPrefsLoaded(bool success); | 167 void OnPrefsLoaded(bool success); |
167 | 168 |
168 base::FilePath GetPrefFilePath(); | 169 base::FilePath GetPrefFilePath(); |
169 | 170 |
170 #if defined(ENABLE_SESSION_SERVICE) | 171 #if defined(ENABLE_SESSION_SERVICE) |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 268 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
268 | 269 |
269 Profile::Delegate* delegate_; | 270 Profile::Delegate* delegate_; |
270 | 271 |
271 chrome_browser_net::Predictor* predictor_; | 272 chrome_browser_net::Predictor* predictor_; |
272 | 273 |
273 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 274 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
274 }; | 275 }; |
275 | 276 |
276 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 277 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |