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

Unified Diff: chrome/browser/apps/drive/drive_app_mapping.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
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | chrome/browser/banners/app_banner_settings_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/drive/drive_app_mapping.cc
diff --git a/chrome/browser/apps/drive/drive_app_mapping.cc b/chrome/browser/apps/drive/drive_app_mapping.cc
index 73b08b5abe963e52b85918317cf6f1ff4b61ba86..ea8fb0f8e5ce6d47f65a199c44f7bcccef7a0f0d 100644
--- a/chrome/browser/apps/drive/drive_app_mapping.cc
+++ b/chrome/browser/apps/drive/drive_app_mapping.cc
@@ -84,7 +84,7 @@ std::string DriveAppMapping::GetDriveApp(
it.Advance()) {
const base::DictionaryValue* info_dict;
std::string value_string;
- DCHECK(it.value().IsType(base::Value::TYPE_DICTIONARY));
+ DCHECK(it.value().IsType(base::Value::Type::DICTIONARY));
if (it.value().GetAsDictionary(&info_dict) &&
info_dict->GetStringWithoutPathExpansion(kKeyChromeApp,
&value_string) &&
@@ -104,7 +104,7 @@ bool DriveAppMapping::IsChromeAppGenerated(
const base::DictionaryValue* info_dict;
std::string value_string;
bool generated = false;
- DCHECK(it.value().IsType(base::Value::TYPE_DICTIONARY));
+ DCHECK(it.value().IsType(base::Value::Type::DICTIONARY));
if (it.value().GetAsDictionary(&info_dict) &&
info_dict->GetStringWithoutPathExpansion(kKeyChromeApp,
&value_string) &&
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | chrome/browser/banners/app_banner_settings_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698