Index: services/catalog/public/cpp/manifest_parsing_util.h |
diff --git a/services/catalog/public/cpp/manifest_parsing_util.h b/services/catalog/public/cpp/manifest_parsing_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dc5c85be9da01a10a1e547a6376841b178d165e5 |
--- /dev/null |
+++ b/services/catalog/public/cpp/manifest_parsing_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_CATALOG_PUBLIC_CPP_MANIFEST_PARSING_UTIL_H_ |
+#define SERVICES_CATALOG_PUBLIC_CPP_MANIFEST_PARSING_UTIL_H_ |
+ |
+#include <map> |
+#include <string> |
+ |
+namespace base { |
+class Value; |
+} |
+ |
+// TODO(jcivelli): http://crbug.com/687250 Remove this file and inline |
+// PopulateRequiredFiles() in Entry::Deserialize. |
+namespace catalog { |
+ |
+using RequiredFileMap = std::map<std::string, std::string>; |
+ |
+bool PopulateRequiredFiles(const base::Value& manifest, |
+ RequiredFileMap* required_files); |
+ |
+} // namespace content |
+ |
+#endif // SERVICES_CATALOG_PUBLIC_CPP_MANIFEST_PARSING_UTIL_H_ |