| Index: net/base/url_util_unittest.cc
|
| diff --git a/chrome/common/net/url_util_unittest.cc b/net/base/url_util_unittest.cc
|
| similarity index 94%
|
| rename from chrome/common/net/url_util_unittest.cc
|
| rename to net/base/url_util_unittest.cc
|
| index 1d7fdda7d478ffd09399120e1f5dd1299d41b5be..8d1efde43a06e6c022bdd4748aa5ed7e7e78a395 100644
|
| --- a/chrome/common/net/url_util_unittest.cc
|
| +++ b/net/base/url_util_unittest.cc
|
| @@ -1,13 +1,14 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Copyright 2013 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.
|
|
|
| -#include "chrome/common/net/url_util.h"
|
| +#include "net/base/url_util.h"
|
|
|
| #include "googleurl/src/gurl.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| -namespace chrome_common_net {
|
| +namespace net {
|
| +namespace {
|
|
|
| TEST(UrlUtilTest, AppendQueryParameter) {
|
| // Appending a name-value pair to a URL without a query component.
|
| @@ -80,7 +81,7 @@ TEST(UrlUtilTest, AppendOrReplaceQueryParameter) {
|
| "name", "new").spec());
|
| }
|
|
|
| -TEST(BrowserUrlUtilTest, GetValueForKeyInQuery) {
|
| +TEST(UrlUtilTest, GetValueForKeyInQuery) {
|
| GURL url("http://example.com/path?name=value&boolParam&"
|
| "url=http://test.com/q?n1%3Dv1%26n2");
|
| std::string value;
|
| @@ -99,4 +100,5 @@ TEST(BrowserUrlUtilTest, GetValueForKeyInQuery) {
|
| EXPECT_EQ("http://test.com/q?n1=v1&n2", value);
|
| }
|
|
|
| -} // namespace chrome_common_net.
|
| +} // namespace
|
| +} // namespace net
|
|
|