Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef SERVICES_PREFERENCES_PUBLIC_CPP_LIB_UTIL_H_ | |
| 6 #define SERVICES_PREFERENCES_PUBLIC_CPP_LIB_UTIL_H_ | |
| 7 | |
| 8 #include <memory> | |
| 9 #include <vector> | |
| 10 | |
| 11 #include "base/strings/string_piece.h" | |
| 12 | |
| 13 namespace base { | |
| 14 class DictionaryValue; | |
| 15 class Value; | |
| 16 } | |
| 17 | |
| 18 namespace prefs { | |
| 19 | |
| 20 void SetValue(base::DictionaryValue* dictionary_value, | |
|
tibell
2017/04/12 07:13:52
// Sets a nested value inside the dictionary, spec
| |
| 21 const std::vector<base::StringPiece>& path_components, | |
| 22 std::unique_ptr<base::Value> value); | |
| 23 | |
| 24 } // namespace prefs | |
| 25 | |
| 26 #endif // SERVICES_PREFERENCES_PUBLIC_CPP_LIB_UTIL_H_ | |
| OLD | NEW |