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

Unified Diff: chrome/browser/extensions/api/developer_private/developer_private_api.cc

Issue 11827026: Overhaul JSON Schema Compiler to support a number of features required to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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/extensions/api/developer_private/developer_private_api.cc
diff --git a/chrome/browser/extensions/api/developer_private/developer_private_api.cc b/chrome/browser/extensions/api/developer_private/developer_private_api.cc
index bdda3942c1e17081ff63c8976e71ace6175a0a0d..3f6d9993f99a66b3b5e0bfbd82294321fa9f838e 100644
--- a/chrome/browser/extensions/api/developer_private/developer_private_api.cc
+++ b/chrome/browser/extensions/api/developer_private/developer_private_api.cc
@@ -64,17 +64,17 @@ scoped_ptr<developer::ItemInfo> DeveloperPrivateAPI::CreateItemInfo(
if (item.is_app()) {
if (item.is_legacy_packaged_app())
- info->type = developer::DEVELOPER_PRIVATE_ITEM_TYPE_LEGACY_PACKAGED_APP;
+ info->type = developer::ITEM_TYPE_LEGACY_PACKAGED_APP;
else if (item.is_hosted_app())
- info->type = developer::DEVELOPER_PRIVATE_ITEM_TYPE_HOSTED_APP;
+ info->type = developer::ITEM_TYPE_HOSTED_APP;
else if (item.is_platform_app())
- info->type = developer::DEVELOPER_PRIVATE_ITEM_TYPE_PACKAGED_APP;
+ info->type = developer::ITEM_TYPE_PACKAGED_APP;
else
NOTREACHED();
} else if (item.is_theme()) {
- info->type = developer::DEVELOPER_PRIVATE_ITEM_TYPE_THEME;
+ info->type = developer::ITEM_TYPE_THEME;
} else if (item.is_extension()) {
- info->type = developer::DEVELOPER_PRIVATE_ITEM_TYPE_EXTENSION;
+ info->type = developer::ITEM_TYPE_EXTENSION;
} else {
NOTREACHED();
}

Powered by Google App Engine
This is Rietveld 408576698