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

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

Issue 1248533003: Hook up CryptAuthGCMManager to the enrollment and device sync managers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix webui 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 gcm::GCMDriver* GetGCMDriver() override;
231 232
232 ChromeProximityAuthClient* proximity_auth_client() { 233 ChromeProximityAuthClient* proximity_auth_client() {
233 return &proximity_auth_client_; 234 return &proximity_auth_client_;
234 } 235 }
235 236
236 protected: 237 protected:
237 explicit EasyUnlockService(Profile* profile); 238 explicit EasyUnlockService(Profile* profile);
238 ~EasyUnlockService() override; 239 ~EasyUnlockService() override;
239 240
240 // Does a service type specific initialization. 241 // Does a service type specific initialization.
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 bool tpm_key_checked_; 369 bool tpm_key_checked_;
369 370
370 base::ObserverList<EasyUnlockServiceObserver> observers_; 371 base::ObserverList<EasyUnlockServiceObserver> observers_;
371 372
372 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_; 373 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_;
373 374
374 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService); 375 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService);
375 }; 376 };
376 377
377 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ 378 #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