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

Unified Diff: Source/WebCore/testing/InternalSettings.cpp

Issue 14089003: Remove storageBlockingPolicy (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | « Source/WebCore/testing/InternalSettings.h ('k') | Source/WebCore/testing/InternalSettings.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/testing/InternalSettings.cpp
diff --git a/Source/WebCore/testing/InternalSettings.cpp b/Source/WebCore/testing/InternalSettings.cpp
index 4c745d65335a7ec586248cc15ef66a884c4e7dde..ad73b10ae3afd82ea172e07de004c5a3257158ef 100644
--- a/Source/WebCore/testing/InternalSettings.cpp
+++ b/Source/WebCore/testing/InternalSettings.cpp
@@ -403,20 +403,6 @@ bool InternalSettings::shouldDisplayTrackKind(const String& kind, ExceptionCode&
#endif
}
-void InternalSettings::setStorageBlockingPolicy(const String& mode, ExceptionCode& ec)
-{
- InternalSettingsGuardForSettings();
-
- if (mode == "AllowAll")
- settings()->setStorageBlockingPolicy(SecurityOrigin::AllowAllStorage);
- else if (mode == "BlockThirdParty")
- settings()->setStorageBlockingPolicy(SecurityOrigin::BlockThirdPartyStorage);
- else if (mode == "BlockAll")
- settings()->setStorageBlockingPolicy(SecurityOrigin::BlockAllStorage);
- else
- ec = SYNTAX_ERR;
-}
-
void InternalSettings::setLangAttributeAwareFormControlUIEnabled(bool enabled)
{
RuntimeEnabledFeatures::setLangAttributeAwareFormControlUIEnabled(enabled);
« no previous file with comments | « Source/WebCore/testing/InternalSettings.h ('k') | Source/WebCore/testing/InternalSettings.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698