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

Side by Side Diff: chrome/browser/signin/easy_unlock_service.h

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_
6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 // Does a service type specific shutdown. Called from |Shutdown|. 154 // Does a service type specific shutdown. Called from |Shutdown|.
155 virtual void ShutdownInternal() = 0; 155 virtual void ShutdownInternal() = 0;
156 156
157 // Service type specific tests for whether the service is allowed. Returns 157 // Service type specific tests for whether the service is allowed. Returns
158 // false if service is not allowed. If true is returned, the service may still 158 // false if service is not allowed. If true is returned, the service may still
159 // not be allowed if common tests fail (e.g. if Bluetooth is not available). 159 // not be allowed if common tests fail (e.g. if Bluetooth is not available).
160 virtual bool IsAllowedInternal() = 0; 160 virtual bool IsAllowedInternal() = 0;
161 161
162 // KeyedService override: 162 // KeyedService override:
163 virtual void Shutdown() OVERRIDE; 163 virtual void Shutdown() override;
164 164
165 // Exposes the profile to which the service is attached to subclasses. 165 // Exposes the profile to which the service is attached to subclasses.
166 Profile* profile() const { return profile_; } 166 Profile* profile() const { return profile_; }
167 167
168 // Installs the Easy unlock component app if it isn't installed and enables 168 // Installs the Easy unlock component app if it isn't installed and enables
169 // the app if it is disabled. 169 // the app if it is disabled.
170 void LoadApp(); 170 void LoadApp();
171 171
172 // Disables the Easy unlock component app if it's loaded. 172 // Disables the Easy unlock component app if it's loaded.
173 void DisableAppIfLoaded(); 173 void DisableAppIfLoaded();
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 bool shut_down_; 246 bool shut_down_;
247 247
248 ObserverList<EasyUnlockServiceObserver> observers_; 248 ObserverList<EasyUnlockServiceObserver> observers_;
249 249
250 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_; 250 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_;
251 251
252 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService); 252 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService);
253 }; 253 };
254 254
255 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ 255 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_screenlock_state_handler_unittest.cc ('k') | chrome/browser/signin/easy_unlock_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698