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

Unified Diff: chrome/browser/search_engines/template_url_model.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/search_engines/template_url.cc ('k') | chrome/browser/sessions/session_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search_engines/template_url_model.cc
===================================================================
--- chrome/browser/search_engines/template_url_model.cc (revision 54340)
+++ chrome/browser/search_engines/template_url_model.cc (working copy)
@@ -6,6 +6,7 @@
#include "app/l10n_util.h"
#include "base/stl_util-inl.h"
+#include "base/string_number_conversions.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/extensions/extensions_service.h"
#include "chrome/browser/google_url_tracker.h"
@@ -818,11 +819,11 @@
prefs->SetString(prefs::kDefaultSearchProviderName, name);
const std::string id_string =
- t_url ? Int64ToString(t_url->id()) : std::string();
+ t_url ? base::Int64ToString(t_url->id()) : std::string();
prefs->SetString(prefs::kDefaultSearchProviderID, id_string);
const std::string prepopulate_id =
- t_url ? Int64ToString(t_url->prepopulate_id()) : std::string();
+ t_url ? base::Int64ToString(t_url->prepopulate_id()) : std::string();
prefs->SetString(prefs::kDefaultSearchProviderPrepopulateID, prepopulate_id);
prefs->ScheduleSavePersistentPrefs();
« no previous file with comments | « chrome/browser/search_engines/template_url.cc ('k') | chrome/browser/sessions/session_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698