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

Issue 597683005: GCM: D-Bus methods for wake-on-packet (Closed)

Created:
6 years, 2 months ago by Luigi Semenzato
Modified:
6 years, 2 months ago
CC:
Chirantan Ekbote, Sameer Nanda, chromium-reviews, extensions-reviews_chromium.org, zea+watch_chromium.org, hashimoto+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

GCM: D-Bus methods for wake-on-packet Program the NIC to wake-on-packet for packets arriving from the GCM server. Chrome notifies the connection manager (shill) by calling D-Bus methods. The return status indicates if the operation succeeded or not (depending on hardware support and the type of connection). This is a resubmission of a previous patch with the same title and functionality containing fixes and a workaround for a problem that is independent of this patch. Bug 415821 remains open for that problem. Keywords: wowlan, wake-on-lan, wake-on-wlan BUG=360295 TEST=verified dbus methods are called, and packets are sent on the TEST=connection passed to the methods. Also verified that shill TEST=programs the NIC correctly, and packets wake up the device. Committed: https://crrev.com/e2b442be9c01e033aebd119ee49acd9cac83ee34 Cr-Commit-Position: refs/heads/master@{#296516}

Patch Set 1 #

Total comments: 3

Patch Set 2 : nits #

Patch Set 3 : Resolved DEPS conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -12 lines) Patch
M chrome/browser/extensions/extension_gcm_app_handler_unittest.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
A chrome/browser/services/gcm/chromeos_gcm_connection_observer.h View 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/services/gcm/chromeos_gcm_connection_observer.cc View 1 chunk +47 lines, -0 lines 0 comments Download
M chrome/browser/services/gcm/gcm_profile_service.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/services/gcm/gcm_profile_service.cc View 3 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/services/gcm/gcm_profile_service_unittest.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_shill_manager_client.h View 2 chunks +16 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_shill_manager_client.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M chromeos/dbus/mock_shill_manager_client.h View 2 chunks +12 lines, -0 lines 0 comments Download
M chromeos/dbus/shill_manager_client.h View 2 chunks +31 lines, -11 lines 0 comments Download
M chromeos/dbus/shill_manager_client.cc View 1 2 chunks +46 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
Luigi Semenzato
This is a resubmission of https://codereview.chromium.org/409883006/ with some fixes. The root problem that caused an ...
6 years, 2 months ago (2014-09-24 01:30:35 UTC) #2
Daniel Erat
could you put a diff between the old change and this one somewhere for all ...
6 years, 2 months ago (2014-09-24 14:40:53 UTC) #3
Daniel Erat
On 2014/09/24 14:40:53, Daniel Erat wrote: > could you put a diff between the old ...
6 years, 2 months ago (2014-09-24 14:41:25 UTC) #4
fgorski
lgtm
6 years, 2 months ago (2014-09-24 16:50:47 UTC) #5
scheib
chrome/browser/extensions/extension_gcm_app_handler_unittest.cc lgtm, comment improvement suggested. https://codereview.chromium.org/597683005/diff/1/chrome/browser/extensions/extension_gcm_app_handler_unittest.cc File chrome/browser/extensions/extension_gcm_app_handler_unittest.cc (right): https://codereview.chromium.org/597683005/diff/1/chrome/browser/extensions/extension_gcm_app_handler_unittest.cc#newcode224 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc:224: // Create a DBus ...
6 years, 2 months ago (2014-09-24 17:05:14 UTC) #6
Luigi Semenzato
A diff of diffs is correct but messy. Let me summarize first. file gcm_profile_service.cc: line ...
6 years, 2 months ago (2014-09-24 17:08:22 UTC) #7
Daniel Erat
thanks, lgtm. (for future reference, one way to make this simpler is to upload the ...
6 years, 2 months ago (2014-09-24 17:22:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/597683005/20001
6 years, 2 months ago (2014-09-24 17:59:35 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/60168) win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/65060) ios_dbg_simulator ...
6 years, 2 months ago (2014-09-24 18:02:14 UTC) #12
Luigi Semenzato
DEPS merge conflict resolved.
6 years, 2 months ago (2014-09-24 20:19:29 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/597683005/40001
6 years, 2 months ago (2014-09-24 20:20:56 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001) as fd725573ccf444e9000a70163e02cfa9ed2e5915
6 years, 2 months ago (2014-09-24 21:06:24 UTC) #16
commit-bot: I haz the power
6 years, 2 months ago (2014-09-24 21:07:00 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e2b442be9c01e033aebd119ee49acd9cac83ee34
Cr-Commit-Position: refs/heads/master@{#296516}

Powered by Google App Engine
This is Rietveld 408576698