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

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

Issue 2684433003: Files required by a service now listed in manifest. (Closed)
Patch Set: Fix build. 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
« no previous file with comments | « services/catalog/public/cpp/BUILD.gn ('k') | services/catalog/public/cpp/manifest_parsing_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f76c15675432bfefff58ad862b1b34551c6bb6dd
--- /dev/null
+++ b/services/catalog/public/cpp/manifest_parsing_util.h
@@ -0,0 +1,29 @@
+// 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>
+
+#include "base/files/file_path.h"
+#include "base/optional.h"
+
+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, base::FilePath>;
+
+base::Optional<RequiredFileMap> RetrieveRequiredFiles(
+ const base::Value& manifest);
+
+} // namespace content
+
+#endif // SERVICES_CATALOG_PUBLIC_CPP_MANIFEST_PARSING_UTIL_H_
« no previous file with comments | « services/catalog/public/cpp/BUILD.gn ('k') | services/catalog/public/cpp/manifest_parsing_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698