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

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

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 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
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 bool is_network_subscribed_; 155 bool is_network_subscribed_;
156 156
157 // ID of the the network that we are waiting for. 157 // ID of the the network that we are waiting for.
158 base::string16 network_id_; 158 base::string16 network_id_;
159 159
160 // True if user pressed continue button so we should proceed with OOBE 160 // True if user pressed continue button so we should proceed with OOBE
161 // as soon as we are connected. 161 // as soon as we are connected.
162 bool continue_pressed_; 162 bool continue_pressed_;
163 163
164 // Timer for connection timeout. 164 // Timer for connection timeout.
165 base::OneShotTimer<NetworkScreen> connection_timer_; 165 base::OneShotTimer connection_timer_;
166 166
167 scoped_ptr<CrosSettings::ObserverSubscription> timezone_subscription_; 167 scoped_ptr<CrosSettings::ObserverSubscription> timezone_subscription_;
168 168
169 NetworkView* view_; 169 NetworkView* view_;
170 Delegate* delegate_; 170 Delegate* delegate_;
171 scoped_ptr<login::NetworkStateHelper> network_state_helper_; 171 scoped_ptr<login::NetworkStateHelper> network_state_helper_;
172 172
173 std::string input_method_; 173 std::string input_method_;
174 std::string timezone_; 174 std::string timezone_;
175 175
176 // Creation of language list happens on Blocking Pool, so we cache 176 // Creation of language list happens on Blocking Pool, so we cache
177 // resolved data. 177 // resolved data.
178 std::string language_list_locale_; 178 std::string language_list_locale_;
179 scoped_ptr<base::ListValue> language_list_; 179 scoped_ptr<base::ListValue> language_list_;
180 180
181 // The exact language code selected by user in the menu. 181 // The exact language code selected by user in the menu.
182 std::string selected_language_code_; 182 std::string selected_language_code_;
183 183
184 base::ObserverList<Observer> observers_; 184 base::ObserverList<Observer> observers_;
185 185
186 base::WeakPtrFactory<NetworkScreen> weak_factory_; 186 base::WeakPtrFactory<NetworkScreen> weak_factory_;
187 187
188 DISALLOW_COPY_AND_ASSIGN(NetworkScreen); 188 DISALLOW_COPY_AND_ASSIGN(NetworkScreen);
189 }; 189 };
190 190
191 } // namespace chromeos 191 } // namespace chromeos
192 192
193 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_ 193 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698