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

Unified Diff: extensions/browser/api/cast_channel/cast_channel_api.cc

Issue 2539363004: Make base::Value::TYPE a scoped enum. (Closed)
Patch Set: Rebase Created 4 years 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/browser/api/cast_channel/cast_channel_api.cc
diff --git a/extensions/browser/api/cast_channel/cast_channel_api.cc b/extensions/browser/api/cast_channel/cast_channel_api.cc
index cc16c39b29956d3f6314aebe906a220a6833339f..dc4da0f029862c045b7e8da623496221916810dd 100644
--- a/extensions/browser/api/cast_channel/cast_channel_api.cc
+++ b/extensions/browser/api/cast_channel/cast_channel_api.cc
@@ -379,8 +379,8 @@ bool CastChannelSendFunction::Prepare() {
return false;
}
switch (params_->message.data->GetType()) {
- case base::Value::TYPE_STRING:
- case base::Value::TYPE_BINARY:
+ case base::Value::Type::STRING:
+ case base::Value::Type::BINARY:
break;
default:
SetError("Invalid type of message_info.data");
« no previous file with comments | « device/geolocation/network_location_request.cc ('k') | extensions/browser/api/cast_channel/cast_message_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698