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

Unified Diff: chrome/browser/google_apis/gdata_wapi_url_generator.cc

Issue 14240004: Small clean up of GDataWapiUrlGenerator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
Index: chrome/browser/google_apis/gdata_wapi_url_generator.cc
diff --git a/chrome/browser/google_apis/gdata_wapi_url_generator.cc b/chrome/browser/google_apis/gdata_wapi_url_generator.cc
index bfd6ff40337cff1d89a19603bf903d6bf102fd6f..afb5eaa6df9afa2eb993d35619ecbfc53e0ed9e0 100644
--- a/chrome/browser/google_apis/gdata_wapi_url_generator.cc
+++ b/chrome/browser/google_apis/gdata_wapi_url_generator.cc
@@ -6,6 +6,7 @@
#include "base/logging.h"
#include "base/stringprintf.h"
+#include "base/strings/string_number_conversions.h"
#include "googleurl/src/gurl.h"
#include "net/base/escape.h"
#include "net/base/url_util.h"
@@ -80,16 +81,11 @@ GURL GDataWapiUrlGenerator::AddFeedUrlParams(
result = net::AppendOrReplaceQueryParameter(result, "showfolders", "true");
result = net::AppendOrReplaceQueryParameter(result, "include-shared", "true");
result = net::AppendOrReplaceQueryParameter(
- result,
- "max-results",
- base::StringPrintf("%d", num_items_to_fetch));
- result = net::AppendOrReplaceQueryParameter(
- result, "include-installed-apps", "true");
+ result, "max-results", base::IntToString(num_items_to_fetch));
if (changestamp) {
- result = net::AppendQueryParameter(result,
- "start-index",
- base::StringPrintf("%d", changestamp));
+ result = net::AppendQueryParameter(
+ result, "start-index", base::IntToString(changestamp));
kinaba 2013/04/18 09:47:45 This is not directly related to this patch, but I'
}
if (!search_string.empty()) {

Powered by Google App Engine
This is Rietveld 408576698