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

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

Issue 14134007: NetworkPortalDetector/NetworkStateInformer: Switch over to use NetworkStateHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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/signin_screen_handler.h
diff --git a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
index 8c75f05156803850a1257e179a073056d15b2c3c..dc30a957a6ba49483e2eec500b9f8369d7597681 100644
--- a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
@@ -179,7 +179,7 @@ class SigninScreenHandler
// NetworkStateInformer::NetworkStateInformerObserver implementation:
virtual void UpdateState(NetworkStateInformer::State state,
const std::string& service_path,
- ConnectionType connection_type,
+ const std::string& connection_type,
const std::string& reason) OVERRIDE;
private:
@@ -201,13 +201,12 @@ class SigninScreenHandler
void UpdateUIState(UIState ui_state, DictionaryValue* params);
void UpdateStateInternal(NetworkStateInformer::State state,
- const std::string service_path,
- ConnectionType connection_type,
- std::string reason,
+ const std::string& service_path,
+ const std::string& connection_type,
+ const std::string& reason,
bool force_update);
void SetupAndShowOfflineMessage(NetworkStateInformer::State state,
const std::string& service_path,
- ConnectionType connection_type,
const std::string& reason,
bool is_proxy_error,
bool is_under_captive_portal,

Powered by Google App Engine
This is Rietveld 408576698