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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 Delegate* delegate, | 167 Delegate* delegate, |
168 CreateMode create_mode, | 168 CreateMode create_mode, |
169 base::SequencedTaskRunner* sequenced_task_runner); | 169 base::SequencedTaskRunner* sequenced_task_runner); |
170 | 170 |
171 // Does final initialization. Should be called after prefs were loaded. | 171 // Does final initialization. Should be called after prefs were loaded. |
172 void DoFinalInit(bool is_new_profile); | 172 void DoFinalInit(bool is_new_profile); |
173 | 173 |
174 void InitHostZoomMap(); | 174 void InitHostZoomMap(); |
175 | 175 |
176 void OnDefaultZoomLevelChanged(); | 176 void OnDefaultZoomLevelChanged(); |
177 void OnZoomLevelChanged(const std::string& host); | 177 void OnZoomLevelChanged( |
| 178 const content::HostZoomMap::ZoomLevelChange& change); |
178 | 179 |
179 void OnInitializationCompleted(PrefService* pref_service, | 180 void OnInitializationCompleted(PrefService* pref_service, |
180 bool succeeded); | 181 bool succeeded); |
181 | 182 |
182 // Does final prefs initialization and calls Init(). | 183 // Does final prefs initialization and calls Init(). |
183 void OnPrefsLoaded(bool success); | 184 void OnPrefsLoaded(bool success); |
184 | 185 |
185 base::FilePath GetPrefFilePath(); | 186 base::FilePath GetPrefFilePath(); |
186 | 187 |
187 #if defined(ENABLE_SESSION_SERVICE) | 188 #if defined(ENABLE_SESSION_SERVICE) |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 285 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
285 | 286 |
286 Profile::Delegate* delegate_; | 287 Profile::Delegate* delegate_; |
287 | 288 |
288 chrome_browser_net::Predictor* predictor_; | 289 chrome_browser_net::Predictor* predictor_; |
289 | 290 |
290 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 291 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
291 }; | 292 }; |
292 | 293 |
293 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 294 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |