| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 #import <PreferencePanes/PreferencePanes.h> | 6 #import <PreferencePanes/PreferencePanes.h> |
| 7 #import <SecurityInterface/SFAuthorizationView.h> | 7 #import <SecurityInterface/SFAuthorizationView.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 - (void)showIncorrectPinMessage; | 100 - (void)showIncorrectPinMessage; |
| 101 | 101 |
| 102 // Save the new config to the system, and either start the service or inform | 102 // Save the new config to the system, and either start the service or inform |
| 103 // the currently-running service of the new config. | 103 // the currently-running service of the new config. |
| 104 - (void)applyNewServiceConfig; | 104 - (void)applyNewServiceConfig; |
| 105 | 105 |
| 106 - (BOOL)runHelperAsRootWithCommand:(const char*)command | 106 - (BOOL)runHelperAsRootWithCommand:(const char*)command |
| 107 inputData:(const std::string&)input_data; | 107 inputData:(const std::string&)input_data; |
| 108 - (BOOL)sendJobControlMessage:(const char*)launch_key; | 108 - (BOOL)sendJobControlMessage:(const char*)launch_key; |
| 109 | 109 |
| 110 // Compare the version of the running pref-pane against the installed version. |
| 111 // If the versions are mismatched, restart the System Preferences application, |
| 112 // so the correct version of this pref-pane is loaded. |
| 113 - (void)restartPanelIfDifferentVersionInstalled; |
| 114 |
| 110 @end | 115 @end |
| OLD | NEW |