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

Unified Diff: components/google/core/browser/google_util.cc

Issue 808253006: Remove the GoogleURLTracker infobar functionality entirely. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync Created 5 years, 11 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 | « components/google/core/browser/google_url_tracker_unittest.cc ('k') | components/google_strings.grdp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/google/core/browser/google_util.cc
diff --git a/components/google/core/browser/google_util.cc b/components/google/core/browser/google_util.cc
index a1cf2f2c279a4285b03d83f48dd75579837d9ebf..307cebb3f7873ce81b6512dce632e5ec25b658de 100644
--- a/components/google/core/browser/google_util.cc
+++ b/components/google/core/browser/google_util.cc
@@ -79,7 +79,7 @@ namespace google_util {
// Global functions -----------------------------------------------------------
bool HasGoogleSearchQueryParam(const std::string& str) {
- url::Component query(0, str.length()), key, value;
+ url::Component query(0, static_cast<int>(str.length())), key, value;
while (url::ExtractQueryKeyValue(str.c_str(), &query, &key, &value)) {
if ((key.len == 1) && (str[key.begin] == 'q') && value.is_nonempty())
return true;
« no previous file with comments | « components/google/core/browser/google_url_tracker_unittest.cc ('k') | components/google_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698