blob: e16377aff414ce39bd6912e3aebb794c59471f55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
diff --git a/chrome/test/chromedriver/webauthn_commands.cc b/chrome/test/chromedriver/webauthn_commands.cc
index b0d4d62..6369d74 100644
--- a/chrome/test/chromedriver/webauthn_commands.cc
+++ b/chrome/test/chromedriver/webauthn_commands.cc
@@ -36,8 +36,8 @@ base::DictionaryValue MapParams(
// Converts the string |keys| in |params| from base64url to base64. Returns a
// status error if conversion of one of the keys failed.
Status ConvertBase64UrlToBase64(base::Value* params,
- const std::vector<const std::string> keys) {
- for (const std::string key : keys) {
+ const std::vector<std::string> keys) {
+ for (std::string key : keys) {
base::Value* maybe_value = params->FindKey(key);
if (!maybe_value)
continue;
@@ -60,8 +60,8 @@ Status ConvertBase64UrlToBase64(base::Value* params,
// Converts the string |keys| in |params| from base64 to base64url.
void ConvertBase64ToBase64Url(base::Value* params,
- const std::vector<const std::string> keys) {
- for (const std::string key : keys) {
+ const std::vector<std::string> keys) {
+ for (std::string key : keys) {
std::string* maybe_value = params->FindStringKey(key);
if (!maybe_value)
continue;
|