Chromium Code Reviews| Index: remoting/host/me2me_preference_pane.mm |
| diff --git a/remoting/host/me2me_preference_pane.mm b/remoting/host/me2me_preference_pane.mm |
| index ac33b13eb329ad3a275c923e5725bf0d183b85ce..06b3e84503736084a646a788c9b081909c74d7d9 100644 |
| --- a/remoting/host/me2me_preference_pane.mm |
| +++ b/remoting/host/me2me_preference_pane.mm |
| @@ -327,8 +327,8 @@ std::string JsonHostConfig::GetSerializedData() const { |
| [service_status_timer_ invalidate]; |
| [service_status_timer_ release]; |
| service_status_timer_ = nil; |
| - if (have_new_config_) |
| - [self notifyPlugin:kUpdateFailedNotificationName]; |
| + |
| + [self notifyPlugin:kUpdateFailedNotificationName]; |
| } |
| - (void)applyConfiguration:(id)sender |
| @@ -753,11 +753,9 @@ std::string JsonHostConfig::GetSerializedData() const { |
| NSLog(@"Failed to get path of configuration data."); |
| return; |
| } |
| - if (access(file.c_str(), F_OK) != 0) |
| - return; |
| - remove(file.c_str()); |
| [self notifyPlugin:kUpdateFailedNotificationName]; |
|
Jamie
2012/06/15 23:00:02
I don't think it matters either way, but why have
Lambros
2012/06/15 23:05:14
Wasn't intentional, undone! :)
|
| + remove(file.c_str()); |
| } |
| } |