summaryrefslogtreecommitdiffstats
path: root/chrome/browser/child_process_security_policy_unittest.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-25 17:08:42 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-25 17:08:42 +0000
commit918059bd06841c5ebc2040162434748834a99615 (patch)
tree2fce36d6a8a5e86421a2380f613ba4889b2a2718 /chrome/browser/child_process_security_policy_unittest.cc
parente2a70f76250f3d46fd5b3f73c1bd56cfe622201e (diff)
downloadchromium_src-918059bd06841c5ebc2040162434748834a99615.zip
chromium_src-918059bd06841c5ebc2040162434748834a99615.tar.gz
chromium_src-918059bd06841c5ebc2040162434748834a99615.tar.bz2
Remove previous print preview work in preparation for new work.
The new work will take a very different approach (using a component extension, similar to the bookmark manager). This basically reverts the following commits: - http://src.chromium.org/viewvc/chrome?view=rev&revision=20595 (http://codereview.chromium.org/155067) - http://src.chromium.org/viewvc/chrome?view=rev&revision=19918 (http://codereview.chromium.org/155051) - http://src.chromium.org/viewvc/chrome?view=rev&revision=19906 (http://codereview.chromium.org/150207) BUG=173 TEST=everything still builds Review URL: http://codereview.chromium.org/2156003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48162 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/child_process_security_policy_unittest.cc')
-rw-r--r--chrome/browser/child_process_security_policy_unittest.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/child_process_security_policy_unittest.cc b/chrome/browser/child_process_security_policy_unittest.cc
index 0f75f72..46279c7 100644
--- a/chrome/browser/child_process_security_policy_unittest.cc
+++ b/chrome/browser/child_process_security_policy_unittest.cc
@@ -175,12 +175,6 @@ TEST_F(ChildProcessSecurityPolicyTest, ViewSource) {
EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("file:///etc/passwd")));
EXPECT_FALSE(p->CanRequestURL(
kRendererID, GURL("view-source:view-source:http://www.google.com/")));
- EXPECT_FALSE(p->CanRequestURL(
- kRendererID, GURL("view-source:print:http://www.google.com/")));
- EXPECT_TRUE(p->CanRequestURL(
- kRendererID, GURL("print:view-source:http://www.google.com/")));
- EXPECT_FALSE(p->CanRequestURL(kRendererID,
- GURL("print:print:http://www.google.com/")));
p->GrantRequestURL(kRendererID, GURL("view-source:file:///etc/passwd"));
// View source needs to be able to request the embedded scheme.