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

Unified Diff: extensions/common/permissions/media_galleries_permission_data.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: extensions/common/permissions/media_galleries_permission_data.cc
diff --git a/extensions/common/permissions/media_galleries_permission_data.cc b/extensions/common/permissions/media_galleries_permission_data.cc
index 13f7d93d38c736d37db697ed34baf6f95c1e0026..330923de9424bb6fb7bf60b8e79c73da354f87b2 100644
--- a/extensions/common/permissions/media_galleries_permission_data.cc
+++ b/extensions/common/permissions/media_galleries_permission_data.cc
@@ -24,7 +24,7 @@ bool MediaGalleriesPermissionData::Check(
}
std::unique_ptr<base::Value> MediaGalleriesPermissionData::ToValue() const {
- return std::unique_ptr<base::Value>(new base::StringValue(permission_));
+ return std::unique_ptr<base::Value>(new base::Value(permission_));
}
bool MediaGalleriesPermissionData::FromValue(const base::Value* value) {
« no previous file with comments | « extensions/common/extension_l10n_util.cc ('k') | extensions/common/permissions/settings_override_permission.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698