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

Unified Diff: content/browser/geolocation/libgps_wrapper_linux.cc

Issue 6997006: iwyu: Include stringprintf.h where appropriate, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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: content/browser/geolocation/libgps_wrapper_linux.cc
diff --git a/content/browser/geolocation/libgps_wrapper_linux.cc b/content/browser/geolocation/libgps_wrapper_linux.cc
index d09ea013741754cf372d13041bd603a122b249bd..e1d47880cead1e91b686bba12d9894b412443002 100644
--- a/content/browser/geolocation/libgps_wrapper_linux.cc
+++ b/content/browser/geolocation/libgps_wrapper_linux.cc
@@ -8,7 +8,7 @@
#include <errno.h>
#include "base/logging.h"
-#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "content/common/geoposition.h"
namespace {
@@ -108,7 +108,7 @@ bool LibGps::Poll() {
while (DataWaiting()) {
int error = library().poll();
if (error) {
- last_error_ = StringPrintf("poll() returned %d", error);
+ last_error_ = base::StringPrintf("poll() returned %d", error);
Stop();
return false;
}

Powered by Google App Engine
This is Rietveld 408576698