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 CONTENT_CHILD_SITE_ISOLATION_STATS_GATHERER_H_ | 5 #ifndef CONTENT_CHILD_SITE_ISOLATION_STATS_GATHERER_H_ |
6 #define CONTENT_CHILD_SITE_ISOLATION_STATS_GATHERER_H_ | 6 #define CONTENT_CHILD_SITE_ISOLATION_STATS_GATHERER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
12 #include "base/strings/string_piece.h" | 13 #include "base/strings/string_piece.h" |
13 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
14 #include "content/common/cross_site_document_classifier.h" | 15 #include "content/common/cross_site_document_classifier.h" |
15 #include "content/public/common/resource_type.h" | 16 #include "content/public/common/resource_type.h" |
16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
17 | 18 |
18 namespace content { | 19 namespace content { |
19 | 20 |
20 struct ResourceResponseInfo; | 21 struct ResourceResponseInfo; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 92 |
92 // Imprecise JS sniffing; only appropriate for collecting UMA stat. | 93 // Imprecise JS sniffing; only appropriate for collecting UMA stat. |
93 static bool SniffForJS(base::StringPiece data); | 94 static bool SniffForJS(base::StringPiece data); |
94 | 95 |
95 DISALLOW_COPY_AND_ASSIGN(SiteIsolationStatsGatherer); | 96 DISALLOW_COPY_AND_ASSIGN(SiteIsolationStatsGatherer); |
96 }; | 97 }; |
97 | 98 |
98 } // namespace content | 99 } // namespace content |
99 | 100 |
100 #endif // CONTENT_CHILD_SITE_ISOLATION_STATS_GATHERER_H_ | 101 #endif // CONTENT_CHILD_SITE_ISOLATION_STATS_GATHERER_H_ |
OLD | NEW |