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

Unified Diff: components/cryptauth/raw_eid_generator.h

Issue 2847233003: [EasyUnlock] Move DataWithTimestamp out of ForegroundEidGenerator so it can be shared. (Closed)
Patch Set: Created 3 years, 8 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/cryptauth/raw_eid_generator.h
diff --git a/components/cryptauth/raw_eid_generator.h b/components/cryptauth/raw_eid_generator.h
index cab18b6a4d74007921e213c026a62d287db8cc9a..10e94f6cfcaeabfa0b8430cd96919699ea15dddf 100644
--- a/components/cryptauth/raw_eid_generator.h
+++ b/components/cryptauth/raw_eid_generator.h
@@ -6,6 +6,9 @@
#define COMPONENTS_CRYPTAUTH_BLE_RAW_EID_GENERATOR_H_
#include <string>
+#include <vector>
+
+#include "components/cryptauth/eid_data_with_timestamp.h"
namespace cryptauth {
@@ -18,6 +21,9 @@ class RawEidGenerator {
// The size of an EID in bytes.
static const int32_t kNumBytesInEidValue;
+ // Converts a eid to a user-readable debug string.
+ static std::string EidToDebugString(const std::string& eid);
Kyle Horimoto 2017/04/28 22:19:16 I think you forgot to upload the .cc file (or you
Tim Song 2017/04/29 01:07:50 Sorry, I didn't mean for this file to be in the CL
+
// Generates the EID at |start_of_period_timestamp_ms| using the given
// |eid_seed|. If |extra_entropy| is not null, then it will be used in the EID
// calculation.

Powered by Google App Engine
This is Rietveld 408576698