summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/renderer_security_policy.cc
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-24 01:23:58 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-24 01:23:58 +0000
commit380ab46417433097d6fc3a0c92236e46b4ea1d40 (patch)
treeab0b6701270f8d2e9ea56927f4941df4217bf925 /chrome/browser/renderer_host/renderer_security_policy.cc
parent4f991420767e0051e7f49019ab0e431c229a2345 (diff)
downloadchromium_src-380ab46417433097d6fc3a0c92236e46b4ea1d40.zip
chromium_src-380ab46417433097d6fc3a0c92236e46b4ea1d40.tar.gz
chromium_src-380ab46417433097d6fc3a0c92236e46b4ea1d40.tar.bz2
Remove unused bits and pieces of #ifdefed code that isn't used.
Review URL: http://codereview.chromium.org/93042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/renderer_security_policy.cc')
-rw-r--r--chrome/browser/renderer_host/renderer_security_policy.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/renderer_host/renderer_security_policy.cc b/chrome/browser/renderer_host/renderer_security_policy.cc
index fd34ef6..ae78380 100644
--- a/chrome/browser/renderer_host/renderer_security_policy.cc
+++ b/chrome/browser/renderer_host/renderer_security_policy.cc
@@ -8,9 +8,6 @@
#include "base/logging.h"
#include "base/string_util.h"
#include "chrome/common/url_constants.h"
-#ifdef CHROME_PERSONALIZATION
-#include "chrome/personalization/personalization.h"
-#endif
#include "googleurl/src/gurl.h"
#include "net/url_request/url_request.h"
@@ -245,11 +242,6 @@ bool RendererSecurityPolicy::CanRequestURL(int renderer_id, const GURL& url) {
return false;
}
-#ifdef CHROME_PERSONALIZATION
- if (url.SchemeIs(kPersonalizationScheme))
- return true;
-#endif
-
if (!URLRequest::IsHandledURL(url))
return true; // This URL request is destined for ShellExecute.