summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google_util.h
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.h
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.h')
-rw-r--r--chrome/browser/google_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/google_util.h b/chrome/browser/google_util.h
index d24ae89..a4f99e3 100644
--- a/chrome/browser/google_util.h
+++ b/chrome/browser/google_util.h
@@ -11,6 +11,8 @@ class GURL;
namespace google_util {
+extern const char kLinkDoctorBaseURL[];
+
// Adds the Google locale string to the URL (e.g., hl=en-US). This does not
// check to see if the param already exists.
GURL AppendGoogleLocaleParam(const GURL& url);