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

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

Issue 4237001: Add support for different type of encyrption when adding a network.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 | « chrome/app/generated_resources.grd ('k') | 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 MOCK_METHOD1(FindWifiNetworkByPath, WifiNetwork*(const std::string&)); 43 MOCK_METHOD1(FindWifiNetworkByPath, WifiNetwork*(const std::string&));
44 MOCK_METHOD1(FindCellularNetworkByPath, CellularNetwork*(const std::string&)); 44 MOCK_METHOD1(FindCellularNetworkByPath, CellularNetwork*(const std::string&));
45 45
46 MOCK_METHOD0(RequestWifiScan, void(void)); 46 MOCK_METHOD0(RequestWifiScan, void(void));
47 MOCK_METHOD0(UpdateSystemInfo, void(void)); 47 MOCK_METHOD0(UpdateSystemInfo, void(void));
48 MOCK_METHOD1(GetWifiAccessPoints, bool(WifiAccessPointVector*)); 48 MOCK_METHOD1(GetWifiAccessPoints, bool(WifiAccessPointVector*));
49 MOCK_METHOD4(ConnectToWifiNetwork, void(const WifiNetwork*, 49 MOCK_METHOD4(ConnectToWifiNetwork, void(const WifiNetwork*,
50 const std::string&, 50 const std::string&,
51 const std::string&, 51 const std::string&,
52 const std::string&)); 52 const std::string&));
53 MOCK_METHOD5(ConnectToWifiNetwork, void(const std::string&, 53 MOCK_METHOD6(ConnectToWifiNetwork, void(ConnectionSecurity security,
54 const std::string&,
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 bool)); 58 bool));
58 MOCK_METHOD1(ConnectToCellularNetwork, void(const CellularNetwork*)); 59 MOCK_METHOD1(ConnectToCellularNetwork, void(const CellularNetwork*));
59 MOCK_METHOD1(RefreshCellularDataPlans, void(const CellularNetwork* network)); 60 MOCK_METHOD1(RefreshCellularDataPlans, void(const CellularNetwork* network));
60 61
61 MOCK_METHOD1(DisconnectFromWirelessNetwork, void(const WirelessNetwork*)); 62 MOCK_METHOD1(DisconnectFromWirelessNetwork, void(const WirelessNetwork*));
62 MOCK_METHOD1(SaveCellularNetwork, void(const CellularNetwork*)); 63 MOCK_METHOD1(SaveCellularNetwork, void(const CellularNetwork*));
63 MOCK_METHOD1(SaveWifiNetwork, void(const WifiNetwork*)); 64 MOCK_METHOD1(SaveWifiNetwork, void(const WifiNetwork*));
(...skipping 14 matching lines...) Expand all
78 MOCK_METHOD1(EnableCellularNetworkDevice, void(bool)); 79 MOCK_METHOD1(EnableCellularNetworkDevice, void(bool));
79 MOCK_METHOD1(EnableOfflineMode, void(bool)); 80 MOCK_METHOD1(EnableOfflineMode, void(bool));
80 MOCK_METHOD2(GetIPConfigs, NetworkIPConfigVector(const std::string&, 81 MOCK_METHOD2(GetIPConfigs, NetworkIPConfigVector(const std::string&,
81 std::string*)); 82 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/cros/network_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698