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

Side by Side Diff: chrome/browser/chromeos/login/ui/login_display_host_impl.h

Issue 834073002: ChromeOS: Implement periodic timezone refresh on geolocation data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 5 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_UI_LOGIN_DISPLAY_HOST_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 OobeUI* GetOobeUI() const; 107 OobeUI* GetOobeUI() const;
108 108
109 const gfx::Rect& background_bounds() const { return background_bounds_; } 109 const gfx::Rect& background_bounds() const { return background_bounds_; }
110 110
111 // Trace id for ShowLoginWebUI event (since there exists at most one login 111 // Trace id for ShowLoginWebUI event (since there exists at most one login
112 // WebUI at a time). 112 // WebUI at a time).
113 static const int kShowLoginWebUIid; 113 static const int kShowLoginWebUIid;
114 114
115 views::Widget* login_window_for_test() { return login_window_; } 115 views::Widget* login_window_for_test() { return login_window_; }
116 116
117 void StartTimeZoneResolve();
118
117 protected: 119 protected:
118 // content::NotificationObserver implementation: 120 // content::NotificationObserver implementation:
119 virtual void Observe(int type, 121 virtual void Observe(int type,
120 const content::NotificationSource& source, 122 const content::NotificationSource& source,
121 const content::NotificationDetails& details) override; 123 const content::NotificationDetails& details) override;
122 124
123 // Overridden from content::WebContentsObserver: 125 // Overridden from content::WebContentsObserver:
124 virtual void RenderProcessGone(base::TerminationStatus status) override; 126 virtual void RenderProcessGone(base::TerminationStatus status) override;
125 127
126 // Overridden from chromeos::SessionManagerClient::Observer: 128 // Overridden from chromeos::SessionManagerClient::Observer:
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 #endif 328 #endif
327 329
328 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; 330 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_;
329 331
330 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); 332 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl);
331 }; 333 };
332 334
333 } // namespace chromeos 335 } // namespace chromeos
334 336
335 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ 337 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698