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

Unified Diff: components/cryptauth/remote_device.h

Issue 2590713002: [CrOS Tether] Add a static TruncateDeviceIdForLogs() function. (Closed)
Patch Set: Fix style and variable name. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/cryptauth/remote_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cryptauth/remote_device.h
diff --git a/components/cryptauth/remote_device.h b/components/cryptauth/remote_device.h
index 5539055bfbde4255790c2e0d4ab44c7c5d7bc9f8..79411ac83a73c2f6c7a795026bd77be812108547 100644
--- a/components/cryptauth/remote_device.h
+++ b/components/cryptauth/remote_device.h
@@ -42,6 +42,9 @@ struct RemoteDevice {
std::string GetTruncatedDeviceIdForLogs() const;
bool operator==(const RemoteDevice& other) const;
+
+ // Static method for truncated device ID for logs.
+ static std::string TruncateDeviceIdForLogs(const std::string& full_id);
};
typedef std::vector<RemoteDevice> RemoteDeviceList;
« no previous file with comments | « no previous file | components/cryptauth/remote_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698