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

Issue 1891633002: Remove unnecessary calls to AddWakeOnPaketConnection and RemoveWakeOnPacketConnection (Closed)

Created:
4 years, 8 months ago by malaykeshav
Modified:
4 years, 8 months ago
Reviewers:
stevenjb
CC:
cbentzel+watch_chromium.org, chromium-reviews, davemoore+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unnecessary calls to AddWakeOnPaketConnection and RemoveWakeOnPacketConnection - Adds checks around shill method calls to AddWifiWakeOnPacketConnection and RemoveWifiWakeOnPacketConnection. - Renames WakeOnPacketConnectionObserver to WakeOnWifiConnectionObserver and moves its dec & imp to a separate file. - Implements unittests for WakeOnWifiConnectionObserver. - Implements MockNetworkDeviceHandler. BUG=548298 COMPONENT: ChromeOS - WakeOnWifiManager, NetworkDeviceHandler. Committed: https://crrev.com/77a1ea0183f82da064cb487b0a01ba5c7a95df8c Cr-Commit-Position: refs/heads/master@{#388833}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Total comments: 10

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+436 lines, -111 lines) Patch
A chrome/browser/chromeos/net/wake_on_wifi_connection_observer.h View 1 2 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/net/wake_on_wifi_connection_observer.cc View 1 1 chunk +91 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/net/wake_on_wifi_manager.h View 1 2 5 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/net/wake_on_wifi_manager.cc View 1 6 chunks +27 lines, -105 lines 0 comments Download
A chrome/browser/chromeos/net/wake_on_wifi_manager_unittest.cc View 1 1 chunk +95 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/chromeos.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
A chromeos/network/mock_network_device_handler.h View 1 chunk +121 lines, -0 lines 0 comments Download
A chromeos/network/mock_network_device_handler.cc View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (15 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891633002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891633002/20001
4 years, 8 months ago (2016-04-13 23:49:52 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-14 01:00:31 UTC) #8
malaykeshav
On 2016/04/14 at 01:00:31, commit-bot wrote: > Dry run: This issue passed the CQ dry ...
4 years, 8 months ago (2016-04-19 23:29:25 UTC) #9
stevenjb
Sorry, thought I'd reviewed this but must not have published my comments. Just one change ...
4 years, 8 months ago (2016-04-19 23:46:15 UTC) #10
malaykeshav
https://codereview.chromium.org/1891633002/diff/20001/chrome/browser/chromeos/net/wake_on_wifi_manager.h File chrome/browser/chromeos/net/wake_on_wifi_manager.h (right): https://codereview.chromium.org/1891633002/diff/20001/chrome/browser/chromeos/net/wake_on_wifi_manager.h#newcode14 chrome/browser/chromeos/net/wake_on_wifi_manager.h:14: #include "chromeos/network/network_device_handler.h" On 2016/04/19 at 23:46:15, stevenjb wrote: > ...
4 years, 8 months ago (2016-04-20 19:48:42 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891633002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891633002/40001
4 years, 8 months ago (2016-04-20 19:49:03 UTC) #13
stevenjb
https://codereview.chromium.org/1891633002/diff/40001/chrome/browser/chromeos/net/wake_on_wifi_connection_observer.h File chrome/browser/chromeos/net/wake_on_wifi_connection_observer.h (right): https://codereview.chromium.org/1891633002/diff/40001/chrome/browser/chromeos/net/wake_on_wifi_connection_observer.h#newcode23 chrome/browser/chromeos/net/wake_on_wifi_connection_observer.h:23: // of this class. The last sentence doesn't really ...
4 years, 8 months ago (2016-04-20 20:16:28 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/215748)
4 years, 8 months ago (2016-04-20 21:51:58 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891633002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891633002/60001
4 years, 8 months ago (2016-04-20 22:16:54 UTC) #19
malaykeshav
https://codereview.chromium.org/1891633002/diff/40001/chrome/browser/chromeos/net/wake_on_wifi_connection_observer.h File chrome/browser/chromeos/net/wake_on_wifi_connection_observer.h (right): https://codereview.chromium.org/1891633002/diff/40001/chrome/browser/chromeos/net/wake_on_wifi_connection_observer.h#newcode23 chrome/browser/chromeos/net/wake_on_wifi_connection_observer.h:23: // of this class. On 2016/04/20 at 20:16:28, stevenjb ...
4 years, 8 months ago (2016-04-20 23:14:56 UTC) #20
stevenjb
lgtm
4 years, 8 months ago (2016-04-20 23:33:05 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/215997)
4 years, 8 months ago (2016-04-21 00:07:35 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891633002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891633002/60001
4 years, 8 months ago (2016-04-21 00:08:37 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/216054)
4 years, 8 months ago (2016-04-21 02:34:29 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891633002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891633002/60001
4 years, 8 months ago (2016-04-21 17:48:02 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 8 months ago (2016-04-21 18:56:02 UTC) #30
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:37:01 UTC) #32
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/77a1ea0183f82da064cb487b0a01ba5c7a95df8c
Cr-Commit-Position: refs/heads/master@{#388833}

Powered by Google App Engine
This is Rietveld 408576698