Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: chrome/browser/profiles/profile_impl.h

Issue 8511064: GAIA Profile info prototype (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/profiles/avatar_menu_model.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 9 #pragma once
10 10
(...skipping 17 matching lines...) Expand all
28 class SpellCheckProfile; 28 class SpellCheckProfile;
29 29
30 #if defined(OS_CHROMEOS) 30 #if defined(OS_CHROMEOS)
31 namespace chromeos { 31 namespace chromeos {
32 class EnterpriseExtensionObserver; 32 class EnterpriseExtensionObserver;
33 class LocaleChangeGuard; 33 class LocaleChangeGuard;
34 class Preferences; 34 class Preferences;
35 } 35 }
36 #endif 36 #endif
37 37
38 class GAIAInfoUpdater;
39
38 // The default profile implementation. 40 // The default profile implementation.
39 class ProfileImpl : public Profile, 41 class ProfileImpl : public Profile,
40 public content::NotificationObserver { 42 public content::NotificationObserver {
41 public: 43 public:
42 virtual ~ProfileImpl(); 44 virtual ~ProfileImpl();
43 45
44 static void RegisterUserPrefs(PrefService* prefs); 46 static void RegisterUserPrefs(PrefService* prefs);
45 47
46 // content::BrowserContext implementation: 48 // content::BrowserContext implementation:
47 virtual FilePath GetPath() OVERRIDE; 49 virtual FilePath GetPath() OVERRIDE;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 virtual void InitChromeOSPreferences() OVERRIDE; 141 virtual void InitChromeOSPreferences() OVERRIDE;
140 #endif // defined(OS_CHROMEOS) 142 #endif // defined(OS_CHROMEOS)
141 143
142 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 144 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
143 145
144 // content::NotificationObserver implementation. 146 // content::NotificationObserver implementation.
145 virtual void Observe(int type, 147 virtual void Observe(int type,
146 const content::NotificationSource& source, 148 const content::NotificationSource& source,
147 const content::NotificationDetails& details) OVERRIDE; 149 const content::NotificationDetails& details) OVERRIDE;
148 150
151 void UpdateGAIAProfileInfo();
152
149 private: 153 private:
150 friend class Profile; 154 friend class Profile;
151 155
152 ProfileImpl(const FilePath& path, 156 ProfileImpl(const FilePath& path,
153 Profile::Delegate* delegate); 157 Profile::Delegate* delegate);
154 158
155 // Does final initialization. Should be called after prefs were loaded. 159 // Does final initialization. Should be called after prefs were loaded.
156 void DoFinalInit(); 160 void DoFinalInit();
157 161
158 // Does final prefs initialization and calls Init(). 162 // Does final prefs initialization and calls Init().
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 #endif 287 #endif
284 288
285 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 289 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
286 290
287 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 291 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
288 292
289 Profile::Delegate* delegate_; 293 Profile::Delegate* delegate_;
290 294
291 chrome_browser_net::Predictor* predictor_; 295 chrome_browser_net::Predictor* predictor_;
292 296
297 scoped_ptr<GAIAInfoUpdater> gaia_info_updated_;
298
293 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 299 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
294 }; 300 };
295 301
296 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 302 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/avatar_menu_model.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698