| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef EXTENSIONS_COMMON_FILE_UTIL_H_ | 5 #ifndef EXTENSIONS_COMMON_FILE_UTIL_H_ |
| 6 #define EXTENSIONS_COMMON_FILE_UTIL_H_ | 6 #define EXTENSIONS_COMMON_FILE_UTIL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 const std::string& default_locale, | 115 const std::string& default_locale, |
| 116 std::string* error); | 116 std::string* error); |
| 117 | 117 |
| 118 // Loads the extension message bundle substitution map. Contains at least | 118 // Loads the extension message bundle substitution map. Contains at least |
| 119 // the extension_id item. | 119 // the extension_id item. |
| 120 std::map<std::string, std::string>* LoadMessageBundleSubstitutionMap( | 120 std::map<std::string, std::string>* LoadMessageBundleSubstitutionMap( |
| 121 const base::FilePath& extension_path, | 121 const base::FilePath& extension_path, |
| 122 const std::string& extension_id, | 122 const std::string& extension_id, |
| 123 const std::string& default_locale); | 123 const std::string& default_locale); |
| 124 | 124 |
| 125 // Helper functions for getting paths for files used in content verification. |
| 126 base::FilePath GetVerifiedContentsPath(const base::FilePath& extension_path); |
| 127 base::FilePath GetComputedHashesPath(const base::FilePath& extension_path); |
| 128 |
| 125 } // namespace file_util | 129 } // namespace file_util |
| 126 } // namespace extensions | 130 } // namespace extensions |
| 127 | 131 |
| 128 #endif // EXTENSIONS_COMMON_FILE_UTIL_H_ | 132 #endif // EXTENSIONS_COMMON_FILE_UTIL_H_ |
| OLD | NEW |