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

Unified Diff: remoting/host/me2me_preference_pane.mm

Issue 10411062: Notify plugin when disabling daemon. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/me2me_preference_pane.mm
diff --git a/remoting/host/me2me_preference_pane.mm b/remoting/host/me2me_preference_pane.mm
index 5dd127e32aac080d7ef7ec6a13625112f524b2e0..8f8d0a45f9533761859d79266831f58a62f0c52a 100644
--- a/remoting/host/me2me_preference_pane.mm
+++ b/remoting/host/me2me_preference_pane.mm
@@ -226,12 +226,15 @@ std::string JsonHostConfig::GetSerializedData() const {
inputData:""]) {
LOG(ERROR) << "Failed to run the helper tool";
[self showError];
+ [self notifyPlugin: kUpdateFailedNotificationName];
return;
}
// Stop the launchd job. This cannot easily be done by the helper tool,
// since the launchd job runs in the current user's context.
[self sendJobControlMessage:LAUNCH_KEY_STOPJOB];
+
+ [self notifyPlugin: kUpdateSucceededNotificationName];
}
- (void)onNewConfigFile:(NSNotification*)notification {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698