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

Unified Diff: chrome/installer/util/master_preferences_dummy.cc

Issue 3117017: Remove deprecated wstring Get(As)String() methods from Value, etc. (Closed)
Patch Set: fix win Created 10 years, 4 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: chrome/installer/util/master_preferences_dummy.cc
diff --git a/chrome/installer/util/master_preferences_dummy.cc b/chrome/installer/util/master_preferences_dummy.cc
index 44131871470522ec0ff792e2a11a1d2917b16902..f11a4450e64a5aa3a9a1318340fe1acd6c154be2 100644
--- a/chrome/installer/util/master_preferences_dummy.cc
+++ b/chrome/installer/util/master_preferences_dummy.cc
@@ -19,7 +19,7 @@
namespace installer_util {
bool GetDistroBooleanPreference(const DictionaryValue* prefs,
- const std::wstring& name,
+ const std::string& name,
bool* value) {
// This function is called by InstallUtil::IsChromeFrameProcess()
// We return false because GetInstallPreferences returns an empty value below.
@@ -27,7 +27,7 @@ bool GetDistroBooleanPreference(const DictionaryValue* prefs,
}
bool GetDistroIntegerPreference(const DictionaryValue* prefs,
- const std::wstring& name,
+ const std::string& name,
int* value) {
NOTREACHED();
return false;
@@ -56,7 +56,7 @@ std::vector<GURL> GetDefaultBookmarks(const DictionaryValue* prefs) {
}
bool SetDistroBooleanPreference(DictionaryValue* prefs,
- const std::wstring& name,
+ const std::string& name,
bool value) {
NOTREACHED();
return false;
« no previous file with comments | « chrome/installer/util/master_preferences_constants.cc ('k') | chrome/installer/util/master_preferences_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698