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

Unified Diff: extensions/common/file_util.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/file_util.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/file_util.cc
diff --git a/extensions/common/file_util.cc b/extensions/common/file_util.cc
index fcf704bfc72fd7285ba79e6ff8c9ddd475725e24..0a116ad329570d9bc13e45fe366a5ae12126c4fc 100644
--- a/extensions/common/file_util.cc
+++ b/extensions/common/file_util.cc
@@ -437,5 +437,13 @@ std::map<std::string, std::string>* LoadMessageBundleSubstitutionMap(
return return_value;
}
+base::FilePath GetVerifiedContentsPath(const base::FilePath& extension_path) {
+ return extension_path.Append(kMetadataFolder)
+ .Append(kVerifiedContentsFilename);
+}
+base::FilePath GetComputedHashesPath(const base::FilePath& extension_path) {
+ return extension_path.Append(kMetadataFolder).Append(kComputedHashesFilename);
+}
+
} // namespace file_util
} // namespace extensions
« no previous file with comments | « extensions/common/file_util.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698