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 "oaidl.idl"; | 5 import "oaidl.idl"; |
6 import "ocidl.idl"; | 6 import "ocidl.idl"; |
7 | 7 |
8 [ | 8 [ |
9 object, | 9 object, |
10 uuid(e051a481-6345-4ba1-bdb1-cf7929955268), | 10 uuid(e051a481-6345-4ba1-bdb1-cf7929955268), |
(...skipping 28 matching lines...) Expand all Loading... |
39 HRESULT StopDaemon(); | 39 HRESULT StopDaemon(); |
40 | 40 |
41 [ id(7), helpstring("Modifies the existing daemon's configuration by " | 41 [ id(7), helpstring("Modifies the existing daemon's configuration by " |
42 "merging it with the specified settings. The 'host_id' " | 42 "merging it with the specified settings. The 'host_id' " |
43 "and 'xmpp_login' values cannot be modified, and must " | 43 "and 'xmpp_login' values cannot be modified, and must " |
44 "not be passed to this method.") ] | 44 "not be passed to this method.") ] |
45 HRESULT UpdateConfig([in] BSTR config); | 45 HRESULT UpdateConfig([in] BSTR config); |
46 }; | 46 }; |
47 | 47 |
48 [ | 48 [ |
| 49 object, |
| 50 uuid(655bd819-c08c-4b04-80c2-f160739ff6ef), |
| 51 dual, |
| 52 nonextensible, |
| 53 helpstring("IDaemonControl2 Interface"), |
| 54 pointer_default(unique) |
| 55 ] |
| 56 interface IDaemonControl2: IDaemonControl { |
| 57 [ id(8), helpstring("Retrieves the user's consent to collect crash dumps " |
| 58 "and gather usage statistics.") ] |
| 59 HRESULT GetUsageStatsConsent([out] BOOL* allowed, |
| 60 [out] BOOL* set_by_policy); |
| 61 |
| 62 [ id(9), helpstring("Records the user's consent to collect crash dumps " |
| 63 "and gather usage statistics.") ] |
| 64 HRESULT SetUsageStatsConsent([in] BOOL allowed); |
| 65 }; |
| 66 |
| 67 [ |
49 uuid(9d9a5a2c-576e-4acd-9c75-aabff74b205d), | 68 uuid(9d9a5a2c-576e-4acd-9c75-aabff74b205d), |
50 version(1.0), | 69 version(1.1), |
51 helpstring("Chromoting Elevated Controller 1.0 Type Library") | 70 helpstring("Chromoting Elevated Controller 1.1 Type Library") |
52 ] | 71 ] |
53 library ChromotingElevatedControllerLib { | 72 library ChromotingElevatedControllerLib { |
54 importlib("stdole2.tlb"); | 73 importlib("stdole2.tlb"); |
55 | 74 |
56 [ | 75 [ |
57 uuid(430a9403-8176-4733-afdc-0b325a8fda84), | 76 uuid(430a9403-8176-4733-afdc-0b325a8fda84), |
58 helpstring("ElevatedController Class") | 77 helpstring("ElevatedController Class") |
59 ] | 78 ] |
60 coclass ElevatedController { | 79 coclass ElevatedController { |
61 [default] interface IDaemonControl; | 80 [default] interface IDaemonControl2; |
62 }; | 81 }; |
63 }; | 82 }; |
OLD | NEW |