OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_POLICY_H_ | 5 #ifndef CONTENT_CHILD_SITE_ISOLATION_POLICY_H_ |
6 #define CONTENT_CHILD_SITE_ISOLATION_POLICY_H_ | 6 #define CONTENT_CHILD_SITE_ISOLATION_POLICY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
13 #include "base/strings/string_piece.h" | 13 #include "base/strings/string_piece.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "webkit/common/resource_type.h" | 15 #include "content/public/common/resource_type.h" |
16 | 16 |
17 class GURL; | 17 class GURL; |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
21 struct ResourceResponseInfo; | 21 struct ResourceResponseInfo; |
22 | 22 |
23 // SiteIsolationPolicy implements the cross-site document blocking policy (XSDP) | 23 // SiteIsolationPolicy implements the cross-site document blocking policy (XSDP) |
24 // for Site Isolation. XSDP will monitor network responses to a renderer and | 24 // for Site Isolation. XSDP will monitor network responses to a renderer and |
25 // block illegal responses so that a compromised renderer cannot steal private | 25 // block illegal responses so that a compromised renderer cannot steal private |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 // Never needs to be constructed/destructed. | 144 // Never needs to be constructed/destructed. |
145 SiteIsolationPolicy() {} | 145 SiteIsolationPolicy() {} |
146 ~SiteIsolationPolicy() {} | 146 ~SiteIsolationPolicy() {} |
147 | 147 |
148 DISALLOW_COPY_AND_ASSIGN(SiteIsolationPolicy); | 148 DISALLOW_COPY_AND_ASSIGN(SiteIsolationPolicy); |
149 }; | 149 }; |
150 | 150 |
151 } // namespace content | 151 } // namespace content |
152 | 152 |
153 #endif // CONTENT_CHILD_SITE_ISOLATION_POLICY_H_ | 153 #endif // CONTENT_CHILD_SITE_ISOLATION_POLICY_H_ |
OLD | NEW |