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

Unified Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h

Issue 416493002: Fixed Gaia reloading. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h
diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h
index 571cc87898027e7d5405c61fbe8e9a92d3e44954..378e0723d955e071be8e5230ef13654a09c499e2 100644
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h
@@ -57,7 +57,11 @@ class GaiaScreenHandler : public BaseScreenHandler {
void LoadGaia(const GaiaContext& context);
void UpdateGaia(const GaiaContext& context);
- void ReloadGaia();
+
+ // Sends request to reload Gaia. If |force_reload| is true, request
+ // will be sent in any case, otherwise it will be sent only when Gaia is
+ // not loading right now.
+ void ReloadGaia(bool force_reload);
FrameState frame_state() const { return frame_state_; }
net::Error frame_error() const { return frame_error_; }

Powered by Google App Engine
This is Rietveld 408576698