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

Issue 12082090: [net] Add WifiPhyMode to SystemProfile (Closed)

Created:
7 years, 10 months ago by szym
Modified:
7 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, tburkard
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add WifiPHYLayerProtocol to SystemProfile. WifiPHYLayerProtocol characterizes the physical layer (PHY) protocol of the current association with an 802.11 access point. It uses the common nomenclature of referring to the IEEE 802.11 standard amendment which introduced the protocol, i.e. a/b/g/n. TBR=sky BUG=174414 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182231

Patch Set 1 #

Patch Set 2 : compiles, but why? #

Patch Set 3 : Fix passing NULL as VOID* #

Patch Set 4 : hook wifi phy mode to some PLT histograms #

Patch Set 5 : add no-op POSIX implementation #

Patch Set 6 : hook things up to SystemProfile #

Patch Set 7 : checkout page_load_histogram.cc #

Patch Set 8 : hook things up to Network #

Total comments: 18

Patch Set 9 : responded to isherman's review #

Total comments: 11

Patch Set 10 : sync #

Patch Set 11 : sync again #

Total comments: 12

Patch Set 12 : respond to sleevi and rvargas #

Patch Set 13 : fix logic #

Total comments: 3

Patch Set 14 : cleanup #

Patch Set 15 : cleanup #

Patch Set 16 : ensure to probe the current WifiPhyMode on Reset #

Total comments: 23

Patch Set 17 : respond to Ilya's review #

Patch Set 18 : renamed all cases of phy_mode -> protocol #

Patch Set 19 : make network_observer_ a direct field #

Patch Set 20 : phy_mode -> phy_layer_protocol #

Patch Set 21 : fix indent #

