Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef DocumentStatisticsCollector_h | |
| 6 #define DocumentStatisticsCollector_h | |
| 7 | |
| 8 namespace WTF { | |
| 9 class String; | |
| 10 } | |
| 11 | |
| 12 namespace blink { | |
| 13 | |
| 14 class Document; | |
| 15 struct WebDistillabilityFeatures; | |
| 16 | |
| 17 class DocumentStatisticsCollector { | |
| 18 public: | |
| 19 DocumentStatisticsCollector(); | |
| 20 | |
| 21 void setReadyToCollect() { m_readyToCollect = true; } | |
| 22 WebDistillabilityFeatures collectStatistics(Document&); | |
| 23 | |
| 24 private: | |
| 25 bool m_readyToCollect : 1; | |
|
dglazkov
2015/10/22 16:30:31
I don't think you need this. Maybe just have an as
wychen
2015/10/23 02:51:30
Removed.
| |
| 26 }; | |
| 27 | |
| 28 } | |
| 29 | |
| 30 #endif | |
| OLD | NEW |