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

Unified Diff: chrome/browser/autofill/auto_fill_editor_gtk.cc

Issue 3056029: Move the number conversions from string_util to a new file.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/autofill/credit_card.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/auto_fill_editor_gtk.cc
===================================================================
--- chrome/browser/autofill/auto_fill_editor_gtk.cc (revision 54340)
+++ chrome/browser/autofill/auto_fill_editor_gtk.cc (working copy)
@@ -13,6 +13,7 @@
#include "base/string_util.h"
#include "base/task.h"
#include "base/time.h"
+#include "base/string_number_conversions.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/autofill/personal_data_manager.h"
#include "chrome/browser/autofill/phone_number.h"
@@ -887,14 +888,14 @@
if (selected_month_index == -1)
selected_month_index = 0;
card->SetInfo(AutoFillType(CREDIT_CARD_EXP_MONTH),
- IntToString16(selected_month_index + 1));
+ base::IntToString16(selected_month_index + 1));
int selected_year_index =
gtk_combo_box_get_active(GTK_COMBO_BOX(year_));
if (selected_year_index == -1)
selected_year_index = 0;
card->SetInfo(AutoFillType(CREDIT_CARD_EXP_4_DIGIT_YEAR),
- IntToString16(selected_year_index + base_year_));
+ base::IntToString16(selected_year_index + base_year_));
}
void AutoFillCreditCardEditor::UpdateOkButton() {
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/autofill/credit_card.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698