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

Side by Side Diff: components/proximity_auth/webui/proximity_auth_ui_delegate.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
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_WEBUI_PROXIMITY_AUTH_UI_DELEGATE_H_ 5 #ifndef COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_DELEGATE_H_
6 #define COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_DELEGATE_H_ 6 #define COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_DELEGATE_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "components/proximity_auth/cryptauth/proto/cryptauth_api.pb.h" 9 #include "components/proximity_auth/cryptauth/proto/cryptauth_api.pb.h"
10 10
(...skipping 20 matching lines...) Expand all
31 // Returns the SecureMessageDelegate used by the system. 31 // Returns the SecureMessageDelegate used by the system.
32 virtual scoped_ptr<SecureMessageDelegate> CreateSecureMessageDelegate() = 0; 32 virtual scoped_ptr<SecureMessageDelegate> CreateSecureMessageDelegate() = 0;
33 33
34 // Constructs the CryptAuthClientFactory that can be used for API requests. 34 // Constructs the CryptAuthClientFactory that can be used for API requests.
35 virtual scoped_ptr<CryptAuthClientFactory> CreateCryptAuthClientFactory() = 0; 35 virtual scoped_ptr<CryptAuthClientFactory> CreateCryptAuthClientFactory() = 0;
36 36
37 // Constructs the DeviceClassifier message that is sent to CryptAuth for all 37 // Constructs the DeviceClassifier message that is sent to CryptAuth for all
38 // API requests. 38 // API requests.
39 virtual cryptauth::DeviceClassifier GetDeviceClassifier() = 0; 39 virtual cryptauth::DeviceClassifier GetDeviceClassifier() = 0;
40 40
41 // Returns the account id of the user.
42 virtual std::string GetAccountId() = 0;
43
41 // Returns the GCMDriver instance used by Chrome. 44 // Returns the GCMDriver instance used by Chrome.
42 virtual gcm::GCMDriver* GetGCMDriver() = 0; 45 virtual gcm::GCMDriver* GetGCMDriver() = 0;
43 }; 46 };
44 47
45 } // namespace proximity_auth 48 } // namespace proximity_auth
46 49
47 #endif // COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_DELEGATE_H_ 50 #endif // COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/proximity_auth/webui/BUILD.gn ('k') | components/proximity_auth/webui/proximity_auth_webui_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698