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

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

Issue 8771024: Making profile avatars and names sync. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Fixing nits, lint errors and adding comments. Created 9 years 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 | « no previous file | 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 void EnsureSessionServiceCreated(); 183 void EnsureSessionServiceCreated();
184 184
185 ExtensionPrefValueMap* GetExtensionPrefValueMap(); 185 ExtensionPrefValueMap* GetExtensionPrefValueMap();
186 186
187 void CreateQuotaManagerAndClients(); 187 void CreateQuotaManagerAndClients();
188 188
189 SpellCheckProfile* GetSpellCheckProfile(); 189 SpellCheckProfile* GetSpellCheckProfile();
190 190
191 void UpdateProfileUserNameCache(); 191 void UpdateProfileUserNameCache();
192 192
193
194 // Updates the ProfileInfoCache with data from this profile.
195 void UpdateProfileNameCache();
196 void UpdateProfileAvatarCache();
197
193 void GetCacheParameters(bool is_media_context, 198 void GetCacheParameters(bool is_media_context,
194 FilePath* cache_path, 199 FilePath* cache_path,
195 int* max_size); 200 int* max_size);
196 201
197 content::NotificationRegistrar registrar_; 202 content::NotificationRegistrar registrar_;
198 PrefChangeRegistrar pref_change_registrar_; 203 PrefChangeRegistrar pref_change_registrar_;
199 204
200 FilePath path_; 205 FilePath path_;
201 FilePath base_cache_path_; 206 FilePath base_cache_path_;
202 207
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 319 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
315 320
316 Profile::Delegate* delegate_; 321 Profile::Delegate* delegate_;
317 322
318 chrome_browser_net::Predictor* predictor_; 323 chrome_browser_net::Predictor* predictor_;
319 324
320 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 325 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
321 }; 326 };
322 327
323 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 328 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698