summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/extension_proxy.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-31 17:29:25 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-31 17:29:25 +0000
commite83326f8400791e92875546b2fd1885a3a17d1b1 (patch)
treeedbe773208b1a9f6965b45b55da10afd210ea7bb /chrome/test/automation/extension_proxy.cc
parent8e0a03bf3b1aacaa7a2bc2561d8eb1b83eb9c2e5 (diff)
downloadchromium_src-e83326f8400791e92875546b2fd1885a3a17d1b1.zip
chromium_src-e83326f8400791e92875546b2fd1885a3a17d1b1.tar.gz
chromium_src-e83326f8400791e92875546b2fd1885a3a17d1b1.tar.bz2
Convert more callers of the integer/string functions to using
string_number_conversions.h TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3013046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/extension_proxy.cc')
-rw-r--r--chrome/test/automation/extension_proxy.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/test/automation/extension_proxy.cc b/chrome/test/automation/extension_proxy.cc
index 66aa8e8..29fd54c 100644
--- a/chrome/test/automation/extension_proxy.cc
+++ b/chrome/test/automation/extension_proxy.cc
@@ -4,6 +4,7 @@
#include "chrome/test/automation/extension_proxy.h"
+#include "base/string_number_conversions.h"
#include "chrome/test/automation/automation_messages.h"
#include "chrome/test/automation/automation_proxy.h"
#include "chrome/test/automation/browser_proxy.h"
@@ -94,7 +95,7 @@ bool ExtensionProxy::GetBrowserActionIndex(int* index) {
// Do not modify |index| until we are sure we can get the value, just to be
// nice to the caller.
int converted_index;
- if (!StringToInt(index_string, &converted_index)) {
+ if (!base::StringToInt(index_string, &converted_index)) {
LOG(ERROR) << "Received index string could not be converted to int: "
<< index_string;
return false;