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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
123 #if defined(OS_CHROMEOS) | 123 #if defined(OS_CHROMEOS) |
124 virtual void ChangeAppLocale(const std::string& locale, | 124 virtual void ChangeAppLocale(const std::string& locale, |
125 AppLocaleChangedVia) OVERRIDE; | 125 AppLocaleChangedVia) OVERRIDE; |
126 virtual void OnLogin() OVERRIDE; | 126 virtual void OnLogin() OVERRIDE; |
127 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; | 127 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; |
128 virtual void InitChromeOSPreferences() OVERRIDE; | 128 virtual void InitChromeOSPreferences() OVERRIDE; |
129 #endif // defined(OS_CHROMEOS) | 129 #endif // defined(OS_CHROMEOS) |
130 | 130 |
131 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; | 131 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; |
132 | 132 |
133 void OnZoomLevelChanged(const std::string& host); | |
jam
2013/01/30 17:50:44
nit: private if you can. also in other files
| |
134 | |
133 // content::NotificationObserver implementation. | 135 // content::NotificationObserver implementation. |
134 virtual void Observe(int type, | 136 virtual void Observe(int type, |
135 const content::NotificationSource& source, | 137 const content::NotificationSource& source, |
136 const content::NotificationDetails& details) OVERRIDE; | 138 const content::NotificationDetails& details) OVERRIDE; |
137 | 139 |
138 private: | 140 private: |
139 friend class Profile; | 141 friend class Profile; |
140 friend class BetterSessionRestoreCrashTest; | 142 friend class BetterSessionRestoreCrashTest; |
141 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, | 143 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, |
142 ProfilesLaunchedAfterCrash); | 144 ProfilesLaunchedAfterCrash); |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
270 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 272 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
271 | 273 |
272 Profile::Delegate* delegate_; | 274 Profile::Delegate* delegate_; |
273 | 275 |
274 chrome_browser_net::Predictor* predictor_; | 276 chrome_browser_net::Predictor* predictor_; |
275 | 277 |
276 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 278 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
277 }; | 279 }; |
278 | 280 |
279 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 281 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |