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

Side by Side Diff: remoting/host/me2me_preference_pane.h

Issue 10413065: Restart Mac pref-pane if version mismatch detected (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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, return YES and restart the System
112 // Preferences application, so the correct version of this pref-pane is loaded.
113 - (BOOL)restartPanelIfDifferentVersionInstalled;
114
110 @end 115 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698