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

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

Issue 2412863005: Make some code gender neutral. (Closed)
Patch Set: Created 4 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 <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 // Whether to require the remote device to be in very close proximity 72 // Whether to require the remote device to be in very close proximity
73 // before allowing unlock (~1 feet). 73 // before allowing unlock (~1 feet).
74 bool require_close_proximity; 74 bool require_close_proximity;
75 }; 75 };
76 76
77 // Gets EasyUnlockService instance. 77 // Gets EasyUnlockService instance.
78 static EasyUnlockService* Get(Profile* profile); 78 static EasyUnlockService* Get(Profile* profile);
79 79
80 // Gets EasyUnlockService instance associated with a user if the user is 80 // Gets EasyUnlockService instance associated with a user if the user is
81 // logged in and his profile is initialized. 81 // logged in and their profile is initialized.
82 static EasyUnlockService* GetForUser(const user_manager::User& user); 82 static EasyUnlockService* GetForUser(const user_manager::User& user);
83 83
84 // Registers Easy Unlock profile preferences. 84 // Registers Easy Unlock profile preferences.
85 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 85 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
86 86
87 // Registers Easy Unlock local state entries. 87 // Registers Easy Unlock local state entries.
88 static void RegisterPrefs(PrefRegistrySimple* registry); 88 static void RegisterPrefs(PrefRegistrySimple* registry);
89 89
90 // Removes the hardlock state for the given user. 90 // Removes the hardlock state for the given user.
91 static void ResetLocalStateForUser(const AccountId& account_id); 91 static void ResetLocalStateForUser(const AccountId& account_id);
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 bool tpm_key_checked_; 375 bool tpm_key_checked_;
376 376
377 base::ObserverList<EasyUnlockServiceObserver> observers_; 377 base::ObserverList<EasyUnlockServiceObserver> observers_;
378 378
379 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_; 379 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_;
380 380
381 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService); 381 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService);
382 }; 382 };
383 383
384 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ 384 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/ui/ash/chrome_screenshot_grabber.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698