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

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.cc

Issue 12093036: Move Extension Location and Type enums to Manifest, and move InstallWarning to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/ui/webui/ntp/app_launcher_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
index 2fa65686335884122dfa8bc0a9b6aa0577bc0d68..b88a40da4bc40fd12a86b2f943d5405a338e41d4 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
@@ -134,7 +134,7 @@ void AppLauncherHandler::CreateAppInfo(
prefs->GetLaunchType(extension,
ExtensionPrefs::LAUNCH_DEFAULT));
value->SetBoolean("is_component",
- extension->location() == Extension::COMPONENT);
+ extension->location() == extensions::Manifest::COMPONENT);
value->SetBoolean("is_webstore",
extension->id() == extension_misc::kWebStoreAppId);

Powered by Google App Engine
This is Rietveld 408576698