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

Unified Diff: chrome/common/extensions/chrome_manifest_url_handlers.h

Issue 1977303004: [Extensions] Validate file existence for chrome url overrides (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/chrome_manifest_url_handlers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/chrome_manifest_url_handlers.h
diff --git a/chrome/common/extensions/chrome_manifest_url_handlers.h b/chrome/common/extensions/chrome_manifest_url_handlers.h
index 6895ab997c6e228da82559579a83c271b114879f..a698c4504194ad8947c33b90f1e879c817d12f7a 100644
--- a/chrome/common/extensions/chrome_manifest_url_handlers.h
+++ b/chrome/common/extensions/chrome_manifest_url_handlers.h
@@ -59,6 +59,9 @@ class URLOverridesHandler : public ManifestHandler {
~URLOverridesHandler() override;
bool Parse(Extension* extension, base::string16* error) override;
+ bool Validate(const Extension* extension,
+ std::string* error,
+ std::vector<InstallWarning>* warnings) const override;
private:
const std::vector<std::string> Keys() const override;
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/chrome_manifest_url_handlers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698