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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.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/tab_contents/render_view_context_menu.cc
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc
index 9a4fbd393cbd428894ee6f3c014cabf9c8c02cbf..7f72b09c709f1bab47741a6c2f469f22d6be0c4c 100644
--- a/chrome/browser/tab_contents/render_view_context_menu.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc
@@ -533,7 +533,7 @@ void RenderViewContextMenu::AppendPlatformAppItems() {
PrintableSelectionText(), &index);
// Add dev tools for unpacked extensions.
- if (platform_app->location() == Extension::LOAD ||
+ if (platform_app->location() == extensions::Manifest::LOAD ||
CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDebugPackedApps)) {
// Add a separator if there are any items already in the menu.
« no previous file with comments | « chrome/browser/sync/test/integration/themes_helper.cc ('k') | chrome/browser/themes/browser_theme_pack_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698