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

Side by Side Diff: components/payments/content/utility/fingerprint_parser.h

Issue 2759283002: Make payment manifest download/parse cross-platform (Closed)
Patch Set: Address comments Created 3 years, 9 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_PAYMENTS_CONTENT_ANDROID_UTILITY_FINGERPRINT_PARSER_H_ 5 #ifndef COMPONENTS_PAYMENTS_CONTENT_UTILITY_FINGERPRINT_PARSER_H_
6 #define COMPONENTS_PAYMENTS_CONTENT_ANDROID_UTILITY_FINGERPRINT_PARSER_H_ 6 #define COMPONENTS_PAYMENTS_CONTENT_UTILITY_FINGERPRINT_PARSER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 namespace payments { 13 namespace payments {
14 14
15 // Converts a string representation of a 32-byte array (e.g., "01:02:03:04") 15 // Converts a string representation of a 32-byte array (e.g., "01:02:03:04")
16 // into a list of the corresponding bytes. Returns an empty list on error. 16 // into a list of the corresponding bytes. Returns an empty list on error.
17 std::vector<uint8_t> FingerprintStringToByteArray(const std::string& input); 17 std::vector<uint8_t> FingerprintStringToByteArray(const std::string& input);
18 18
19 } // namespace payments 19 } // namespace payments
20 20
21 #endif // COMPONENTS_PAYMENTS_CONTENT_ANDROID_UTILITY_FINGERPRINT_PARSER_H_ 21 #endif // COMPONENTS_PAYMENTS_CONTENT_UTILITY_FINGERPRINT_PARSER_H_
OLDNEW
« no previous file with comments | « components/payments/content/utility/DEPS ('k') | components/payments/content/utility/fingerprint_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698