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

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
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 // XP does not accepte endpont name longer that 52.
16 const int kMaxEndpointSize = 52;
17
18 // Gets endpoint uniq to this instance of server.
Sigurður Ásgeirsson 2010/11/30 13:47:48 uniq->unique
Vitaly Buka (NO REVIEWS) 2010/12/01 01:20:12 Done.
19 // Returns length of endpoint. Check if this value is less or equal to max_size.
20 // @param max_size array's size to accept endpint.
21 // @param endpint pointer to array to accept endpint.
22 int GetServerEndpoint([in, range(0, kMaxEndpointSize + 1)] int max_size,
23 [out, size_is(max_size), string] wchar_t* endpoint);
24
15 // @name Implementation specific calls. 25 // @name Implementation specific calls.
16 // @{ 26 // @{
17 // Returns context handle for new client. 27 // Returns context handle for new client.
18 BrokerContextHandle Connect( 28 BrokerContextHandle Connect( [in] handle_t binding_handle);
19 [in] handle_t binding_handle);
20 29
21 // Release context handle. 30 // Release context handle.
22 void Disconnect( 31 void Disconnect([in] handle_t binding_handle,
23 [in] handle_t binding_handle, 32 [in, out] BrokerContextHandle* context);
24 [in, out] BrokerContextHandle* context);
25 // @} 33 // @}
26 34
27 // @name Remote calls. 35 // @name Remote calls.
28 // @{ 36 // @{
29 // Fires event to broker. 37 // Fires event to broker.
30 void FireEvent( 38 void FireEvent([in] handle_t binding_handle,
31 [in] handle_t binding_handle, 39 [in, string] const char* event_name,
32 [in, string] const char* event_name, 40 [in, string] const char* event_args);
33 [in, string] const char* event_args);
34 41
35 void SendUmaHistogramTimes( 42 void SendUmaHistogramTimes([in] handle_t binding_handle,
36 [in] handle_t binding_handle, 43 [in, string] const char* name,
37 [in, string] const char* name, 44 [in] int sample);
38 [in] int sample);
39 45
40 void SendUmaHistogramData( 46 void SendUmaHistogramData([in] handle_t binding_handle,
41 [in] handle_t binding_handle, 47 [in, string] const char* name,
42 [in, string] const char* name, 48 [in] int sample,
43 [in] int sample, 49 [in] int min,
44 [in] int min, 50 [in] int max,
45 [in] int max, 51 [in] int bucket_count);
46 [in] int bucket_count);
47 // @} 52 // @}
48 } 53 }
49 54
50 // This dummy library statement enforces the creation of a history_indexer.tlb. 55 // This dummy library statement enforces the creation of a history_indexer.tlb.
51 // This is necessary since MSVC assumes a .idl always creates a .tlb. Otherwise, 56 // This is necessary since MSVC assumes a .idl always creates a .tlb. Otherwise,
52 // this .idl is always recompiled, giving many engs a headache. 57 // this .idl is always recompiled, giving many engs a headache.
53 [ 58 [
54 uuid(B696C552-D640-4756-BE75-B86BE2AEB6C7), 59 uuid(B696C552-D640-4756-BE75-B86BE2AEB6C7),
55 helpstring("Dummy library") 60 helpstring("Dummy library")
56 ] 61 ]
57 library broker_rcp_lib 62 library broker_rcp_lib
58 { 63 {
59 }; 64 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698