diff options
author | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-21 23:08:28 +0000 |
---|---|---|
committer | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-21 23:08:28 +0000 |
commit | f7ce07599d09b358e9a8586df561b8c369776c04 (patch) | |
tree | bcb85257363d2b61648ef1d835b8431f33758844 /remoting | |
parent | ccb8aaca9c22a7befa0627de6d8c3367e4f1326b (diff) | |
download | chromium_src-f7ce07599d09b358e9a8586df561b8c369776c04.zip chromium_src-f7ce07599d09b358e9a8586df561b8c369776c04.tar.gz chromium_src-f7ce07599d09b358e9a8586df561b8c369776c04.tar.bz2 |
Notify plugin when disabling daemon.
BUG=129059
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/10411062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138165 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/me2me_preference_pane.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/host/me2me_preference_pane.mm b/remoting/host/me2me_preference_pane.mm index 5dd127e..8f8d0a4 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 { |