| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <set> | 5 #include <set> |
| 6 #include <string> | 6 #include <string> |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "content/browser/child_process_security_policy_impl.h" | 9 #include "content/browser/shared/child_process_security_policy_helper.h" |
| 10 #include "content/public/common/url_constants.h" | 10 #include "content/public/common/url_constants.h" |
| 11 #include "content/test/test_content_browser_client.h" | 11 #include "content/test/test_content_browser_client.h" |
| 12 #include "storage/browser/fileapi/file_permission_policy.h" | 12 #include "storage/browser/fileapi/file_permission_policy.h" |
| 13 #include "storage/browser/fileapi/file_system_url.h" | 13 #include "storage/browser/fileapi/file_system_url.h" |
| 14 #include "storage/browser/fileapi/isolated_context.h" | 14 #include "storage/browser/fileapi/isolated_context.h" |
| 15 #include "storage/common/fileapi/file_system_types.h" | 15 #include "storage/common/fileapi/file_system_types.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 17 #include "url/gurl.h" | 17 #include "url/gurl.h" |
| 18 #include "url/origin.h" | 18 #include "url/origin.h" |
| 19 | 19 |
| (...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 EXPECT_TRUE(p->CanRequestURL(kRendererID, url_foo2)); | 727 EXPECT_TRUE(p->CanRequestURL(kRendererID, url_foo2)); |
| 728 EXPECT_TRUE(p->CanRequestURL(kRendererID, url_bar)); | 728 EXPECT_TRUE(p->CanRequestURL(kRendererID, url_bar)); |
| 729 EXPECT_TRUE(p->CanCommitURL(kRendererID, url_foo1)); | 729 EXPECT_TRUE(p->CanCommitURL(kRendererID, url_foo1)); |
| 730 EXPECT_TRUE(p->CanCommitURL(kRendererID, url_foo2)); | 730 EXPECT_TRUE(p->CanCommitURL(kRendererID, url_foo2)); |
| 731 EXPECT_TRUE(p->CanCommitURL(kRendererID, url_bar)); | 731 EXPECT_TRUE(p->CanCommitURL(kRendererID, url_bar)); |
| 732 | 732 |
| 733 p->Remove(kRendererID); | 733 p->Remove(kRendererID); |
| 734 } | 734 } |
| 735 | 735 |
| 736 } // namespace content | 736 } // namespace content |
| OLD | NEW |