summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google
diff options
context:
space:
mode:
authorgroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-09 22:34:36 +0000
committergroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-09 22:34:36 +0000
commit06305964e02af11bda4699175340ffec2f784f6b (patch)
treebb565cff1a2e9218ca85b98d953f1a1b2ab070b6 /chrome/browser/google
parent3ebf7d606bfd9d3d90c34542db5a370340af63b8 (diff)
downloadchromium_src-06305964e02af11bda4699175340ffec2f784f6b.zip
chromium_src-06305964e02af11bda4699175340ffec2f784f6b.tar.gz
chromium_src-06305964e02af11bda4699175340ffec2f784f6b.tar.bz2
Moved url_utils from chrome/browser/net to chrome/common/net.
There is an upcoming CL that needs those functions from chrome/common/extensions. TBR=satorux@chromium.org, pkasting@chromium.org BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10384086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136154 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/google')
-rw-r--r--chrome/browser/google/google_util.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/google/google_util.cc b/chrome/browser/google/google_util.cc
index e0edd2b..eda66b3 100644
--- a/chrome/browser/google/google_util.cc
+++ b/chrome/browser/google/google_util.cc
@@ -14,8 +14,8 @@
#include "base/utf_string_conversions.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/google/google_url_tracker.h"
-#include "chrome/browser/net/browser_url_util.h"
#include "chrome/common/chrome_switches.h"
+#include "chrome/common/net/url_util.h"
#include "chrome/installer/util/google_update_settings.h"
#include "googleurl/src/gurl.h"
#include "net/base/registry_controlled_domain.h"
@@ -66,7 +66,7 @@ GURL AppendGoogleLocaleParam(const GURL& url) {
std::string locale = g_browser_process->GetApplicationLocale();
if (locale == "nb")
locale = "no";
- return chrome_browser_net::AppendQueryParameter(url, "hl", locale);
+ return chrome_common_net::AppendQueryParameter(url, "hl", locale);
}
std::string StringAppendGoogleLocaleParam(const std::string& url) {
@@ -85,7 +85,7 @@ GURL AppendGoogleTLDParam(Profile* profile, const GURL& url) {
NOTREACHED();
return url;
}
- return chrome_browser_net::AppendQueryParameter(
+ return chrome_common_net::AppendQueryParameter(
url, "sd", google_domain.substr(first_dot + 1));
}