Chromium Code Reviews

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

Issue 2901002: Make NetworkLibrary::UpdateSystemInfo() externally usable, and invoke... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | 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 29 matching lines...)
40 MOCK_CONST_METHOD0(cellular_networks, const CellularNetworkVector&(void)); 40 MOCK_CONST_METHOD0(cellular_networks, const CellularNetworkVector&(void));
41 MOCK_CONST_METHOD0(remembered_cellular_networks, 41 MOCK_CONST_METHOD0(remembered_cellular_networks,
42 const CellularNetworkVector&(void)); 42 const CellularNetworkVector&(void));
43 43
44 MOCK_CONST_METHOD2(FindWifiNetworkByPath, bool(const std::string&, 44 MOCK_CONST_METHOD2(FindWifiNetworkByPath, bool(const std::string&,
45 WifiNetwork*)); 45 WifiNetwork*));
46 MOCK_CONST_METHOD2(FindCellularNetworkByPath, bool(const std::string&, 46 MOCK_CONST_METHOD2(FindCellularNetworkByPath, bool(const std::string&,
47 CellularNetwork*)); 47 CellularNetwork*));
48 48
49 MOCK_METHOD0(RequestWifiScan, void(void)); 49 MOCK_METHOD0(RequestWifiScan, void(void));
50 MOCK_METHOD0(UpdateSystemInfo, void(void));
50 MOCK_METHOD0(ConnectToPreferredNetworkIfAvailable, bool(void)); 51 MOCK_METHOD0(ConnectToPreferredNetworkIfAvailable, bool(void));
51 MOCK_METHOD0(PreferredNetworkConnected, bool(void)); 52 MOCK_METHOD0(PreferredNetworkConnected, bool(void));
52 MOCK_METHOD0(PreferredNetworkFailed, bool(void)); 53 MOCK_METHOD0(PreferredNetworkFailed, bool(void));
53 MOCK_METHOD4(ConnectToWifiNetwork, void(WifiNetwork, 54 MOCK_METHOD4(ConnectToWifiNetwork, void(WifiNetwork,
54 const std::string&, 55 const std::string&,
55 const std::string&, 56 const std::string&,
56 const std::string&)); 57 const std::string&));
57 MOCK_METHOD5(ConnectToWifiNetwork, void(const std::string&, 58 MOCK_METHOD5(ConnectToWifiNetwork, void(const std::string&,
58 const std::string&, 59 const std::string&,
59 const std::string&, 60 const std::string&,
(...skipping 18 matching lines...)
78 MOCK_METHOD1(EnableWifiNetworkDevice, void(bool)); 79 MOCK_METHOD1(EnableWifiNetworkDevice, void(bool));
79 MOCK_METHOD1(EnableCellularNetworkDevice, void(bool)); 80 MOCK_METHOD1(EnableCellularNetworkDevice, void(bool));
80 MOCK_METHOD1(EnableOfflineMode, void(bool)); 81 MOCK_METHOD1(EnableOfflineMode, void(bool));
81 MOCK_METHOD1(GetIPConfigs, NetworkIPConfigVector(const std::string&)); 82 MOCK_METHOD1(GetIPConfigs, NetworkIPConfigVector(const std::string&));
82 MOCK_METHOD1(GetHtmlInfo, std::string(int)); 83 MOCK_METHOD1(GetHtmlInfo, std::string(int));
83 }; 84 };
84 85
85 } // namespace chromeos 86 } // namespace chromeos
86 87
87 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ 88 #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