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

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

Issue 3019015: Land for njw:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 5 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 29 matching lines...) Expand all
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_METHOD1(GetWifiAccessPoints, bool(WifiAccessPointVector*)); 51 MOCK_METHOD1(GetWifiAccessPoints, bool(WifiAccessPointVector*));
51 MOCK_METHOD0(ConnectToPreferredNetworkIfAvailable, bool(void)); 52 MOCK_METHOD0(ConnectToPreferredNetworkIfAvailable, bool(void));
52 MOCK_METHOD0(PreferredNetworkConnected, bool(void)); 53 MOCK_METHOD0(PreferredNetworkConnected, bool(void));
53 MOCK_METHOD0(PreferredNetworkFailed, bool(void)); 54 MOCK_METHOD0(PreferredNetworkFailed, bool(void));
54 MOCK_METHOD4(ConnectToWifiNetwork, void(WifiNetwork, 55 MOCK_METHOD4(ConnectToWifiNetwork, void(WifiNetwork,
55 const std::string&, 56 const std::string&,
56 const std::string&, 57 const std::string&,
57 const std::string&)); 58 const std::string&));
58 MOCK_METHOD5(ConnectToWifiNetwork, void(const std::string&, 59 MOCK_METHOD5(ConnectToWifiNetwork, void(const std::string&,
59 const std::string&, 60 const std::string&,
(...skipping 20 matching lines...) Expand all
80 MOCK_METHOD1(EnableWifiNetworkDevice, void(bool)); 81 MOCK_METHOD1(EnableWifiNetworkDevice, void(bool));
81 MOCK_METHOD1(EnableCellularNetworkDevice, void(bool)); 82 MOCK_METHOD1(EnableCellularNetworkDevice, void(bool));
82 MOCK_METHOD1(EnableOfflineMode, void(bool)); 83 MOCK_METHOD1(EnableOfflineMode, void(bool));
83 MOCK_METHOD1(GetIPConfigs, NetworkIPConfigVector(const std::string&)); 84 MOCK_METHOD1(GetIPConfigs, NetworkIPConfigVector(const std::string&));
84 MOCK_METHOD1(GetHtmlInfo, std::string(int)); 85 MOCK_METHOD1(GetHtmlInfo, std::string(int));
85 }; 86 };
86 87
87 } // namespace chromeos 88 } // namespace chromeos
88 89
89 #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