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

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: Fix rebase. Created 5 years, 10 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 OobeUI* GetOobeUI() const; 96 OobeUI* GetOobeUI() const;
97 97
98 const gfx::Rect& background_bounds() const { return background_bounds_; } 98 const gfx::Rect& background_bounds() const { return background_bounds_; }
99 99
100 // Trace id for ShowLoginWebUI event (since there exists at most one login 100 // Trace id for ShowLoginWebUI event (since there exists at most one login
101 // WebUI at a time). 101 // WebUI at a time).
102 static const int kShowLoginWebUIid; 102 static const int kShowLoginWebUIid;
103 103
104 views::Widget* login_window_for_test() { return login_window_; } 104 views::Widget* login_window_for_test() { return login_window_; }
105 105
106 void StartTimeZoneResolve();
107
106 protected: 108 protected:
107 // content::NotificationObserver implementation: 109 // content::NotificationObserver implementation:
108 void Observe(int type, 110 void Observe(int type,
109 const content::NotificationSource& source, 111 const content::NotificationSource& source,
110 const content::NotificationDetails& details) override; 112 const content::NotificationDetails& details) override;
111 113
112 // Overridden from content::WebContentsObserver: 114 // Overridden from content::WebContentsObserver:
113 void RenderProcessGone(base::TerminationStatus status) override; 115 void RenderProcessGone(base::TerminationStatus status) override;
114 116
115 // Overridden from chromeos::SessionManagerClient::Observer: 117 // Overridden from chromeos::SessionManagerClient::Observer:
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 307
306 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; 308 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_;
307 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; 309 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_;
308 310
309 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); 311 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl);
310 }; 312 };
311 313
312 } // namespace chromeos 314 } // namespace chromeos
313 315
314 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ 316 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698