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

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

Issue 1794353003: Refactor ProfileInfoCache in c/b/profiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replaced LOG(WARNING) by UMA histograms Created 4 years, 8 months 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
OLDNEW
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 <memory> 10 #include <memory>
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 173
174 // Does final prefs initialization and calls Init(). 174 // Does final prefs initialization and calls Init().
175 void OnLocaleReady(); 175 void OnLocaleReady();
176 176
177 #if defined(ENABLE_SESSION_SERVICE) 177 #if defined(ENABLE_SESSION_SERVICE)
178 void StopCreateSessionServiceTimer(); 178 void StopCreateSessionServiceTimer();
179 179
180 void EnsureSessionServiceCreated(); 180 void EnsureSessionServiceCreated();
181 #endif 181 #endif
182 182
183 // Updates the ProfileInfoCache with data from this profile. 183 // Updates the ProfileAttributesStorage with the data from this profile.
184 void UpdateProfileSupervisedUserIdCache(); 184 void UpdateSupervisedUserIdInStorage();
185 void UpdateProfileNameCache(); 185 void UpdateNameInStorage();
186 void UpdateProfileAvatarCache(); 186 void UpdateAvatarInStorage();
187 void UpdateProfileIsEphemeralCache(); 187 void UpdateIsEphemeralInStorage();
188 188
189 void GetCacheParameters(bool is_media_context, 189 void GetCacheParameters(bool is_media_context,
190 base::FilePath* cache_path, 190 base::FilePath* cache_path,
191 int* max_size); 191 int* max_size);
192 192
193 PrefProxyConfigTracker* CreateProxyConfigTracker(); 193 PrefProxyConfigTracker* CreateProxyConfigTracker();
194 194
195 std::unique_ptr<domain_reliability::DomainReliabilityMonitor> 195 std::unique_ptr<domain_reliability::DomainReliabilityMonitor>
196 CreateDomainReliabilityMonitor(PrefService* local_state); 196 CreateDomainReliabilityMonitor(PrefService* local_state);
197 197
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // components/keyed_service/content/browser_context_keyed_service_factory.* 271 // components/keyed_service/content/browser_context_keyed_service_factory.*
272 272
273 Profile::Delegate* delegate_; 273 Profile::Delegate* delegate_;
274 274
275 chrome_browser_net::Predictor* predictor_; 275 chrome_browser_net::Predictor* predictor_;
276 276
277 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 277 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
278 }; 278 };
279 279
280 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 280 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698