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/basictypes.h" | |
9 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
10 #include "content/browser/child_process_security_policy_impl.h" | 9 #include "content/browser/child_process_security_policy_impl.h" |
11 #include "content/public/common/url_constants.h" | 10 #include "content/public/common/url_constants.h" |
12 #include "content/test/test_content_browser_client.h" | 11 #include "content/test/test_content_browser_client.h" |
13 #include "storage/browser/fileapi/file_permission_policy.h" | 12 #include "storage/browser/fileapi/file_permission_policy.h" |
14 #include "storage/browser/fileapi/file_system_url.h" | 13 #include "storage/browser/fileapi/file_system_url.h" |
15 #include "storage/browser/fileapi/isolated_context.h" | 14 #include "storage/browser/fileapi/isolated_context.h" |
16 #include "storage/common/fileapi/file_system_types.h" | 15 #include "storage/common/fileapi/file_system_types.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
18 #include "url/gurl.h" | 17 #include "url/gurl.h" |
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 EXPECT_TRUE(p->CanRequestURL(kRendererID, url_foo2)); | 731 EXPECT_TRUE(p->CanRequestURL(kRendererID, url_foo2)); |
733 EXPECT_TRUE(p->CanRequestURL(kRendererID, url_bar)); | 732 EXPECT_TRUE(p->CanRequestURL(kRendererID, url_bar)); |
734 EXPECT_TRUE(p->CanCommitURL(kRendererID, url_foo1)); | 733 EXPECT_TRUE(p->CanCommitURL(kRendererID, url_foo1)); |
735 EXPECT_TRUE(p->CanCommitURL(kRendererID, url_foo2)); | 734 EXPECT_TRUE(p->CanCommitURL(kRendererID, url_foo2)); |
736 EXPECT_TRUE(p->CanCommitURL(kRendererID, url_bar)); | 735 EXPECT_TRUE(p->CanCommitURL(kRendererID, url_bar)); |
737 | 736 |
738 p->Remove(kRendererID); | 737 p->Remove(kRendererID); |
739 } | 738 } |
740 | 739 |
741 } // namespace content | 740 } // namespace content |
OLD | NEW |