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

Side by Side Diff: extensions/common/file_util.h

Issue 288273004: A bunch of remaining parts of extension content verification (Reland) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browser test Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « extensions/common/constants.cc ('k') | extensions/common/file_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « extensions/common/constants.cc ('k') | extensions/common/file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698