Chromium Code Reviews| 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 */ | |
| 51 ) | |
|
tbarzic
2013/10/23 00:30:24
nit: ) to the line before
mef
2013/10/23 13:00:24
Done.
| |
| 50 | 52 |
| 51 // Request new scan of the network. | 53 // Request new scan of the network. |
| 52 IPC_MESSAGE_CONTROL0(NetworkingPrivateMsg_RequestNetworkScan) | 54 IPC_MESSAGE_CONTROL0(NetworkingPrivateMsg_RequestNetworkScan) |
| 53 | 55 |
| 54 //------------------------------------------------------------------------------ | 56 //------------------------------------------------------------------------------ |
| 55 // Utility process host messages: | 57 // Utility process host messages: |
| 56 // These are messages from the utility process to the browser. They are handled | 58 // These are messages from the utility process to the browser. They are handled |
| 57 // by NetworkingPrivateClient. | 59 // by NetworkingPrivateClient. |
| 58 | 60 |
| 59 // Reply when the utility process API call has returned an error. | 61 // 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 | 96 // |network_guids| is list of std::string objects containing network guids of |
| 95 // networks that have changed. | 97 // networks that have changed. |
| 96 IPC_MESSAGE_CONTROL1(NetworkingPrivateMsg_NetworksChanged_Event, | 98 IPC_MESSAGE_CONTROL1(NetworkingPrivateMsg_NetworksChanged_Event, |
| 97 std::vector<std::string> /* list of network_guids */) | 99 std::vector<std::string> /* list of network_guids */) |
| 98 | 100 |
| 99 // Event generated when list of visible networks is changed. | 101 // Event generated when list of visible networks is changed. |
| 100 // |network_guids| is list of std::string objects containing list of visible | 102 // |network_guids| is list of std::string objects containing list of visible |
| 101 // networks' guids. | 103 // networks' guids. |
| 102 IPC_MESSAGE_CONTROL1(NetworkingPrivateMsg_NetworkListChanged_Event, | 104 IPC_MESSAGE_CONTROL1(NetworkingPrivateMsg_NetworkListChanged_Event, |
| 103 std::vector<std::string> /* list of network_guids */) | 105 std::vector<std::string> /* list of network_guids */) |
| OLD | NEW |