Index: services/preferences/public/cpp/lib/util.h |
diff --git a/services/preferences/public/cpp/lib/util.h b/services/preferences/public/cpp/lib/util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c7a0ce6f06f234b93b50d26360b08b289e67074c |
--- /dev/null |
+++ b/services/preferences/public/cpp/lib/util.h |
@@ -0,0 +1,26 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef SERVICES_PREFERENCES_PUBLIC_CPP_LIB_UTIL_H_ |
+#define SERVICES_PREFERENCES_PUBLIC_CPP_LIB_UTIL_H_ |
+ |
+#include <memory> |
+#include <vector> |
+ |
+#include "base/strings/string_piece.h" |
+ |
+namespace base { |
+class DictionaryValue; |
+class Value; |
+} |
+ |
+namespace prefs { |
+ |
+void SetValue(base::DictionaryValue* dictionary_value, |
+ const std::vector<base::StringPiece>& path_components, |
+ std::unique_ptr<base::Value> value); |
+ |
+} // namespace prefs |
+ |
+#endif // SERVICES_PREFERENCES_PUBLIC_CPP_LIB_UTIL_H_ |