summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google_util.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-27 15:20:52 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-27 15:20:52 +0000
commit07eb0c01b2d522bb12104a1a079ce352b034f6ec (patch)
tree3e96c8c8e1381a605fa44533c5edc27b056b08e5 /chrome/browser/google_util.cc
parent65e3abbad1e5d111675658f1df562c40389bbda5 (diff)
downloadchromium_src-07eb0c01b2d522bb12104a1a079ce352b034f6ec.zip
chromium_src-07eb0c01b2d522bb12104a1a079ce352b034f6ec.tar.gz
chromium_src-07eb0c01b2d522bb12104a1a079ce352b034f6ec.tar.bz2
Mock the LinkDoctor for tests. Should greatly decrease ErrorPage test flakiness.
Not getting rid of WaitForTitleMatching because I have to add few more calls to the automation framework (http://crbug.com/19395) to wait properly after navigating back and forward. TEST=Covered by ui_tests and browser_tests. http://crbug.com/18365, http://crbug.com/19361 Review URL: http://codereview.chromium.org/174179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24606 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/google_util.cc')
-rw-r--r--chrome/browser/google_util.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/google_util.cc b/chrome/browser/google_util.cc
index 0949d2f..9cb5e22 100644
--- a/chrome/browser/google_util.cc
+++ b/chrome/browser/google_util.cc
@@ -31,6 +31,9 @@ GURL AppendParam(const GURL& url,
namespace google_util {
+const char kLinkDoctorBaseURL[] =
+ "http://linkhelp.clients.google.com/tbproxy/lh/fixurl";
+
GURL AppendGoogleLocaleParam(const GURL& url) {
return AppendParam(url, "hl",
g_browser_process->GetApplicationLocale());