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

Side by Side Diff: third_party/WebKit/Source/core/html/track/vtt/VTTScanner.h

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 /* 1 /*
2 * Copyright (c) 2013, Opera Software ASA. All rights reserved. 2 * Copyright (c) 2013, Opera Software ASA. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 13 matching lines...) Expand all
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
25 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
27 * OF THE POSSIBILITY OF SUCH DAMAGE. 27 * OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #ifndef VTTScanner_h 30 #ifndef VTTScanner_h
31 #define VTTScanner_h 31 #define VTTScanner_h
32 32
33 #include "core/CoreExport.h" 33 #include "core/CoreExport.h"
34 #include "platform/ParsingUtilities.h"
35 #include "wtf/Allocator.h" 34 #include "wtf/Allocator.h"
35 #include "wtf/text/ParsingUtilities.h"
36 #include "wtf/text/WTFString.h" 36 #include "wtf/text/WTFString.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 // Helper class for "scanning" an input string and performing parsing of 40 // Helper class for "scanning" an input string and performing parsing of
41 // "micro-syntax"-like constructs. 41 // "micro-syntax"-like constructs.
42 // 42 //
43 // There's two primary operations: match and scan. 43 // There's two primary operations: match and scan.
44 // 44 //
45 // The 'match' operation matches an explicitly or implicitly specified sequence 45 // The 'match' operation matches an explicitly or implicitly specified sequence
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 DCHECK_LT(getPosition(), end()); 231 DCHECK_LT(getPosition(), end());
232 if (m_is8Bit) 232 if (m_is8Bit)
233 m_data.characters8 += amount; 233 m_data.characters8 += amount;
234 else 234 else
235 m_data.characters16 += amount; 235 m_data.characters16 += amount;
236 } 236 }
237 237
238 } // namespace blink 238 } // namespace blink
239 239
240 #endif 240 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698