OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // Multiply-included message file, so no include guard. | 5 // Multiply-included message file, so no include guard. |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 // Start connect to the network with given GUID. | 37 // Start connect to the network with given GUID. |
38 IPC_MESSAGE_CONTROL2(NetworkingPrivateMsg_StartConnect, | 38 IPC_MESSAGE_CONTROL2(NetworkingPrivateMsg_StartConnect, |
39 int32, /* message_id */ | 39 int32, /* message_id */ |
40 std::string /* network_guid */) | 40 std::string /* network_guid */) |
41 | 41 |
42 // Start disconnect from the network with given GUID. | 42 // Start disconnect from the network with given GUID. |
43 IPC_MESSAGE_CONTROL2(NetworkingPrivateMsg_StartDisconnect, | 43 IPC_MESSAGE_CONTROL2(NetworkingPrivateMsg_StartDisconnect, |
44 int32, /* message_id */ | 44 int32, /* message_id */ |
45 std::string /* network_guid */) | 45 std::string /* network_guid */) |
46 | 46 |
47 // Get list of visible networks. | 47 // Get list of visible networks of certain type according to onc::network_type. |
48 IPC_MESSAGE_CONTROL1(NetworkingPrivateMsg_GetVisibleNetworks, | 48 IPC_MESSAGE_CONTROL2(NetworkingPrivateMsg_GetVisibleNetworks, |
49 int32 /* message_id */) | 49 int32, /* message_id */ |
| 50 std::string /* network_type */) |
50 | 51 |
51 // Request new scan of the network. | 52 // Request new scan of the network. |
52 IPC_MESSAGE_CONTROL0(NetworkingPrivateMsg_RequestNetworkScan) | 53 IPC_MESSAGE_CONTROL0(NetworkingPrivateMsg_RequestNetworkScan) |
53 | 54 |
54 //------------------------------------------------------------------------------ | 55 //------------------------------------------------------------------------------ |
55 // Utility process host messages: | 56 // Utility process host messages: |
56 // These are messages from the utility process to the browser. They are handled | 57 // These are messages from the utility process to the browser. They are handled |
57 // by NetworkingPrivateClient. | 58 // by NetworkingPrivateClient. |
58 | 59 |
59 // Reply when the utility process API call has returned an error. | 60 // Reply when the utility process API call has returned an error. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 // |network_guids| is list of std::string objects containing network guids of | 95 // |network_guids| is list of std::string objects containing network guids of |
95 // networks that have changed. | 96 // networks that have changed. |
96 IPC_MESSAGE_CONTROL1(NetworkingPrivateMsg_NetworksChanged_Event, | 97 IPC_MESSAGE_CONTROL1(NetworkingPrivateMsg_NetworksChanged_Event, |
97 std::vector<std::string> /* list of network_guids */) | 98 std::vector<std::string> /* list of network_guids */) |
98 | 99 |
99 // Event generated when list of visible networks is changed. | 100 // Event generated when list of visible networks is changed. |
100 // |network_guids| is list of std::string objects containing list of visible | 101 // |network_guids| is list of std::string objects containing list of visible |
101 // networks' guids. | 102 // networks' guids. |
102 IPC_MESSAGE_CONTROL1(NetworkingPrivateMsg_NetworkListChanged_Event, | 103 IPC_MESSAGE_CONTROL1(NetworkingPrivateMsg_NetworkListChanged_Event, |
103 std::vector<std::string> /* list of network_guids */) | 104 std::vector<std::string> /* list of network_guids */) |
OLD | NEW |