summaryrefslogtreecommitdiffstats
path: root/chrome/browser/custom_handlers
diff options
context:
space:
mode:
authorkoz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 21:55:45 +0000
committerkoz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 21:55:45 +0000
commit084b92e8331701f88434030f78735782ca4dfe0c (patch)
tree95fe6a65abccb2a140b4d8398138da24f44000dc /chrome/browser/custom_handlers
parente43e6af993bc1b803b19623331facf975a0b72e9 (diff)
downloadchromium_src-084b92e8331701f88434030f78735782ca4dfe0c.zip
chromium_src-084b92e8331701f88434030f78735782ca4dfe0c.tar.gz
chromium_src-084b92e8331701f88434030f78735782ca4dfe0c.tar.bz2
Remove unnecessary const.
TBR=tony git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84509 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/custom_handlers')
-rw-r--r--chrome/browser/custom_handlers/protocol_handler_registry.cc2
-rw-r--r--chrome/browser/custom_handlers/protocol_handler_registry.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc
index ca01c96..f2ea2f6 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
@@ -307,7 +307,7 @@ const ProtocolHandler& ProtocolHandlerRegistry::GetHandlerFor(
return ProtocolHandler::kEmpty;
}
-const bool ProtocolHandlerRegistry::HasDefault(
+bool ProtocolHandlerRegistry::HasDefault(
const std::string& scheme) const {
return !GetHandlerFor(scheme).IsEmpty();
}
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.h b/chrome/browser/custom_handlers/protocol_handler_registry.h
index 4844f44..8ce29eed 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.h
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.h
@@ -57,7 +57,7 @@ class ProtocolHandlerRegistry
// Returns true if the given protocol has a default handler associated with
// it.
- const bool HasDefault(const std::string& scheme) const;
+ bool HasDefault(const std::string& scheme) const;
// Returns true if there is a handler registered for the given protocol.
bool HasHandler(const std::string& scheme);