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

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

Issue 7038038: CrOS - Add certificate support to VPN UI. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 const std::string&, 107 const std::string&,
108 const std::string&, 108 const std::string&,
109 bool)); 109 bool));
110 MOCK_METHOD1(ConnectToCellularNetwork, void(CellularNetwork*)); 110 MOCK_METHOD1(ConnectToCellularNetwork, void(CellularNetwork*));
111 MOCK_METHOD1(ConnectToVirtualNetwork, void(VirtualNetwork*)); 111 MOCK_METHOD1(ConnectToVirtualNetwork, void(VirtualNetwork*));
112 MOCK_METHOD5(ConnectToVirtualNetworkPSK, void(const std::string&, 112 MOCK_METHOD5(ConnectToVirtualNetworkPSK, void(const std::string&,
113 const std::string&, 113 const std::string&,
114 const std::string&, 114 const std::string&,
115 const std::string&, 115 const std::string&,
116 const std::string&)); 116 const std::string&));
117 MOCK_METHOD5(ConnectToVirtualNetworkCert, void(const std::string&,
118 const std::string&,
119 const std::string&,
120 const std::string&,
121 const std::string&));
117 MOCK_METHOD0(SignalCellularPlanPayment, void(void)); 122 MOCK_METHOD0(SignalCellularPlanPayment, void(void));
118 MOCK_METHOD0(HasRecentCellularPlanPayment, bool(void)); 123 MOCK_METHOD0(HasRecentCellularPlanPayment, bool(void));
119 124
120 MOCK_METHOD1(DisconnectFromNetwork, void(const Network*)); 125 MOCK_METHOD1(DisconnectFromNetwork, void(const Network*));
121 MOCK_METHOD1(ForgetWifiNetwork, void(const std::string&)); 126 MOCK_METHOD1(ForgetWifiNetwork, void(const std::string&));
122 MOCK_CONST_METHOD0(GetCellularHomeCarrierId, std::string(void)); 127 MOCK_CONST_METHOD0(GetCellularHomeCarrierId, std::string(void));
123 128
124 MOCK_CONST_METHOD0(ethernet_available, bool(void)); 129 MOCK_CONST_METHOD0(ethernet_available, bool(void));
125 MOCK_CONST_METHOD0(wifi_available, bool(void)); 130 MOCK_CONST_METHOD0(wifi_available, bool(void));
126 MOCK_CONST_METHOD0(cellular_available, bool(void)); 131 MOCK_CONST_METHOD0(cellular_available, bool(void));
(...skipping 15 matching lines...) Expand all
142 MOCK_METHOD1(EnableOfflineMode, void(bool)); 147 MOCK_METHOD1(EnableOfflineMode, void(bool));
143 MOCK_METHOD3(GetIPConfigs, NetworkIPConfigVector(const std::string&, 148 MOCK_METHOD3(GetIPConfigs, NetworkIPConfigVector(const std::string&,
144 std::string*, 149 std::string*,
145 HardwareAddressFormat)); 150 HardwareAddressFormat));
146 MOCK_METHOD1(GetHtmlInfo, std::string(int)); 151 MOCK_METHOD1(GetHtmlInfo, std::string(int));
147 }; 152 };
148 153
149 } // namespace chromeos 154 } // namespace chromeos
150 155
151 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ 156 #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') | chrome/browser/chromeos/cros/network_library.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698