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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/TokenizedChunkQueue.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/html/parser/TokenizedChunkQueue.h" 5 #include "core/html/parser/TokenizedChunkQueue.h"
6 6
7 #include "platform/RuntimeEnabledFeatures.h"
8 #include <algorithm> 7 #include <algorithm>
9 #include <memory> 8 #include <memory>
9 #include "platform/RuntimeEnabledFeatures.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 TokenizedChunkQueue::TokenizedChunkQueue() {} 13 TokenizedChunkQueue::TokenizedChunkQueue() {}
14 14
15 TokenizedChunkQueue::~TokenizedChunkQueue() {} 15 TokenizedChunkQueue::~TokenizedChunkQueue() {}
16 16
17 bool TokenizedChunkQueue::enqueue( 17 bool TokenizedChunkQueue::enqueue(
18 std::unique_ptr<HTMLDocumentParser::TokenizedChunk> chunk) { 18 std::unique_ptr<HTMLDocumentParser::TokenizedChunk> chunk) {
19 m_pendingTokenCount += chunk->tokens->size(); 19 m_pendingTokenCount += chunk->tokens->size();
(...skipping 21 matching lines...) Expand all
41 41
42 size_t TokenizedChunkQueue::peakPendingChunkCount() { 42 size_t TokenizedChunkQueue::peakPendingChunkCount() {
43 return m_peakPendingChunkCount; 43 return m_peakPendingChunkCount;
44 } 44 }
45 45
46 size_t TokenizedChunkQueue::peakPendingTokenCount() { 46 size_t TokenizedChunkQueue::peakPendingTokenCount() {
47 return m_peakPendingTokenCount; 47 return m_peakPendingTokenCount;
48 } 48 }
49 49
50 } // namespace blink 50 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698