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

Unified Diff: chrome/browser/notifications/notifications_prefs_cache.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/browser/notifications/notifications_prefs_cache.cc
diff --git a/chrome/browser/notifications/notifications_prefs_cache.cc b/chrome/browser/notifications/notifications_prefs_cache.cc
index 2fec1e88c6e5d60ddf417a71518a7b8aae2b5610..4a60a956111f0b64d7835a924b455d6d4f5aac7d 100644
--- a/chrome/browser/notifications/notifications_prefs_cache.cc
+++ b/chrome/browser/notifications/notifications_prefs_cache.cc
@@ -55,10 +55,10 @@ void NotificationsPrefsCache::ListValueToGurlVector(
const ListValue& origin_list,
std::vector<GURL>* origin_vector) {
ListValue::const_iterator i;
- std::wstring origin;
+ std::string origin;
for (i = origin_list.begin(); i != origin_list.end(); ++i) {
(*i)->GetAsString(&origin);
- origin_vector->push_back(GURL(WideToUTF8(origin)));
+ origin_vector->push_back(GURL(origin));
}
}
« no previous file with comments | « chrome/browser/importer/importer_bridge.cc ('k') | chrome/browser/policy/config_dir_policy_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698