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

Issue 298803006: NetInfo V3 support for browser (Closed)

Created:
6 years, 7 months ago by jkarlin
Modified:
6 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Sends NetworkChangeNotifier connection type changes to Blink, to support NetInfo v3. Design doc: https://docs.google.com/a/chromium.org/document/d/1LTk9uVMGi4kurzcF5ellsAJReTF31fFJMHrQwSVtBjc/ BUG=368358 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273555

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Refactor #

Patch Set 4 : Cleaning up #

Patch Set 5 : Rebase #

Total comments: 2

Patch Set 6 : Updated comment in network_change_notifier #

Total comments: 6

Patch Set 7 : Change enum to MAX_VALUE #

Patch Set 8 : Forgot a nit #

Patch Set 9 : Rebase #

Patch Set 10 : Restore accidentally removed param traits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -17 lines) Patch
M content/browser/net/browser_online_state_observer.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/common/p2p_messages.h View 1 chunk +0 lines, -4 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -4 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/common_param_traits_macros.h View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -1 line 0 comments Download
A content/renderer/net_info_helper.h View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A content/renderer/net_info_helper.cc View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -3 lines 0 comments Download
M content/renderer/web_preferences.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M net/base/network_change_notifier.h View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M webkit/common/webpreferences.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M webkit/common/webpreferences.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
jkarlin
brettw: Please review everything pauljensen: Please review net/ adamk: Please review changes to navigator.onLine plumbing
6 years, 7 months ago (2014-05-22 15:01:46 UTC) #1
pauljensen
net/ lgtm
6 years, 7 months ago (2014-05-22 15:27:31 UTC) #2
jkarlin
Ping brettw and adamk
6 years, 7 months ago (2014-05-23 11:13:31 UTC) #3
adamk
plumbing changes (webpreferences etc) lgtm, but I'll defer to brettw on the IPC stuff (I ...
6 years, 7 months ago (2014-05-23 22:29:41 UTC) #4
jkarlin
Ping brettw, thanks!
6 years, 6 months ago (2014-05-27 13:32:01 UTC) #5
brettw
lgtm https://codereview.chromium.org/298803006/diff/110001/net/base/network_change_notifier.h File net/base/network_change_notifier.h (right): https://codereview.chromium.org/298803006/diff/110001/net/base/network_change_notifier.h#newcode38 net/base/network_change_notifier.h:38: CONNECTION_UNKNOWN = 0, // A connection exists, but ...
6 years, 6 months ago (2014-05-27 18:26:36 UTC) #6
jkarlin
https://codereview.chromium.org/298803006/diff/110001/net/base/network_change_notifier.h File net/base/network_change_notifier.h (right): https://codereview.chromium.org/298803006/diff/110001/net/base/network_change_notifier.h#newcode38 net/base/network_change_notifier.h:38: CONNECTION_UNKNOWN = 0, // A connection exists, but its ...
6 years, 6 months ago (2014-05-27 18:44:37 UTC) #7
jkarlin
The CQ bit was checked by jkarlin@chromium.org
6 years, 6 months ago (2014-05-27 18:52:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jkarlin@chromium.org/298803006/130001
6 years, 6 months ago (2014-05-27 18:52:39 UTC) #9
jkarlin
kinuko@chromium.org: Please review changes in webkit/common tsepez@chromium.org: Please review changes in content/common and content/public Thanks!
6 years, 6 months ago (2014-05-27 20:52:58 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 6 months ago (2014-05-27 21:45:23 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-27 21:47:38 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/11012)
6 years, 6 months ago (2014-05-27 21:47:38 UTC) #13
kinuko
webkit/ lgtm
6 years, 6 months ago (2014-05-28 06:16:59 UTC) #14
Tom Sepez
messages LGTM with nit. https://codereview.chromium.org/298803006/diff/130001/content/common/view_messages.h File content/common/view_messages.h (right): https://codereview.chromium.org/298803006/diff/130001/content/common/view_messages.h#newcode846 content/common/view_messages.h:846: // navigator.onLine navigator.connection can be ...
6 years, 6 months ago (2014-05-28 17:40:15 UTC) #15
jkarlin
https://codereview.chromium.org/298803006/diff/130001/content/common/view_messages.h File content/common/view_messages.h (right): https://codereview.chromium.org/298803006/diff/130001/content/common/view_messages.h#newcode846 content/common/view_messages.h:846: // navigator.onLine navigator.connection can be updated. On 2014/05/28 17:40:16, ...
6 years, 6 months ago (2014-05-28 18:00:45 UTC) #16
jkarlin
The CQ bit was checked by jkarlin@chromium.org
6 years, 6 months ago (2014-05-28 18:00:52 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jkarlin@chromium.org/298803006/160001
6 years, 6 months ago (2014-05-28 18:01:14 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-05-28 21:01:55 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 21:05:41 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_clang_dbg/builds/29240) linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/35908)
6 years, 6 months ago (2014-05-28 21:05:41 UTC) #21
jkarlin
The CQ bit was checked by jkarlin@chromium.org
6 years, 6 months ago (2014-05-28 21:37:00 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jkarlin@chromium.org/298803006/160001
6 years, 6 months ago (2014-05-28 21:38:23 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-05-28 21:49:59 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 21:55:23 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/70252) linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/31918) linux_chromium_rel ...
6 years, 6 months ago (2014-05-28 21:55:24 UTC) #26
jkarlin
The CQ bit was checked by jkarlin@chromium.org
6 years, 6 months ago (2014-05-29 01:05:34 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jkarlin@chromium.org/298803006/160001
6 years, 6 months ago (2014-05-29 01:07:33 UTC) #28
jkarlin
The CQ bit was checked by jkarlin@chromium.org
6 years, 6 months ago (2014-05-29 01:14:43 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jkarlin@chromium.org/298803006/180001
6 years, 6 months ago (2014-05-29 01:16:03 UTC) #30
jkarlin
The CQ bit was unchecked by jkarlin@chromium.org
6 years, 6 months ago (2014-05-29 01:19:30 UTC) #31
jkarlin
The CQ bit was checked by jkarlin@chromium.org
6 years, 6 months ago (2014-05-29 01:34:07 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jkarlin@chromium.org/298803006/200001
6 years, 6 months ago (2014-05-29 01:35:07 UTC) #33
commit-bot: I haz the power
6 years, 6 months ago (2014-05-29 19:50:31 UTC) #34
Message was sent while issue was closed.
Change committed as 273555

Powered by Google App Engine
This is Rietveld 408576698