diff options
author | Kristian Monsen <kristianm@google.com> | 2011-06-28 21:49:31 +0100 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2011-07-08 17:55:00 +0100 |
commit | ddb351dbec246cf1fab5ec20d2d5520909041de1 (patch) | |
tree | 158e3fb57bdcac07c7f1e767fde3c70687c9fbb1 /net/base/registry_controlled_domain_unittest.cc | |
parent | 6b92e04f5f151c896e3088e86f70db7081009308 (diff) | |
download | external_chromium-ddb351dbec246cf1fab5ec20d2d5520909041de1.zip external_chromium-ddb351dbec246cf1fab5ec20d2d5520909041de1.tar.gz external_chromium-ddb351dbec246cf1fab5ec20d2d5520909041de1.tar.bz2 |
Merge Chromium at r12.0.742.93: Initial merge by git
Change-Id: Ic5ee2fec31358bbee305f7e915442377bfa6cda6
Diffstat (limited to 'net/base/registry_controlled_domain_unittest.cc')
-rw-r--r-- | net/base/registry_controlled_domain_unittest.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/net/base/registry_controlled_domain_unittest.cc b/net/base/registry_controlled_domain_unittest.cc index 8c90c99..6f2041f 100644 --- a/net/base/registry_controlled_domain_unittest.cc +++ b/net/base/registry_controlled_domain_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -14,14 +14,15 @@ #undef MAX_HASH_VALUE #include "effective_tld_names_unittest2.cc" +namespace net { namespace { class TestRegistryControlledDomainService : - public net::RegistryControlledDomainService { + public RegistryControlledDomainService { public: // Sets the given data. static void UseDomainData(FindDomainPtr function) { - net::RegistryControlledDomainService::UseFindDomainFunction(function); + RegistryControlledDomainService::UseFindDomainFunction(function); } // Creates a new dedicated instance to be used for testing, deleting any @@ -252,4 +253,5 @@ TEST_F(RegistryControlledDomainTest, TestDefaultData) { EXPECT_EQ(3U, GetRegistryLengthFromURL("http://nowhere.foo", true)); } -} // namespace +} // namespace +} // namespace net |