Patch Set 22 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+379 lines, -71 lines) Patch
M chrome/browser/metrics/metrics_log.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/metrics/metrics_log.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +8 lines, -65 lines 0 comments Download
A chrome/browser/metrics/metrics_network_observer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +68 lines, -0 lines 0 comments Download
A chrome/browser/metrics/metrics_network_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +114 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/metrics/proto/system_profile.proto View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +18 lines, -1 line 0 comments Download
M net/base/net_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +22 lines, -0 lines 0 comments Download
M net/base/net_util_posix.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +4 lines, -0 lines 0 comments Download
M net/base/net_util_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +138 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
szym
rvargas: please review net/ isherman: please review */metrics/
7 years, 10 months ago (2013-02-07 22:30:25 UTC) #1
szym
Per request of the bug filer (tburkard), it'd be great if this made it into ...
7 years, 10 months ago (2013-02-08 00:12:50 UTC) #2
Ilya Sherman
https://codereview.chromium.org/12082090/diff/11003/chrome/browser/metrics/metrics_log.cc File chrome/browser/metrics/metrics_log.cc (right): https://codereview.chromium.org/12082090/diff/11003/chrome/browser/metrics/metrics_log.cc#newcode22 chrome/browser/metrics/metrics_log.cc:22: #include "base/threading/worker_pool.h" You should pretty much never use the ...
7 years, 10 months ago (2013-02-11 06:26:13 UTC) #3
szym
sleevi: Sorry to bother, but would you mind taking a look at changes to net/? ...
7 years, 10 months ago (2013-02-11 08:30:52 UTC) #4
Ryan Sleevi
https://codereview.chromium.org/12082090/diff/15014/net/base/net_util_win.cc File net/base/net_util_win.cc (right): https://codereview.chromium.org/12082090/diff/15014/net/base/net_util_win.cc#newcode146 net/base/net_util_win.cc:146: FilePath(FILE_PATH_LITERAL("wlanapi.dll"))); See rvargas' previous comments re: ScopedNativeLibrary being "wrong", ...
7 years, 10 months ago (2013-02-11 18:32:27 UTC) #5
rvargas (doing something else)
Sorry for the delay. https://codereview.chromium.org/12082090/diff/18009/net/base/net_util_win.cc File net/base/net_util_win.cc (right): https://codereview.chromium.org/12082090/diff/18009/net/base/net_util_win.cc#newcode16 net/base/net_util_win.cc:16: #include "base/scoped_native_library.h" not good. Note ...
7 years, 10 months ago (2013-02-11 21:14:43 UTC) #6
szym
Thank you all for the helpful review. As I was educating myself about LoadLibraryEx, etc, ...
7 years, 10 months ago (2013-02-11 22:51:19 UTC) #7
szym
I took a 1000 samples of GetWifiPhyMode (run on the IO thread) and found the ...
7 years, 10 months ago (2013-02-12 00:01:21 UTC) #8
rvargas (doing something else)
net lgtm https://codereview.chromium.org/12082090/diff/12011/net/base/host_resolver_impl.cc File net/base/host_resolver_impl.cc (right): https://codereview.chromium.org/12082090/diff/12011/net/base/host_resolver_impl.cc#newcode1985 net/base/host_resolver_impl.cc:1985: base::TimeTicks then = base::TimeTicks::Now(); You don't mean ...
7 years, 10 months ago (2013-02-12 02:42:33 UTC) #9
szym
https://codereview.chromium.org/12082090/diff/12011/net/base/host_resolver_impl.cc File net/base/host_resolver_impl.cc (right): https://codereview.chromium.org/12082090/diff/12011/net/base/host_resolver_impl.cc#newcode1985 net/base/host_resolver_impl.cc:1985: base::TimeTicks then = base::TimeTicks::Now(); On 2013/02/12 02:42:33, rvargas wrote: ...
7 years, 10 months ago (2013-02-12 04:53:43 UTC) #10
szym
isherman: PTAL metrics
7 years, 10 months ago (2013-02-12 16:59:41 UTC) #11
Ilya Sherman
https://codereview.chromium.org/12082090/diff/15020/chrome/browser/metrics/metrics_log.h File chrome/browser/metrics/metrics_log.h (right): https://codereview.chromium.org/12082090/diff/15020/chrome/browser/metrics/metrics_log.h#newcode192 chrome/browser/metrics/metrics_log.h:192: scoped_ptr<MetricsNetworkObserver> network_observer_; nit: Docs. Also, can this be a ...
7 years, 10 months ago (2013-02-13 01:54:32 UTC) #12
szym
https://codereview.chromium.org/12082090/diff/15020/chrome/browser/metrics/metrics_log.h File chrome/browser/metrics/metrics_log.h (right): https://codereview.chromium.org/12082090/diff/15020/chrome/browser/metrics/metrics_log.h#newcode192 chrome/browser/metrics/metrics_log.h:192: scoped_ptr<MetricsNetworkObserver> network_observer_; On 2013/02/13 01:54:33, Ilya Sherman wrote: > ...
7 years, 10 months ago (2013-02-13 05:09:34 UTC) #13
szym
7 years, 10 months ago (2013-02-13 05:09:35 UTC) #14
Ilya Sherman
https://codereview.chromium.org/12082090/diff/15020/chrome/browser/metrics/metrics_log.h File chrome/browser/metrics/metrics_log.h (right): https://codereview.chromium.org/12082090/diff/15020/chrome/browser/metrics/metrics_log.h#newcode192 chrome/browser/metrics/metrics_log.h:192: scoped_ptr<MetricsNetworkObserver> network_observer_; On 2013/02/13 05:09:34, szym wrote: > On ...
7 years, 10 months ago (2013-02-13 08:05:54 UTC) #15
szym
https://codereview.chromium.org/12082090/diff/15020/chrome/browser/metrics/metrics_network_observer.h File chrome/browser/metrics/metrics_network_observer.h (right): https://codereview.chromium.org/12082090/diff/15020/chrome/browser/metrics/metrics_network_observer.h#newcode55 chrome/browser/metrics/metrics_network_observer.h:55: bool wifi_phy_mode_is_ambiguous() const { On 2013/02/13 08:05:54, Ilya Sherman ...
7 years, 10 months ago (2013-02-13 08:48:08 UTC) #16
Ryan Sleevi
I have to agree with Szym, given that that PHY layer shows up heavily in ...
7 years, 10 months ago (2013-02-13 08:55:19 UTC) #17
Ilya Sherman
LGTM, thanks. On 2013/02/13 08:55:19, Ryan Sleevi wrote: > I have to agree with Szym, ...
7 years, 10 months ago (2013-02-13 09:16:51 UTC) #18
szym
Many thanks for the review. I'm going with WIFI_PHY_LAYER_PROTOCOL to allow lines to still be ...
7 years, 10 months ago (2013-02-13 15:24:12 UTC) #19
szym
7 years, 10 months ago (2013-02-13 15:27:07 UTC) #20
sky: approve changes to chrome_browser.gypi (TBR)

Powered by Google App Engine
This is Rietveld 408576698