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

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

Issue 7566015: Only show prefer network checkbox for networks stored on user profile. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 MOCK_CONST_METHOD0(offline_mode, bool(void)); 146 MOCK_CONST_METHOD0(offline_mode, bool(void));
147 147
148 MOCK_METHOD1(EnableEthernetNetworkDevice, void(bool)); 148 MOCK_METHOD1(EnableEthernetNetworkDevice, void(bool));
149 MOCK_METHOD1(EnableWifiNetworkDevice, void(bool)); 149 MOCK_METHOD1(EnableWifiNetworkDevice, void(bool));
150 MOCK_METHOD1(EnableCellularNetworkDevice, void(bool)); 150 MOCK_METHOD1(EnableCellularNetworkDevice, void(bool));
151 MOCK_METHOD1(EnableOfflineMode, void(bool)); 151 MOCK_METHOD1(EnableOfflineMode, void(bool));
152 MOCK_METHOD3(GetIPConfigs, NetworkIPConfigVector(const std::string&, 152 MOCK_METHOD3(GetIPConfigs, NetworkIPConfigVector(const std::string&,
153 std::string*, 153 std::string*,
154 HardwareAddressFormat)); 154 HardwareAddressFormat));
155 MOCK_METHOD1(SetIPConfig, void(const NetworkIPConfig&)); 155 MOCK_METHOD1(SetIPConfig, void(const NetworkIPConfig&));
156 MOCK_METHOD0(SwitchToPreferredNetwork, void(void));
156 }; 157 };
157 158
158 } // namespace chromeos 159 } // namespace chromeos
159 160
160 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ 161 #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