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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.cc

Issue 15947007: Move application restart and relaunch code out of ExtensionService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pafooey Created 7 years, 7 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 145559f96d4d0a23c56a0b1242c737f66c5054d6..9febf86f9d83091367e93966905b4da35f7e02bb 100644
--- a/chrome/browser/tab_contents/render_view_context_menu.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc
@@ -8,6 +8,7 @@
#include <set>
#include <utility>
+#include "apps/app_load_service.h"
#include "base/command_line.h"
#include "base/logging.h"
#include "base/metrics/histogram.h"
@@ -1695,8 +1696,8 @@ void RenderViewContextMenu::ExecuteCommand(int id, int event_flags) {
DCHECK(platform_app);
DCHECK(platform_app->is_platform_app());
- extensions::ExtensionSystem::Get(profile_)->extension_service()->
- RestartExtension(platform_app->id());
+ apps::AppLoadService::Get(profile_)->RestartApplication(
+ platform_app->id());
break;
}

Powered by Google App Engine
This is Rietveld 408576698