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

Side by Side Diff: components/proximity_auth/unlock_manager.h

Issue 1494153002: This CL replaces e-mail with AccountId in easy signin code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 5 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_PROXIMITY_AUTH_UNLOCK_MANAGER_H 5 #ifndef COMPONENTS_PROXIMITY_AUTH_UNLOCK_MANAGER_H
6 #define COMPONENTS_PROXIMITY_AUTH_UNLOCK_MANAGER_H 6 #define COMPONENTS_PROXIMITY_AUTH_UNLOCK_MANAGER_H
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 void OnRemoteStatusUpdate(const RemoteStatusUpdate& status_update) override; 77 void OnRemoteStatusUpdate(const RemoteStatusUpdate& status_update) override;
78 void OnDecryptResponse(const std::string& decrypted_bytes) override; 78 void OnDecryptResponse(const std::string& decrypted_bytes) override;
79 void OnUnlockResponse(bool success) override; 79 void OnUnlockResponse(bool success) override;
80 void OnDisconnected() override; 80 void OnDisconnected() override;
81 81
82 // ScreenlockBridge::Observer 82 // ScreenlockBridge::Observer
83 void OnScreenDidLock( 83 void OnScreenDidLock(
84 ScreenlockBridge::LockHandler::ScreenType screen_type) override; 84 ScreenlockBridge::LockHandler::ScreenType screen_type) override;
85 void OnScreenDidUnlock( 85 void OnScreenDidUnlock(
86 ScreenlockBridge::LockHandler::ScreenType screen_type) override; 86 ScreenlockBridge::LockHandler::ScreenType screen_type) override;
87 void OnFocusedUserChanged(const std::string& user_id) override; 87 void OnFocusedUserChanged(const AccountId& account_id) override;
88 88
89 // Called when the screenlock state changes. 89 // Called when the screenlock state changes.
90 void OnScreenLockedOrUnlocked(bool is_locked); 90 void OnScreenLockedOrUnlocked(bool is_locked);
91 91
92 // Called when the Bluetooth adapter is initialized. 92 // Called when the Bluetooth adapter is initialized.
93 void OnBluetoothAdapterInitialized( 93 void OnBluetoothAdapterInitialized(
94 scoped_refptr<device::BluetoothAdapter> adapter); 94 scoped_refptr<device::BluetoothAdapter> adapter);
95 95
96 // device::BluetoothAdapter::Observer: 96 // device::BluetoothAdapter::Observer:
97 void AdapterPresentChanged(device::BluetoothAdapter* adapter, 97 void AdapterPresentChanged(device::BluetoothAdapter* adapter,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 // Used to vend all other weak pointers. 189 // Used to vend all other weak pointers.
190 base::WeakPtrFactory<UnlockManager> weak_ptr_factory_; 190 base::WeakPtrFactory<UnlockManager> weak_ptr_factory_;
191 191
192 DISALLOW_COPY_AND_ASSIGN(UnlockManager); 192 DISALLOW_COPY_AND_ASSIGN(UnlockManager);
193 }; 193 };
194 194
195 } // namespace proximity_auth 195 } // namespace proximity_auth
196 196
197 #endif // COMPONENTS_PROXIMITY_AUTH_UNLOCK_MANAGER_H 197 #endif // COMPONENTS_PROXIMITY_AUTH_UNLOCK_MANAGER_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698