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

Unified Diff: components/proximity_auth/webui/proximity_auth_webui_handler.h

Issue 2953863002: [CrOS Tether] ProximityAuth WebUI improvement: show the local device's ID. (Closed)
Patch Set: Rebased. Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: components/proximity_auth/webui/proximity_auth_webui_handler.h
diff --git a/components/proximity_auth/webui/proximity_auth_webui_handler.h b/components/proximity_auth/webui/proximity_auth_webui_handler.h
index 73221e1f7455b2de5b4bf468026f363f4d18e975..5fdc5b9e926c93b095faa951334080772c067933 100644
--- a/components/proximity_auth/webui/proximity_auth_webui_handler.h
+++ b/components/proximity_auth/webui/proximity_auth_webui_handler.h
@@ -120,6 +120,9 @@ class ProximityAuthWebUIHandler
// MessengerObserver:
void OnRemoteStatusUpdate(const RemoteStatusUpdate& status_update) override;
+ // Returns the truncated device ID of the local device.
+ std::unique_ptr<base::Value> GetTruncatedLocalDeviceId();
+
// Returns the current enrollment state that can be used as a JSON object.
std::unique_ptr<base::DictionaryValue> GetEnrollmentStateDictionary();
« no previous file with comments | « components/proximity_auth/proximity_auth_client.h ('k') | components/proximity_auth/webui/proximity_auth_webui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698