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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/me2me_preference_pane.h
diff --git a/remoting/host/me2me_preference_pane.h b/remoting/host/me2me_preference_pane.h
index 7b93d8d546a78d7722f71763d9944847816490be..52e6ad5fef274dcf7c622bbba8ee06c3ab221779 100644
--- a/remoting/host/me2me_preference_pane.h
+++ b/remoting/host/me2me_preference_pane.h
@@ -107,4 +107,9 @@ class JsonHostConfig {
inputData:(const std::string&)input_data;
- (BOOL)sendJobControlMessage:(const char*)launch_key;
+// Compare the version of the running pref-pane against the installed version.
+// If the versions are mismatched, return YES and restart the System
+// Preferences application, so the correct version of this pref-pane is loaded.
+- (BOOL)restartPanelIfDifferentVersionInstalled;
+
@end

Powered by Google App Engine
This is Rietveld 408576698