Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1330)

Unified Diff: services/catalog/public/cpp/manifest_parsing_util.h

Issue 2684433003: Files required by a service now listed in manifest. (Closed)
Patch Set: Synced + addressed comment from @rockot Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698