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

Issue 878513008: Add a function to get Wifi SSID to net_util. (Closed)

Created:
5 years, 10 months ago by meacer
Modified:
5 years, 10 months ago
Reviewers:
pauljensen
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a function to get Wifi SSID to net_util. This CL adds |GetWifiSSID| to net_util to get the SSID of the associated WiFi access point's, if there is one. The function is currently only implemented for Linux (including ChromeOS and Android). On Linux, it retrieves WiFi SSIDs for each interface and if all interfaces have the same SSID, returns it as the current SSID. This is similar to what https://codereview.chromium.org/739983005/ does. BUG=451272 Committed: https://crrev.com/bc462ea514cba4bec764f5ae6a6593d6c8e57868 Cr-Commit-Position: refs/heads/master@{#316623}

Patch Set 1 #

Patch Set 2 : Fix unused function warning #

Total comments: 1

Patch Set 3 : Remove NetworkInterfaceList argument. #

Total comments: 12

Patch Set 4 : pauljensen comments #

Patch Set 5 : Fix Android and ChromeOS test build #

Patch Set 6 : Use || instead of or #

Total comments: 7

Patch Set 7 : pauljensen comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -0 lines) Patch
M net/base/net_util.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M net/base/net_util_linux.h View 1 2 3 chunks +13 lines, -0 lines 0 comments Download
M net/base/net_util_linux.cc View 1 2 3 4 5 6 3 chunks +41 lines, -0 lines 0 comments Download
M net/base/net_util_mac.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M net/base/net_util_posix.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M net/base/net_util_unittest.cc View 1 2 3 4 5 2 chunks +59 lines, -0 lines 0 comments Download
M net/base/net_util_win.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (2 generated)
meacer
pauljensen: Can you PTAL? I had another CL that added a similar method to NetworkChangeNotifier, ...
5 years, 10 months ago (2015-02-04 01:34:33 UTC) #2
pauljensen
I'm wondering if this NetworkInterfaceList->SSID API is appropriate. Does the linux implementation work on Android, ...
5 years, 10 months ago (2015-02-04 15:50:44 UTC) #3
meacer
On 2015/02/04 15:50:44, pauljensen wrote: > I'm wondering if this NetworkInterfaceList->SSID API is appropriate. > ...
5 years, 10 months ago (2015-02-04 22:51:26 UTC) #4
meacer
Removed NetworkInterfaceList. The function works on Android, ChromeOS and Goobuntu. Can you PTAL?
5 years, 10 months ago (2015-02-06 20:55:12 UTC) #5
pauljensen
https://codereview.chromium.org/878513008/diff/40001/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/878513008/diff/40001/net/base/net_util.h#newcode499 net/base/net_util.h:499: // Gets the SSID of the currently associated access ...
5 years, 10 months ago (2015-02-09 12:28:05 UTC) #6
meacer
https://codereview.chromium.org/878513008/diff/40001/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/878513008/diff/40001/net/base/net_util.h#newcode499 net/base/net_util.h:499: // Gets the SSID of the currently associated access ...
5 years, 10 months ago (2015-02-10 04:42:50 UTC) #7
pauljensen
Please update the commit description with the new function name, the fact that it works ...
5 years, 10 months ago (2015-02-10 14:00:29 UTC) #8
pauljensen
https://codereview.chromium.org/878513008/diff/100001/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/878513008/diff/100001/net/base/net_util.h#newcode499 net/base/net_util.h:499: // Gets the SSID of the currently associated access ...
5 years, 10 months ago (2015-02-10 14:06:38 UTC) #9
meacer
https://codereview.chromium.org/878513008/diff/100001/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/878513008/diff/100001/net/base/net_util.h#newcode499 net/base/net_util.h:499: // Gets the SSID of the currently associated access ...
5 years, 10 months ago (2015-02-11 00:24:53 UTC) #10
meacer
Friendly ping :)
5 years, 10 months ago (2015-02-13 20:21:19 UTC) #11
pauljensen
lgtm
5 years, 10 months ago (2015-02-17 12:33:34 UTC) #12
meacer
Thanks!
5 years, 10 months ago (2015-02-17 18:02:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/878513008/120001
5 years, 10 months ago (2015-02-17 18:03:07 UTC) #15
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 10 months ago (2015-02-17 19:33:01 UTC) #16
commit-bot: I haz the power
5 years, 10 months ago (2015-02-17 19:33:49 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/bc462ea514cba4bec764f5ae6a6593d6c8e57868
Cr-Commit-Position: refs/heads/master@{#316623}

Powered by Google App Engine
This is Rietveld 408576698