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

Unified Diff: chrome/browser/ui/webui/extensions/extension_settings_handler.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
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/extensions/extension_settings_handler.cc
diff --git a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
index 7c7eda286072d5af9019e7341d33906edcb00214..1232232cce4773fa4c8a80d925a62f1ccf3faadb 100644
--- a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
+++ b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/ui/webui/extensions/extension_settings_handler.h"
+#include "apps/app_load_service.h"
#include "base/auto_reset.h"
#include "base/base64.h"
#include "base/bind.h"
@@ -675,7 +676,8 @@ void ExtensionSettingsHandler::HandleRestartMessage(const ListValue* args) {
CHECK_EQ(1U, args->GetSize());
std::string extension_id;
CHECK(args->GetString(0, &extension_id));
- extension_service_->RestartExtension(extension_id);
+ apps::AppLoadService::Get(extension_service_->profile())->RestartApplication(
+ extension_id);
}
void ExtensionSettingsHandler::HandleReloadMessage(const ListValue* args) {
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698