OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // Utilities shared by both Broker RPC client and server. | 5 // Utilities shared by both Broker RPC client and server. |
6 | 6 |
7 #ifndef CEEE_IE_BROKER_BROKER_RPC_UTILS_H_ | 7 #ifndef CEEE_IE_BROKER_BROKER_RPC_UTILS_H_ |
8 #define CEEE_IE_BROKER_BROKER_RPC_UTILS_H_ | 8 #define CEEE_IE_BROKER_BROKER_RPC_UTILS_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 // Protocol used for RPC comunication. | 12 // Protocol used for RPC comunication. |
13 extern const wchar_t kRpcProtocol[]; | 13 extern const wchar_t kRpcProtocol[]; |
14 | 14 |
15 // Returns RPC end point. Depends on current session ID and | 15 // Returns RPC end point. Depends on current session ID and |
16 // account used by chrome frame. | 16 // account used by chrome frame. |
17 std::wstring GetRpcEndPointAddress(); | 17 std::wstring GetRpcEndpointAddress(); |
18 | 18 |
19 #endif // CEEE_IE_BROKER_BROKER_RPC_UTILS_H_ | 19 #endif // CEEE_IE_BROKER_BROKER_RPC_UTILS_H_ |
OLD | NEW |