| 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 #include "base/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/macros.h" |
| 6 #include "base/strings/pattern.h" | 7 #include "base/strings/pattern.h" |
| 7 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
| 8 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
| 9 #include "base/test/histogram_tester.h" | 10 #include "base/test/histogram_tester.h" |
| 10 #include "content/public/common/content_switches.h" | 11 #include "content/public/common/content_switches.h" |
| 11 #include "content/public/common/resource_type.h" | 12 #include "content/public/common/resource_type.h" |
| 12 #include "content/public/test/browser_test_utils.h" | 13 #include "content/public/test/browser_test_utils.h" |
| 13 #include "content/public/test/content_browser_test.h" | 14 #include "content/public/test/content_browser_test.h" |
| 14 #include "content/public/test/content_browser_test_utils.h" | 15 #include "content/public/test/content_browser_test_utils.h" |
| 15 #include "content/shell/browser/shell.h" | 16 #include "content/shell/browser/shell.h" |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 // length is different from what's described in "content-length" for such | 191 // length is different from what's described in "content-length" for such |
| 191 // different targets. | 192 // different targets. |
| 192 | 193 |
| 193 // TODO(nick): Split up these cases, and add positive assertions here about | 194 // TODO(nick): Split up these cases, and add positive assertions here about |
| 194 // what actually happens in these various resource-block cases. | 195 // what actually happens in these various resource-block cases. |
| 195 GURL foo("http://foo.com/cross_site_document_request_target.html"); | 196 GURL foo("http://foo.com/cross_site_document_request_target.html"); |
| 196 NavigateToURL(shell(), foo); | 197 NavigateToURL(shell(), foo); |
| 197 } | 198 } |
| 198 | 199 |
| 199 } // namespace content | 200 } // namespace content |
| OLD | NEW |