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

Side by Side Diff: third_party/WebKit/Source/core/frame/csp/CSPSourceList.cpp

Issue 2175123002: Move platform/ParsingUtilities.h to wtf/text/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: I keep forgetting this bit... Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/frame/csp/CSPSourceList.h" 5 #include "core/frame/csp/CSPSourceList.h"
6 6
7 #include "core/frame/csp/CSPSource.h" 7 #include "core/frame/csp/CSPSource.h"
8 #include "core/frame/csp/ContentSecurityPolicy.h" 8 #include "core/frame/csp/ContentSecurityPolicy.h"
9 #include "platform/ParsingUtilities.h"
10 #include "platform/weborigin/KURL.h" 9 #include "platform/weborigin/KURL.h"
11 #include "platform/weborigin/SecurityOrigin.h" 10 #include "platform/weborigin/SecurityOrigin.h"
12 #include "wtf/HashSet.h" 11 #include "wtf/HashSet.h"
13 #include "wtf/text/Base64.h" 12 #include "wtf/text/Base64.h"
13 #include "wtf/text/ParsingUtilities.h"
14 #include "wtf/text/StringToNumber.h" 14 #include "wtf/text/StringToNumber.h"
15 #include "wtf/text/WTFString.h" 15 #include "wtf/text/WTFString.h"
16 16
17 namespace blink { 17 namespace blink {
18 18
19 static bool isSourceListNone(const UChar* begin, const UChar* end) 19 static bool isSourceListNone(const UChar* begin, const UChar* end)
20 { 20 {
21 skipWhile<UChar, isASCIISpace>(begin, end); 21 skipWhile<UChar, isASCIISpace>(begin, end);
22 22
23 const UChar* position = begin; 23 const UChar* position = begin;
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 return false; 535 return false;
536 } 536 }
537 537
538 DEFINE_TRACE(CSPSourceList) 538 DEFINE_TRACE(CSPSourceList)
539 { 539 {
540 visitor->trace(m_policy); 540 visitor->trace(m_policy);
541 visitor->trace(m_list); 541 visitor->trace(m_list);
542 } 542 }
543 543
544 } // namespace blink 544 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698