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

Unified Diff: chrome/browser/ui/webui/help/help_utils_chromeos.h

Issue 2919683002: Treat tethered networks as mobile networks (Closed)
Patch Set: Clean up code Created 3 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/help/help_utils_chromeos.h
diff --git a/chrome/browser/ui/webui/help/help_utils_chromeos.h b/chrome/browser/ui/webui/help/help_utils_chromeos.h
index 1afb8c5b7a82993c0f7eb3ad208b3d596dfdda44..a1a47110e20f53cd756bf666adfaec4a9c04ad8c 100644
--- a/chrome/browser/ui/webui/help/help_utils_chromeos.h
+++ b/chrome/browser/ui/webui/help/help_utils_chromeos.h
@@ -8,6 +8,7 @@
#include <string>
xiyuan 2017/06/01 20:18:27 nit: this can be removed now.
weidongg 2017/06/01 20:41:00 Done.
#include "base/strings/string16.h"
+#include "chromeos/network/network_state.h"
xiyuan 2017/06/01 20:18:27 nit: forward decl chromeos::NetworkState and move
weidongg 2017/06/01 20:41:00 Done.
namespace help_utils_chromeos {
@@ -19,7 +20,7 @@ namespace help_utils_chromeos {
bool IsUpdateOverCellularAllowed(bool interactive);
// Returns localized name for the connection |type|.
-base::string16 GetConnectionTypeAsUTF16(const std::string& type);
+base::string16 GetConnectionTypeAsUTF16(const chromeos::NetworkState* network);
} // namespace help_utils_chromeos
« no previous file with comments | « no previous file | chrome/browser/ui/webui/help/help_utils_chromeos.cc » ('j') | chrome/browser/ui/webui/settings/about_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698