Upload upstream chromium 108.0.5359.1
[platform/framework/web/chromium-efl.git] / components / login / base_screen_handler_utils.cc
1 // Copyright 2014 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "components/login/base_screen_handler_utils.h"
6
7 #include <string>
8 #include <vector>
9
10 #include "base/values.h"
11
12 namespace login {
13
14 StringList ConvertToStringList(const base::Value::List& list) {
15   StringList result;
16   for (const auto& val : list)
17     result.push_back(val.GetString());
18   return result;
19 }
20
21 }  // namespace login