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

Issue 27722003: Windows-specific implementation of Networking Private API. (Closed)

Created:
7 years, 2 months ago by mef
Modified:
7 years, 1 month ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Windows-specific implementation of Networking Private API. Based on infrastructure in http://crrev.com/22295002 BUG=267667

Patch Set 1 #

Patch Set 2 : Specify wlanapi.lib in chrome.gyp instead of #pragma comment. #

Total comments: 139

Patch Set 3 : Address code review comments. #

Total comments: 1

Patch Set 4 : Address codereview comments. #

Patch Set 5 : Temporarily disable network location wizard when WiFi network is connected. #

Patch Set 6 : Sync up to r230127 #

Patch Set 7 : Address codereview comments. #

Patch Set 8 : Filter out duplicate networks in GetVisibleNetworkList. #

Patch Set 9 : Use GetProcAddress to get WlanGetNetworkBssList function to avoid XP issues. #

Total comments: 18

Patch Set 10 : Dynamically LoadLibrary(WlanApi) to avoid missing functions on XP. #

Patch Set 11 : Address cpu's comments. #

Patch Set 12 : Sync to r231308 #

Patch Set 13 : Renamed feature platforms to 'win' and 'mac' to match Platforms from model.py #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1577 lines, -6 lines) Patch
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/features/simple_feature.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/features/simple_feature_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/utility/networking_private_handler.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/utility/networking_private_handler.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/utility/wifi/DEPS View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/utility/wifi/wifi_service.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/utility/wifi/wifi_service_mock.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +11 lines, -0 lines 0 comments Download
A chrome/utility/wifi/wifi_service_test.cc View 1 chunk +146 lines, -0 lines 0 comments Download
A chrome/utility/wifi/wifi_service_win.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1197 lines, -0 lines 0 comments Download
A chrome/utility/wifi/wifi_test.cc View 1 2 3 4 5 6 1 chunk +186 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
mef
Hi guys, I've split off Windows-specific implementation of WiFi Service (using WLANAPI.LIB) from the basic ...
7 years, 2 months ago (2013-10-17 19:27:50 UTC) #1
afontan
On 2013/10/17 19:27:50, mef wrote: > Hi guys, > > I've split off Windows-specific implementation ...
7 years, 2 months ago (2013-10-19 15:20:26 UTC) #2
afontan
On 2013/10/19 15:20:26, afontan wrote: > On 2013/10/17 19:27:50, mef wrote: > > Hi guys, ...
7 years, 2 months ago (2013-10-19 15:38:32 UTC) #3
Jói
Cool stuff. Lots of comments but mostly minor nits and questions. I didn't really try ...
7 years, 2 months ago (2013-10-19 21:14:44 UTC) #4
mef
Hi Jói, thanks for your comments, PTAL! https://codereview.chromium.org/27722003/diff/5001/chrome/chrome_exe.gypi File chrome/chrome_exe.gypi (right): https://codereview.chromium.org/27722003/diff/5001/chrome/chrome_exe.gypi#newcode498 chrome/chrome_exe.gypi:498: 'wlanapi.dll', On ...
7 years, 2 months ago (2013-10-21 15:37:15 UTC) #5
Jói
https://codereview.chromium.org/27722003/diff/5001/chrome/chrome_exe.gypi File chrome/chrome_exe.gypi (right): https://codereview.chromium.org/27722003/diff/5001/chrome/chrome_exe.gypi#newcode498 chrome/chrome_exe.gypi:498: 'wlanapi.dll', On 2013/10/21 15:37:16, mef wrote: > On 2013/10/19 ...
7 years, 2 months ago (2013-10-21 16:44:02 UTC) #6
afontan
Hi Misha, please see my comments. I will be happy to discuss about the multiple ...
7 years, 2 months ago (2013-10-21 16:55:22 UTC) #7
mef
+tbarzic for extension insights. Hi guys, thanks for your comments! I've addressed some of them ...
7 years, 2 months ago (2013-10-21 19:41:59 UTC) #8
tbarzic
https://codereview.chromium.org/27722003/diff/5001/chrome/utility/wifi/wifi_service_win.cc File chrome/utility/wifi/wifi_service_win.cc (right): https://codereview.chromium.org/27722003/diff/5001/chrome/utility/wifi/wifi_service_win.cc#newcode694 chrome/utility/wifi/wifi_service_win.cc:694: DWORD WiFiServiceImpl::Connect(const std::string& network_guid) { On 2013/10/21 19:42:00, mef ...
7 years, 2 months ago (2013-10-21 20:13:29 UTC) #9
afontan
Let me know if the scenarios are still not clear. Today we do support: 1) ...
7 years, 2 months ago (2013-10-21 20:51:01 UTC) #10
mef
Hi guys, PTAL, I've addressed all remaining comments except for multi-adapter/multi-band scenario. I will create ...
7 years, 2 months ago (2013-10-22 20:06:01 UTC) #11
afontan
I do not think there are any reasons other than it was not tested. Antonio ...
7 years, 2 months ago (2013-10-23 05:55:14 UTC) #12
mef
Hi Jói, PTAL. I've changed WiFiServiceImpl to use GetProcAddress to get WlanGetNetworkBssList function to avoid ...
7 years, 2 months ago (2013-10-24 23:44:46 UTC) #13
Jói
Hi Misha, See my comments below, but let me summarize your options: a) If you ...
7 years, 1 month ago (2013-10-25 11:09:42 UTC) #14
mef
On 2013/10/25 11:09:42, Jói wrote: > Hi Misha, > > See my comments below, but ...
7 years, 1 month ago (2013-10-25 12:03:00 UTC) #15
mef
Hi Jói, PTAL. I've changed WiFiService to dynamically load WlanApi.dll, so chrome.dll no longer links ...
7 years, 1 month ago (2013-10-25 15:09:04 UTC) #16
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/27722003/diff/412001/chrome/utility/wifi/wifi_service_win.cc File chrome/utility/wifi/wifi_service_win.cc (right): https://codereview.chromium.org/27722003/diff/412001/chrome/utility/wifi/wifi_service_win.cc#newcode263 chrome/utility/wifi/wifi_service_win.cc:263: DWORD error = EnsureInitialized(); shouldn't be an Initialize method ...
7 years, 1 month ago (2013-10-25 16:51:08 UTC) #17
mef
Hi Carlos, thanks for your comments! https://codereview.chromium.org/27722003/diff/412001/chrome/utility/wifi/wifi_service_win.cc File chrome/utility/wifi/wifi_service_win.cc (right): https://codereview.chromium.org/27722003/diff/412001/chrome/utility/wifi/wifi_service_win.cc#newcode263 chrome/utility/wifi/wifi_service_win.cc:263: DWORD error = ...
7 years, 1 month ago (2013-10-25 18:00:37 UTC) #18
mef
Hi Carlos, PTAL. https://codereview.chromium.org/27722003/diff/412001/chrome/utility/wifi/wifi_service_win.cc File chrome/utility/wifi/wifi_service_win.cc (right): https://codereview.chromium.org/27722003/diff/412001/chrome/utility/wifi/wifi_service_win.cc#newcode263 chrome/utility/wifi/wifi_service_win.cc:263: DWORD error = EnsureInitialized(); On 2013/10/25 ...
7 years, 1 month ago (2013-10-25 19:43:16 UTC) #19
Jói
LGTM
7 years, 1 month ago (2013-10-28 13:09:18 UTC) #20
mef
On 2013/10/28 13:09:18, Jói wrote: > LGTM Thanks, Jói! Antonio, do you have any additional ...
7 years, 1 month ago (2013-10-28 14:11:19 UTC) #21
afontan
lgtm I think the behavior is acceptable. We should probably investigate the possibility of creating ...
7 years, 1 month ago (2013-10-28 14:50:49 UTC) #22
mef
Thanks, Antonio! Now I would like to ask for OWNERS approval: finnur@ - chrome/common/extensions/api/_api_features.json (please ...
7 years, 1 month ago (2013-10-28 15:02:36 UTC) #23
Finnur
OWNERS LGTM. > please let me know if I should rename "windows" into "win" to ...
7 years, 1 month ago (2013-10-28 15:13:34 UTC) #24
mef
Thanks, Finnur! Per our conversation I've renamed feature platforms to 'win' and 'mac' to match ...
7 years, 1 month ago (2013-10-28 16:41:13 UTC) #25
Finnur
On 2013/10/28 16:41:13, mef wrote: > Thanks, Finnur! Per our conversation I've renamed feature platforms ...
7 years, 1 month ago (2013-10-28 16:44:10 UTC) #26
jam
we still have a conversation over at https://codereview.chromium.org/22295002/ about whether this should be in the ...
7 years, 1 month ago (2013-10-28 17:00:18 UTC) #27
mef
7 years, 1 month ago (2013-10-28 17:43:25 UTC) #28
On 2013/10/28 17:00:18, jam wrote:
> we still have a conversation over at https://codereview.chromium.org/22295002/
> about whether this should be in the utility process or not. let's finish that
> conversation there first.

Definitely. I just wanted to bring this one to your attention.

Powered by Google App Engine
This is Rietveld 408576698