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

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

Issue 7574017: Make extension file URL access opt-in. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
Index: chrome/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index e46cba12900b5a5b17993deb43983e434283259e..b3d6eb274c6d1779fb1167595f1781e75f77a154 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -287,12 +287,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
location == Extension::COMPONENT;
}
- // Unpacked extensions start off with file access since they are a developer
- // feature.
- static inline bool ShouldAlwaysAllowFileAccess(Location location) {
- return location == Extension::LOAD;
- }
-
// See Type definition above.
Type GetType() const;

Powered by Google App Engine
This is Rietveld 408576698