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

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

Issue 815983002: Topsites become keyedService based. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 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
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 <string> 10 #include <string>
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 std::string GetProfileName() override; 102 std::string GetProfileName() override;
103 ProfileType GetProfileType() const override; 103 ProfileType GetProfileType() const override;
104 bool IsOffTheRecord() const override; 104 bool IsOffTheRecord() const override;
105 Profile* GetOffTheRecordProfile() override; 105 Profile* GetOffTheRecordProfile() override;
106 void DestroyOffTheRecordProfile() override; 106 void DestroyOffTheRecordProfile() override;
107 bool HasOffTheRecordProfile() override; 107 bool HasOffTheRecordProfile() override;
108 Profile* GetOriginalProfile() override; 108 Profile* GetOriginalProfile() override;
109 bool IsSupervised() override; 109 bool IsSupervised() override;
110 bool IsChild() override; 110 bool IsChild() override;
111 bool IsLegacySupervised() override; 111 bool IsLegacySupervised() override;
112 history::TopSites* GetTopSites() override;
113 history::TopSites* GetTopSitesWithoutCreating() override;
114 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; 112 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override;
115 PrefService* GetPrefs() override; 113 PrefService* GetPrefs() override;
116 chrome::ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; 114 chrome::ChromeZoomLevelPrefs* GetZoomLevelPrefs() override;
117 PrefService* GetOffTheRecordPrefs() override; 115 PrefService* GetOffTheRecordPrefs() override;
118 net::URLRequestContextGetter* GetRequestContextForExtensions() override; 116 net::URLRequestContextGetter* GetRequestContextForExtensions() override;
119 net::SSLConfigService* GetSSLConfigService() override; 117 net::SSLConfigService* GetSSLConfigService() override;
120 HostContentSettingsMap* GetHostContentSettingsMap() override; 118 HostContentSettingsMap* GetHostContentSettingsMap() override;
121 bool IsSameProfile(Profile* profile) override; 119 bool IsSameProfile(Profile* profile) override;
122 base::Time GetStartTime() const override; 120 base::Time GetStartTime() const override;
123 net::URLRequestContextGetter* CreateRequestContext( 121 net::URLRequestContextGetter* CreateRequestContext(
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 247
250 #if defined(ENABLE_SESSION_SERVICE) 248 #if defined(ENABLE_SESSION_SERVICE)
251 base::OneShotTimer<ProfileImpl> create_session_service_timer_; 249 base::OneShotTimer<ProfileImpl> create_session_service_timer_;
252 #endif 250 #endif
253 251
254 scoped_ptr<Profile> off_the_record_profile_; 252 scoped_ptr<Profile> off_the_record_profile_;
255 253
256 // See GetStartTime for details. 254 // See GetStartTime for details.
257 base::Time start_time_; 255 base::Time start_time_;
258 256
259 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. 257 // scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails.
sdefresne 2014/12/19 15:11:42 Dead code, remove.
Jitu( very slow this week) 2014/12/26 14:04:28 Done.
260 258
261 #if defined(OS_CHROMEOS) 259 #if defined(OS_CHROMEOS)
262 scoped_ptr<chromeos::Preferences> chromeos_preferences_; 260 scoped_ptr<chromeos::Preferences> chromeos_preferences_;
263 261
264 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_; 262 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_;
265 263
266 bool is_login_profile_; 264 bool is_login_profile_;
267 #endif 265 #endif
268 266
269 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 267 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
(...skipping 13 matching lines...) Expand all
283 // components/keyed_service/content/browser_context_keyed_service_factory.* 281 // components/keyed_service/content/browser_context_keyed_service_factory.*
284 282
285 Profile::Delegate* delegate_; 283 Profile::Delegate* delegate_;
286 284
287 chrome_browser_net::Predictor* predictor_; 285 chrome_browser_net::Predictor* predictor_;
288 286
289 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 287 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
290 }; 288 };
291 289
292 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 290 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698