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

Unified Diff: chrome/browser/chromeos/file_manager/file_tasks.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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/chromeos/file_manager/file_tasks.cc
diff --git a/chrome/browser/chromeos/file_manager/file_tasks.cc b/chrome/browser/chromeos/file_manager/file_tasks.cc
index fe086cd0aeba1909f81d3360062ccc486eb21e12..10ce4d3ecf8414f770479f9ea9f3866ae9e5cca3 100644
--- a/chrome/browser/chromeos/file_manager/file_tasks.cc
+++ b/chrome/browser/chromeos/file_manager/file_tasks.cc
@@ -198,7 +198,7 @@ void UpdateDefaultTask(PrefService* pref_service,
prefs::kDefaultTasksByMimeType);
for (std::set<std::string>::const_iterator iter = mime_types.begin();
iter != mime_types.end(); ++iter) {
- base::StringValue* value = new base::StringValue(task_id);
+ base::Value* value = new base::Value(task_id);
mime_type_pref->SetWithoutPathExpansion(*iter, value);
}
}
@@ -208,7 +208,7 @@ void UpdateDefaultTask(PrefService* pref_service,
prefs::kDefaultTasksBySuffix);
for (std::set<std::string>::const_iterator iter = suffixes.begin();
iter != suffixes.end(); ++iter) {
- base::StringValue* value = new base::StringValue(task_id);
+ base::Value* value = new base::Value(task_id);
// Suffixes are case insensitive.
std::string lower_suffix = base::ToLowerASCII(*iter);
mime_type_pref->SetWithoutPathExpansion(lower_suffix, value);

Powered by Google App Engine
This is Rietveld 408576698