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

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: remove last reference to lastNetworkType 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 34a6c9f8a6f38cbe2741d1433c30bc9b5ec68938..fb1ac0e7a9d8bf7ec96506b02e5f09acf17b41e0 100644
--- a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
@@ -183,7 +183,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:
@@ -205,13 +205,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