summaryrefslogtreecommitdiffstats
path: root/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc
diff options
context:
space:
mode:
authorkoz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-02 18:54:49 +0000
committerkoz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-02 18:54:49 +0000
commitfd8ca5208c2035467253b5f8613c46745688d655 (patch)
tree2b9eb7d357027f3bf2ca99d462b39bcf83bb696a /chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc
parent695b5bbbd76715aec3a3310529f4aeb4c8b32f43 (diff)
downloadchromium_src-fd8ca5208c2035467253b5f8613c46745688d655.zip
chromium_src-fd8ca5208c2035467253b5f8613c46745688d655.tar.gz
chromium_src-fd8ca5208c2035467253b5f8613c46745688d655.tar.bz2
Add unit test and 'ignore' functionality to ProtocolHandlerRegistry.
When we change the infobar to make use of this functionality it will make it feasible for sites to make registerProtocolHandler calls on load, instead of in response to a user action. BUG= TEST=Unit test provided. Review URL: http://codereview.chromium.org/6878094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc')
-rw-r--r--chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc b/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc
index 3d12986..9bd9176 100644
--- a/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc
+++ b/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h"
#include "base/utf_string_conversions.h"
+#include "chrome/browser/custom_handlers/protocol_handler.h"
#include "chrome/browser/custom_handlers/protocol_handler_registry.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"