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

Unified Diff: third_party/WebKit/Source/platform/network/ContentSecurityPolicyParsers.h

Issue 1420483005: CSP: Don't perform NFC normalization prior to hashing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nfc-frame
Patch Set: Rework test to ensure tests are identical when normalized Created 5 years, 2 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: third_party/WebKit/Source/platform/network/ContentSecurityPolicyParsers.h
diff --git a/third_party/WebKit/Source/platform/network/ContentSecurityPolicyParsers.h b/third_party/WebKit/Source/platform/network/ContentSecurityPolicyParsers.h
index 9538d802cbb772cc5919bdb23ec46c1c9a8d08aa..3784603fc23b923f8dcfabdabaf1869da7c0d323 100644
--- a/third_party/WebKit/Source/platform/network/ContentSecurityPolicyParsers.h
+++ b/third_party/WebKit/Source/platform/network/ContentSecurityPolicyParsers.h
@@ -52,9 +52,6 @@ PLATFORM_EXPORT bool isMediaTypeCharacter(UChar);
// positional and may only appear at the end of a Base64 encoded string.
PLATFORM_EXPORT bool isBase64EncodedCharacter(UChar);
-// Normalize script or style source for script hash use.
-PLATFORM_EXPORT WTF::StringUTF8Adaptor normalizeSource(const String& source);
-
} // namespace blink
#endif

Powered by Google App Engine
This is Rietveld 408576698