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

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 1507023004: Harden the implementation of '--disable-web-security' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: esprehn feedback Created 5 years 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: third_party/WebKit/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index dd436503ee65c62de8457cda62af5b1878f4adc0..cd34e535b8852ba02efd48e36e4d40d9fb7f17d0 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -412,7 +412,6 @@ public:
// WebFrameClient::suddenTerminationDisablerChanged.
virtual void suddenTerminationChanged(bool enabled) { }
-
jochen (gone - plz use gerrit) 2015/12/10 15:39:33 unrelated?
// System --------------------------------------------------------------
// Returns a value such as "en-US".
@@ -440,6 +439,9 @@ public:
// renderer was created with threaded rendering desabled.
virtual WebThread* compositorThread() const { return 0; }
+ /// Verifies that the platform allows 'SecurityOrigin' objects to be granted universal access.
+ virtual bool canGrantUniversalAccess() { return false; }
+
// Vibration -----------------------------------------------------------
// Starts a vibration for the given duration in milliseconds. If there is currently an active

Powered by Google App Engine
This is Rietveld 408576698