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

Side by Side Diff: ceee/ie/broker/broker_rpc_lib.idl

Issue 5258006: Restart of ceee_broker on crash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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
« no previous file with comments | « ceee/ie/broker/broker_rpc_client.cc ('k') | ceee/ie/broker/broker_rpc_server.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 import "oaidl.idl"; 1 import "oaidl.idl";
2 import "ocidl.idl"; 2 import "ocidl.idl";
3 3
4 [ 4 [
5 uuid (931C5D3F-A6D7-411B-98ED-789FC9291302), 5 uuid (931C5D3F-A6D7-411B-98ED-789FC9291302),
6 // TODO(vitalybuka@google.com): decide if we need meaningful version. 6 // TODO(vitalybuka@google.com): decide if we need meaningful version.
7 version(1.1), 7 version(1.1),
8 pointer_default(unique), 8 pointer_default(unique),
9 ] 9 ]
10 interface CeeeBroker { 10 interface CeeeBroker {
11 11
12 // Context handle to allow server maintain number of active clients. 12 // Context handle to allow server maintain number of active clients.
13 typedef [context_handle] void* BrokerContextHandle; 13 typedef [context_handle] void* BrokerContextHandle;
14 14
15 // @name Implementation specific calls. 15 // @name Implementation specific calls.
16 // @{ 16 // @{
17 // Returns context handle for new client. 17 // Returns context handle for new client.
18 BrokerContextHandle Connect( 18 BrokerContextHandle Connect([in] handle_t binding_handle);
19 [in] handle_t binding_handle);
20 19
21 // Release context handle. 20 // Release context handle.
22 void Disconnect( 21 void Disconnect([in] handle_t binding_handle,
23 [in] handle_t binding_handle, 22 [in, out] BrokerContextHandle* context);
24 [in, out] BrokerContextHandle* context);
25 // @} 23 // @}
26 24
27 // @name Remote calls. 25 // @name Remote calls.
28 // @{ 26 // @{
29 // Fires event to broker. 27 // Fires event to broker.
30 // @param context is required to avoid execution by wrong broker instance. 28 // @param context is required to avoid execution by wrong broker instance.
31 void FireEvent( 29 void FireEvent([in] handle_t binding_handle,
32 [in] handle_t binding_handle, 30 [in] BrokerContextHandle context,
33 [in] BrokerContextHandle context, 31 [in, string] const char* event_name,
34 [in, string] const char* event_name, 32 [in, string] const char* event_args);
35 [in, string] const char* event_args);
36 33
37 void SendUmaHistogramTimes( 34 void SendUmaHistogramTimes([in] handle_t binding_handle,
38 [in] handle_t binding_handle, 35 [in, string] const char* name,
39 [in, string] const char* name, 36 [in] int sample);
40 [in] int sample);
41 37
42 void SendUmaHistogramData( 38 void SendUmaHistogramData([in] handle_t binding_handle,
43 [in] handle_t binding_handle, 39 [in, string] const char* name,
44 [in, string] const char* name, 40 [in] int sample,
45 [in] int sample, 41 [in] int min,
46 [in] int min, 42 [in] int max,
47 [in] int max, 43 [in] int bucket_count);
48 [in] int bucket_count);
49 // @} 44 // @}
50 } 45 }
51 46
52 // This dummy library statement enforces the creation of a history_indexer.tlb. 47 // This dummy library statement enforces the creation of a history_indexer.tlb.
53 // This is necessary since MSVC assumes a .idl always creates a .tlb. Otherwise, 48 // This is necessary since MSVC assumes a .idl always creates a .tlb. Otherwise,
54 // this .idl is always recompiled, giving many engs a headache. 49 // this .idl is always recompiled, giving many engs a headache.
55 [ 50 [
56 uuid(B696C552-D640-4756-BE75-B86BE2AEB6C7), 51 uuid(B696C552-D640-4756-BE75-B86BE2AEB6C7),
57 helpstring("Dummy library") 52 helpstring("Dummy library")
58 ] 53 ]
59 library broker_rcp_lib 54 library broker_rcp_lib
60 { 55 {
61 }; 56 };
OLDNEW
« no previous file with comments | « ceee/ie/broker/broker_rpc_client.cc ('k') | ceee/ie/broker/broker_rpc_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698