summaryrefslogtreecommitdiffstats
path: root/chrome/browser/custom_handlers
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-09 01:47:59 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-09 01:47:59 +0000
commitb953542108e0ffd871acc0de0919fe3da151db6c (patch)
treea0009fdc038b805e3fada7350797297104345b64 /chrome/browser/custom_handlers
parentf7858268cca0e50b5e4ebd93ee42881b21e4ff45 (diff)
downloadchromium_src-b953542108e0ffd871acc0de0919fe3da151db6c.zip
chromium_src-b953542108e0ffd871acc0de0919fe3da151db6c.tar.gz
chromium_src-b953542108e0ffd871acc0de0919fe3da151db6c.tar.bz2
Create a content public browser API around the ChildProcessSecurityPolicy class. The implementation of this
interface lives in content\browser\child_process_security_policy_impl.cc/.h. Moved some security checks from the TabContentsDelegate implementation (chrome\browser) to the TabContents code in content. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9360014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121137 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/custom_handlers')
-rw-r--r--chrome/browser/custom_handlers/protocol_handler_registry.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc
index bcf9e24..500da2b 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -18,13 +18,14 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/custom_handlers/protocol_handler.h"
#include "chrome/common/pref_names.h"
-#include "content/browser/child_process_security_policy.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/browser/child_process_security_policy.h"
#include "content/public/browser/notification_service.h"
#include "net/base/network_delegate.h"
#include "net/url_request/url_request_redirect_job.h"
using content::BrowserThread;
+using content::ChildProcessSecurityPolicy;
// ProtocolHandlerRegistry -----------------------------------------------------