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

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

Issue 14753003: Don't open mobile setup when activating Sprint network from network menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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
« 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 void(const std::string&, 134 void(const std::string&,
135 const std::string&, 135 const std::string&,
136 ProviderType, 136 ProviderType,
137 const VPNConfigData&)); 137 const VPNConfigData&));
138 MOCK_METHOD0(SignalCellularPlanPayment, void(void)); 138 MOCK_METHOD0(SignalCellularPlanPayment, void(void));
139 MOCK_METHOD0(HasRecentCellularPlanPayment, bool(void)); 139 MOCK_METHOD0(HasRecentCellularPlanPayment, bool(void));
140 140
141 MOCK_METHOD1(DisconnectFromNetwork, void(const Network*)); 141 MOCK_METHOD1(DisconnectFromNetwork, void(const Network*));
142 MOCK_METHOD1(ForgetNetwork, void(const std::string&)); 142 MOCK_METHOD1(ForgetNetwork, void(const std::string&));
143 MOCK_CONST_METHOD0(GetCellularHomeCarrierId, const std::string&(void)); 143 MOCK_CONST_METHOD0(GetCellularHomeCarrierId, const std::string&(void));
144 MOCK_CONST_METHOD0(CellularDeviceUsesDirectActivation, bool(void));
144 145
145 MOCK_CONST_METHOD0(ethernet_available, bool(void)); 146 MOCK_CONST_METHOD0(ethernet_available, bool(void));
146 MOCK_CONST_METHOD0(wifi_available, bool(void)); 147 MOCK_CONST_METHOD0(wifi_available, bool(void));
147 MOCK_CONST_METHOD0(cellular_available, bool(void)); 148 MOCK_CONST_METHOD0(cellular_available, bool(void));
148 MOCK_CONST_METHOD0(wimax_available, bool(void)); 149 MOCK_CONST_METHOD0(wimax_available, bool(void));
149 MOCK_CONST_METHOD0(mobile_available, bool(void)); 150 MOCK_CONST_METHOD0(mobile_available, bool(void));
150 151
151 MOCK_CONST_METHOD0(ethernet_enabled, bool(void)); 152 MOCK_CONST_METHOD0(ethernet_enabled, bool(void));
152 MOCK_CONST_METHOD0(wifi_enabled, bool(void)); 153 MOCK_CONST_METHOD0(wifi_enabled, bool(void));
153 MOCK_CONST_METHOD0(cellular_enabled, bool(void)); 154 MOCK_CONST_METHOD0(cellular_enabled, bool(void));
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 MOCK_METHOD0(StartActivation, bool(void)); 206 MOCK_METHOD0(StartActivation, bool(void));
206 207
207 private: 208 private:
208 DISALLOW_COPY_AND_ASSIGN(MockCellularNetwork); 209 DISALLOW_COPY_AND_ASSIGN(MockCellularNetwork);
209 }; 210 };
210 211
211 212
212 } // namespace chromeos 213 } // namespace chromeos
213 214
214 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ 215 #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