Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1889)

Unified Diff: chrome/browser/google_util.cc

Issue 174179: Mock the LinkDoctor for tests. Should greatly decrease ErrorPage test flakiness. (Closed)
Patch Set: sync with trunk Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/google_util.h ('k') | chrome/browser/net/url_request_mock_link_doctor_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google_util.cc
diff --git a/chrome/browser/google_util.cc b/chrome/browser/google_util.cc
index 0949d2f072b82d475daaecbac4c27aafe8fcdb2e..9cb5e229228ccc2ea04117c0a771527d0c5a9828 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());
« no previous file with comments | « chrome/browser/google_util.h ('k') | chrome/browser/net/url_request_mock_link_doctor_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698