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

Side by Side Diff: chrome/browser/chromeos/login/screens/network_screen.h

Issue 1428353002: Network Setup from Shark to Remora. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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_LOGIN_SCREENS_NETWORK_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 void SetApplicationLocale(const std::string& locale); 83 void SetApplicationLocale(const std::string& locale);
84 std::string GetApplicationLocale(); 84 std::string GetApplicationLocale();
85 85
86 void SetInputMethod(const std::string& input_method); 86 void SetInputMethod(const std::string& input_method);
87 std::string GetInputMethod() const; 87 std::string GetInputMethod() const;
88 88
89 void SetTimezone(const std::string& timezone_id); 89 void SetTimezone(const std::string& timezone_id);
90 std::string GetTimezone() const; 90 std::string GetTimezone() const;
91 91
92 // Currently We can only get unsecured Wifi network configuration from Shark
93 // that can be applied to Remora. Returns the network ONC configuration.
94 std::string GetConnectedWifiNetwork();
achuithb 2015/11/05 23:26:12 I think it might be better to pass in a std::strin
xdai1 2015/11/06 23:23:02 Done.
92 void CreateNetworkFromOnc(const std::string& onc_spec); 95 void CreateNetworkFromOnc(const std::string& onc_spec);
93 96
94 void AddObserver(Observer* observer); 97 void AddObserver(Observer* observer);
95 void RemoveObserver(Observer* observer); 98 void RemoveObserver(Observer* observer);
96 99
97 private: 100 private:
98 friend class NetworkScreenTest; 101 friend class NetworkScreenTest;
99 FRIEND_TEST_ALL_PREFIXES(NetworkScreenTest, Timeout); 102 FRIEND_TEST_ALL_PREFIXES(NetworkScreenTest, Timeout);
100 FRIEND_TEST_ALL_PREFIXES(NetworkScreenTest, CanConnect); 103 FRIEND_TEST_ALL_PREFIXES(NetworkScreenTest, CanConnect);
101 104
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 base::ObserverList<Observer> observers_; 187 base::ObserverList<Observer> observers_;
185 188
186 base::WeakPtrFactory<NetworkScreen> weak_factory_; 189 base::WeakPtrFactory<NetworkScreen> weak_factory_;
187 190
188 DISALLOW_COPY_AND_ASSIGN(NetworkScreen); 191 DISALLOW_COPY_AND_ASSIGN(NetworkScreen);
189 }; 192 };
190 193
191 } // namespace chromeos 194 } // namespace chromeos
192 195
193 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_ 196 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698