OLD | NEW |
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 #ifndef HostsUsingFeatures_h | 5 #ifndef HostsUsingFeatures_h |
6 #define HostsUsingFeatures_h | 6 #define HostsUsingFeatures_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
10 #include "platform/weborigin/KURL.h" | 10 #include "platform/weborigin/KURL.h" |
11 #include "wtf/HashMap.h" | 11 #include "platform/wtf/HashMap.h" |
12 #include "wtf/Vector.h" | 12 #include "platform/wtf/Vector.h" |
13 #include "wtf/text/StringHash.h" | 13 #include "platform/wtf/text/StringHash.h" |
14 #include "wtf/text/WTFString.h" | 14 #include "platform/wtf/text/WTFString.h" |
15 | 15 |
16 namespace blink { | 16 namespace blink { |
17 | 17 |
18 class Document; | 18 class Document; |
19 class EventTarget; | 19 class EventTarget; |
20 class ScriptState; | 20 class ScriptState; |
21 | 21 |
22 class CORE_EXPORT HostsUsingFeatures { | 22 class CORE_EXPORT HostsUsingFeatures { |
23 DISALLOW_NEW(); | 23 DISALLOW_NEW(); |
24 | 24 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 void RecordNamesToRappor(); | 88 void RecordNamesToRappor(); |
89 void RecordETLDPlus1ToRappor(); | 89 void RecordETLDPlus1ToRappor(); |
90 | 90 |
91 Vector<std::pair<KURL, HostsUsingFeatures::Value>, 1> url_and_values_; | 91 Vector<std::pair<KURL, HostsUsingFeatures::Value>, 1> url_and_values_; |
92 HashMap<String, HostsUsingFeatures::Value> value_by_name_; | 92 HashMap<String, HostsUsingFeatures::Value> value_by_name_; |
93 }; | 93 }; |
94 | 94 |
95 } // namespace blink | 95 } // namespace blink |
96 | 96 |
97 #endif // HostsUsingFeatures_h | 97 #endif // HostsUsingFeatures_h |
OLD | NEW |