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_CATALOG_PUBLIC_CPP_MANIFEST_PARSING_UTIL_H_ |
| 6 #define SERVICES_CATALOG_PUBLIC_CPP_MANIFEST_PARSING_UTIL_H_ |
| 7 |
| 8 #include <map> |
| 9 #include <string> |
| 10 |
| 11 #include "base/files/file_path.h" |
| 12 #include "base/optional.h" |
| 13 |
| 14 namespace base { |
| 15 class Value; |
| 16 } |
| 17 |
| 18 // TODO(jcivelli): http://crbug.com/687250 Remove this file and inline |
| 19 // PopulateRequiredFiles() in Entry::Deserialize. |
| 20 namespace catalog { |
| 21 |
| 22 using RequiredFileMap = std::map<std::string, base::FilePath>; |
| 23 |
| 24 base::Optional<RequiredFileMap> RetrieveRequiredFiles( |
| 25 const base::Value& manifest); |
| 26 |
| 27 } // namespace content |
| 28 |
| 29 #endif // SERVICES_CATALOG_PUBLIC_CPP_MANIFEST_PARSING_UTIL_H_ |
OLD | NEW |