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

Side by Side Diff: chrome/browser/chromeos/cros/mock_network_library.h

Issue 3036020: Port network options to DOM UI. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 months 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 | « no previous file | chrome/browser/chromeos/cros/network_library.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/chromeos/cros/network_library.h" 10 #include "chrome/browser/chromeos/cros/network_library.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const std::string&)); 58 const std::string&));
59 MOCK_METHOD5(ConnectToWifiNetwork, void(const std::string&, 59 MOCK_METHOD5(ConnectToWifiNetwork, void(const std::string&,
60 const std::string&, 60 const std::string&,
61 const std::string&, 61 const std::string&,
62 const std::string&, 62 const std::string&,
63 bool)); 63 bool));
64 MOCK_METHOD1(ConnectToCellularNetwork, void(CellularNetwork)); 64 MOCK_METHOD1(ConnectToCellularNetwork, void(CellularNetwork));
65 MOCK_METHOD1(DisconnectFromWirelessNetwork, void(const WirelessNetwork&)); 65 MOCK_METHOD1(DisconnectFromWirelessNetwork, void(const WirelessNetwork&));
66 MOCK_METHOD1(SaveCellularNetwork, void(const CellularNetwork&)); 66 MOCK_METHOD1(SaveCellularNetwork, void(const CellularNetwork&));
67 MOCK_METHOD1(SaveWifiNetwork, void(const WifiNetwork&)); 67 MOCK_METHOD1(SaveWifiNetwork, void(const WifiNetwork&));
68 MOCK_METHOD1(ForgetWirelessNetwork, void(const WirelessNetwork&)); 68 MOCK_METHOD1(ForgetWirelessNetwork, void(const std::string&));
69 69
70 MOCK_CONST_METHOD0(ethernet_available, bool(void)); 70 MOCK_CONST_METHOD0(ethernet_available, bool(void));
71 MOCK_CONST_METHOD0(wifi_available, bool(void)); 71 MOCK_CONST_METHOD0(wifi_available, bool(void));
72 MOCK_CONST_METHOD0(cellular_available, bool(void)); 72 MOCK_CONST_METHOD0(cellular_available, bool(void));
73 73
74 MOCK_CONST_METHOD0(ethernet_enabled, bool(void)); 74 MOCK_CONST_METHOD0(ethernet_enabled, bool(void));
75 MOCK_CONST_METHOD0(wifi_enabled, bool(void)); 75 MOCK_CONST_METHOD0(wifi_enabled, bool(void));
76 MOCK_CONST_METHOD0(cellular_enabled, bool(void)); 76 MOCK_CONST_METHOD0(cellular_enabled, bool(void));
77 77
78 MOCK_CONST_METHOD0(offline_mode, bool(void)); 78 MOCK_CONST_METHOD0(offline_mode, bool(void));
79 79
80 MOCK_METHOD1(EnableEthernetNetworkDevice, void(bool)); 80 MOCK_METHOD1(EnableEthernetNetworkDevice, void(bool));
81 MOCK_METHOD1(EnableWifiNetworkDevice, void(bool)); 81 MOCK_METHOD1(EnableWifiNetworkDevice, void(bool));
82 MOCK_METHOD1(EnableCellularNetworkDevice, void(bool)); 82 MOCK_METHOD1(EnableCellularNetworkDevice, void(bool));
83 MOCK_METHOD1(EnableOfflineMode, void(bool)); 83 MOCK_METHOD1(EnableOfflineMode, void(bool));
84 MOCK_METHOD1(GetIPConfigs, NetworkIPConfigVector(const std::string&)); 84 MOCK_METHOD1(GetIPConfigs, NetworkIPConfigVector(const std::string&));
85 MOCK_METHOD1(GetHtmlInfo, std::string(int)); 85 MOCK_METHOD1(GetHtmlInfo, std::string(int));
86 }; 86 };
87 87
88 } // namespace chromeos 88 } // namespace chromeos
89 89
90 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ 90 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/network_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698