diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-23 16:45:18 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-23 16:45:18 +0000 |
commit | e068c2d3675a34d5e5bad38104975a38ef79f1bf (patch) | |
tree | 918f3c5e1875919c9aa7a5f55f6f6319cdba5b70 /content/browser/child_process_security_policy_unittest.cc | |
parent | a3a7850328fda48aff5743aacba31dcf506b7953 (diff) | |
download | chromium_src-e068c2d3675a34d5e5bad38104975a38ef79f1bf.zip chromium_src-e068c2d3675a34d5e5bad38104975a38ef79f1bf.tar.gz chromium_src-e068c2d3675a34d5e5bad38104975a38ef79f1bf.tar.bz2 |
Remove test_url_constants.* which were temporary until we got content_unittests and content_browsertests.
Review URL: https://codereview.chromium.org/11226047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163576 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/child_process_security_policy_unittest.cc')
-rw-r--r-- | content/browser/child_process_security_policy_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/child_process_security_policy_unittest.cc b/content/browser/child_process_security_policy_unittest.cc index f028c2a..1be5a0b 100644 --- a/content/browser/child_process_security_policy_unittest.cc +++ b/content/browser/child_process_security_policy_unittest.cc @@ -9,7 +9,6 @@ #include "base/file_path.h" #include "base/platform_file.h" #include "content/browser/child_process_security_policy_impl.h" -#include "content/common/test_url_constants.h" #include "content/public/common/url_constants.h" #include "content/test/test_content_browser_client.h" #include "googleurl/src/gurl.h" @@ -173,8 +172,9 @@ TEST_F(ChildProcessSecurityPolicyTest, AboutTest) { EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("about:crash"))); // These requests for chrome:// pages should be granted. - p->GrantRequestURL(kRendererID, GURL(content::kTestNewTabURL)); - EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL(content::kTestNewTabURL))); + GURL chrome_url("chrome://foo"); + p->GrantRequestURL(kRendererID, chrome_url); + EXPECT_TRUE(p->CanRequestURL(kRendererID, chrome_url)); p->Remove(kRendererID); } |