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

Unified Diff: remoting/host/elevated_controller.idl

Issue 9953002: The me2me host is now configurable from the web UI on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed one or two nits. :-) Created 8 years, 9 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
« no previous file with comments | « remoting/host/branding.cc ('k') | remoting/host/elevated_controller_module_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/elevated_controller.idl
diff --git a/remoting/host/elevated_controller.idl b/remoting/host/elevated_controller.idl
index f5f745ab5bbb3642d854b79f855b4ea03c43e171..06ba0b51c2d4487a5fb37b2dbae0dc236555d9c8 100644
--- a/remoting/host/elevated_controller.idl
+++ b/remoting/host/elevated_controller.idl
@@ -5,13 +5,6 @@
import "oaidl.idl";
import "ocidl.idl";
-typedef enum DaemonState {
- DAEMON_STATE_STOPPED,
- DAEMON_STATE_STARTING,
- DAEMON_STATE_STARTED,
- DAEMON_STATE_STOPPING
-} DaemonState;
-
[
object,
uuid(e6c5f02a-2486-4bf0-b13f-f39be260b917),
@@ -21,19 +14,16 @@ typedef enum DaemonState {
pointer_default(unique)
]
interface IDaemonControl: IDispatch {
- [ propget, id(1), helpstring("Returns current state of the daemon.") ]
- HRESULT State([out, retval] DaemonState* state_out);
-
- [ id(2), helpstring("Reads the daemon configuration.") ]
- HRESULT ReadConfig([out, retval] BSTR* config_out);
+ [ id(1), helpstring("Reads the daemon configuration.") ]
+ HRESULT GetConfig([out, retval] BSTR* config_out);
- [ id(3), helpstring("Writes the daemon configuration.") ]
- HRESULT WriteConfig([in] BSTR config);
+ [ id(2), helpstring("Writes the daemon configuration.") ]
+ HRESULT SetConfig([in] BSTR config);
- [ id(4), helpstring("Starts the daemon.") ]
+ [ id(3), helpstring("Starts the daemon.") ]
HRESULT StartDaemon();
- [ id(5), helpstring("Stops the daemon.") ]
+ [ id(4), helpstring("Stops the daemon.") ]
HRESULT StopDaemon();
};
@@ -46,21 +36,10 @@ library ChromotingElevatedControllerLib {
importlib("stdole2.tlb");
[
- uuid(3ca3adb6-2dea-4c74-b267-610fef11e4ff),
- dual,
- helpstring("IDaemonEvents Interface")
- ]
- interface IDaemonEvents: IDispatch {
- [ id(1), helpstring("method OnStateChange") ]
- void OnStateChange([in] DaemonState state);
- };
-
- [
uuid(430a9403-8176-4733-afdc-0b325a8fda84),
helpstring("ElevatedController Class")
]
coclass ElevatedController {
[default] interface IDaemonControl;
- [default, source] interface IDaemonEvents;
};
};
« no previous file with comments | « remoting/host/branding.cc ('k') | remoting/host/elevated_controller_module_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698