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

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

Issue 406483004: Initial implementation of API WakeLock. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 <string> 10 #include <string>
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual ExitType GetLastSessionExitType() OVERRIDE; 132 virtual ExitType GetLastSessionExitType() OVERRIDE;
133 133
134 #if defined(OS_CHROMEOS) 134 #if defined(OS_CHROMEOS)
135 virtual void ChangeAppLocale(const std::string& locale, 135 virtual void ChangeAppLocale(const std::string& locale,
136 AppLocaleChangedVia) OVERRIDE; 136 AppLocaleChangedVia) OVERRIDE;
137 virtual void OnLogin() OVERRIDE; 137 virtual void OnLogin() OVERRIDE;
138 virtual void InitChromeOSPreferences() OVERRIDE; 138 virtual void InitChromeOSPreferences() OVERRIDE;
139 #endif // defined(OS_CHROMEOS) 139 #endif // defined(OS_CHROMEOS)
140 140
141 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 141 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
142 virtual content::WakeLockPermissionContext*
143 GetWakeLockPermissionContext() OVERRIDE;
142 144
143 private: 145 private:
144 #if defined(OS_CHROMEOS) 146 #if defined(OS_CHROMEOS)
145 friend class chromeos::KioskTest; 147 friend class chromeos::KioskTest;
146 friend class chromeos::ManagedUserTestBase; 148 friend class chromeos::ManagedUserTestBase;
147 #endif 149 #endif
148 friend class Profile; 150 friend class Profile;
149 friend class BetterSessionRestoreCrashTest; 151 friend class BetterSessionRestoreCrashTest;
150 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, 152 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest,
151 ProfilesLaunchedAfterCrash); 153 ProfilesLaunchedAfterCrash);
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 // components/keyed_service/content/browser_context_keyed_service_factory.* 284 // components/keyed_service/content/browser_context_keyed_service_factory.*
283 285
284 Profile::Delegate* delegate_; 286 Profile::Delegate* delegate_;
285 287
286 chrome_browser_net::Predictor* predictor_; 288 chrome_browser_net::Predictor* predictor_;
287 289
288 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 290 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
289 }; 291 };
290 292
291 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 293 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698