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

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

Issue 8102019: redesign and reimplement proxy config service and tracker, revise proxy ui on cros (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | Annotate | Revision Log
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; 131 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE;
132 132
133 #if defined(OS_CHROMEOS) 133 #if defined(OS_CHROMEOS)
134 virtual void ChangeAppLocale(const std::string& locale, 134 virtual void ChangeAppLocale(const std::string& locale,
135 AppLocaleChangedVia) OVERRIDE; 135 AppLocaleChangedVia) OVERRIDE;
136 virtual void OnLogin() OVERRIDE; 136 virtual void OnLogin() OVERRIDE;
137 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; 137 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE;
138 virtual void InitChromeOSPreferences() OVERRIDE; 138 virtual void InitChromeOSPreferences() OVERRIDE;
139 #endif // defined(OS_CHROMEOS) 139 #endif // defined(OS_CHROMEOS)
140 140
141 #if defined(OS_CHROMEOS)
142 virtual chromeos::ProxyConfigServiceImpl* GetProxyConfigTracker() OVERRIDE;
143 #else
141 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 144 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
145 #endif // defined(OS_CHROMEOS)
142 146
143 // NotificationObserver implementation. 147 // NotificationObserver implementation.
144 virtual void Observe(int type, 148 virtual void Observe(int type,
145 const NotificationSource& source, 149 const NotificationSource& source,
146 const NotificationDetails& details) OVERRIDE; 150 const NotificationDetails& details) OVERRIDE;
147 151
148 private: 152 private:
149 friend class Profile; 153 friend class Profile;
150 154
151 ProfileImpl(const FilePath& path, 155 ProfileImpl(const FilePath& path,
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 280
277 #if defined(OS_CHROMEOS) 281 #if defined(OS_CHROMEOS)
278 scoped_ptr<chromeos::Preferences> chromeos_preferences_; 282 scoped_ptr<chromeos::Preferences> chromeos_preferences_;
279 283
280 scoped_ptr<chromeos::EnterpriseExtensionObserver> 284 scoped_ptr<chromeos::EnterpriseExtensionObserver>
281 chromeos_enterprise_extension_observer_; 285 chromeos_enterprise_extension_observer_;
282 286
283 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_; 287 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_;
284 #endif 288 #endif
285 289
286 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 290 #if defined(OS_CHROMEOS)
291 scoped_ptr<chromeos::ProxyConfigServiceImpl> pref_proxy_config_tracker_;
292 #else
293 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
294 #endif // defined(OS_CHROMEOS)
287 295
288 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 296 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
289 297
290 Profile::Delegate* delegate_; 298 Profile::Delegate* delegate_;
291 299
292 chrome_browser_net::Predictor* predictor_; 300 chrome_browser_net::Predictor* predictor_;
293 301
294 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 302 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
295 }; 303 };
296 304
297 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 305 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698