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

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

Issue 1264703003: Implement debugging local unlock keys in chrome://proximity-auth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + fixes Created 5 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/signin/easy_unlock_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 void AddObserver(EasyUnlockServiceObserver* observer); 221 void AddObserver(EasyUnlockServiceObserver* observer);
222 void RemoveObserver(EasyUnlockServiceObserver* observer); 222 void RemoveObserver(EasyUnlockServiceObserver* observer);
223 223
224 // ProximityAuthUIDelegate: 224 // ProximityAuthUIDelegate:
225 PrefService* GetPrefService() override; 225 PrefService* GetPrefService() override;
226 scoped_ptr<proximity_auth::SecureMessageDelegate> 226 scoped_ptr<proximity_auth::SecureMessageDelegate>
227 CreateSecureMessageDelegate() override; 227 CreateSecureMessageDelegate() override;
228 scoped_ptr<proximity_auth::CryptAuthClientFactory> 228 scoped_ptr<proximity_auth::CryptAuthClientFactory>
229 CreateCryptAuthClientFactory() override; 229 CreateCryptAuthClientFactory() override;
230 cryptauth::DeviceClassifier GetDeviceClassifier() override; 230 cryptauth::DeviceClassifier GetDeviceClassifier() override;
231 std::string GetAccountId() override;
231 gcm::GCMDriver* GetGCMDriver() override; 232 gcm::GCMDriver* GetGCMDriver() override;
232 233
233 ChromeProximityAuthClient* proximity_auth_client() { 234 ChromeProximityAuthClient* proximity_auth_client() {
234 return &proximity_auth_client_; 235 return &proximity_auth_client_;
235 } 236 }
236 237
237 protected: 238 protected:
238 explicit EasyUnlockService(Profile* profile); 239 explicit EasyUnlockService(Profile* profile);
239 ~EasyUnlockService() override; 240 ~EasyUnlockService() override;
240 241
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 bool tpm_key_checked_; 370 bool tpm_key_checked_;
370 371
371 base::ObserverList<EasyUnlockServiceObserver> observers_; 372 base::ObserverList<EasyUnlockServiceObserver> observers_;
372 373
373 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_; 374 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_;
374 375
375 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService); 376 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService);
376 }; 377 };
377 378
378 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ 379 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/signin/easy_unlock_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698