diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-03 14:39:42 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-03 14:39:42 +0000 |
commit | c9c07779224d9dd320323943a569dbf2e416a411 (patch) | |
tree | a040e1ca03410c7cb37547b16b5a0fb8bea67dde /chrome/service | |
parent | be1ce6a7b2fa7e9622e5b249abd5fab478b6ca05 (diff) | |
download | chromium_src-c9c07779224d9dd320323943a569dbf2e416a411.zip chromium_src-c9c07779224d9dd320323943a569dbf2e416a411.tar.gz chromium_src-c9c07779224d9dd320323943a569dbf2e416a411.tar.bz2 |
Remove number conversion functions from string_util. These moved to string_number_conversions.
TEST=it compiles
BUG=none
Review URL: http://codereview.chromium.org/3054036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54747 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service')
-rw-r--r-- | chrome/service/cloud_print/print_system_cups.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/service/cloud_print/print_system_cups.cc b/chrome/service/cloud_print/print_system_cups.cc index 265e1d3..c1085e4 100644 --- a/chrome/service/cloud_print/print_system_cups.cc +++ b/chrome/service/cloud_print/print_system_cups.cc @@ -20,6 +20,7 @@ #include "base/logging.h" #include "base/message_loop.h" #include "base/rand_util.h" +#include "base/string_number_conversions.h" #include "base/string_util.h" #include "base/task.h" #include "base/utf_string_conversions.h" @@ -298,7 +299,7 @@ void PrintSystemCUPS::EnumeratePrinters(PrinterList* printer_list) { const char* state = cupsGetOption(kCUPSPrinterStateOpt, printer.num_options, printer.options); if (state != NULL) - StringToInt(state, &printer_info.printer_status); + base::StringToInt(state, &printer_info.printer_status); // Store printer options. for (int opt_index = 0; opt_index < printer.num_options; opt_index++) { @@ -467,7 +468,7 @@ std::string PrintSystem::GenerateProxyId() { // unique for this user. Rand may return the same number. We'll need to change // this in the future. std::string id("CP_PROXY_"); - id += Uint64ToString(base::RandUint64()); + id += base::Uint64ToString(base::RandUint64()); return id; } |