summaryrefslogtreecommitdiffstats
path: root/chrome/browser/custom_handlers
diff options
context:
space:
mode:
authorgroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 05:36:11 +0000
committergroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 05:36:11 +0000
commitd36054c950b9331955d949b5eaa0d90a0bb57386 (patch)
tree15026af9477aa0d9b56479b06097ed0dba455b25 /chrome/browser/custom_handlers
parentaf7191861fd94c08c4c436f4f33a3e9adfefc706 (diff)
downloadchromium_src-d36054c950b9331955d949b5eaa0d90a0bb57386.zip
chromium_src-d36054c950b9331955d949b5eaa0d90a0bb57386.tar.gz
chromium_src-d36054c950b9331955d949b5eaa0d90a0bb57386.tar.bz2
Namespacing helper classes/functions for protocol_handler_registry_unittest.cc
Specifically the classes: FakeDelegate FakeClientObserver FakeProtocolClientWorker NotificationCounter QueryProtocolHandlerOnChange and functions DefaultClientObserver DefaultProtocolClientW BUG=none TEST=none Review URL: http://codereview.chromium.org/8345017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106226 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/custom_handlers')
-rw-r--r--chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
index 0f83c2d..91e1cd8 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
@@ -22,6 +22,8 @@
#include "content/common/notification_service.h"
#include "net/url_request/url_request.h"
+namespace {
+
class FakeDelegate : public ProtocolHandlerRegistry::Delegate {
public:
FakeDelegate() : force_os_failure_(false) {}
@@ -187,6 +189,8 @@ class QueryProtocolHandlerOnChange
content::NotificationRegistrar notification_registrar_;
};
+} // namespace
+
class ProtocolHandlerRegistryTest : public testing::Test {
protected:
ProtocolHandlerRegistryTest()