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

Issue 2689693003: Add a helper method to create SW SimpleEventCallbacks. (Closed)

Created:
3 years, 10 months ago by Peter Beverloo
Modified:
3 years, 10 months ago
Reviewers:
shimazu
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, shimazu+serviceworker_chromium.org, Peter Beverloo, johnme+watch_chromium.org, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, kinuko+watch, tzik, harkness+watch_chromium.org, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a helper method to create SW SimpleEventCallbacks. It's safe to use base::Unretained() for callee ownership in these callbacks, but in order to avoid repeated documentation of the same thing (or undocumented usage of base::Unretained()) we should unify it. BUG= Review-Url: https://codereview.chromium.org/2689693003 Cr-Commit-Position: refs/heads/master@{#449964} Committed: https://chromium.googlesource.com/chromium/src/+/60a80920d08803efce7fadbe9f60c6eb4b90da4a

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add a helper method to create SW SimpleEventCallbacks. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -16 lines) Patch
M content/browser/push_messaging/push_messaging_router.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.cc View 1 chunk +1 line, -5 lines 0 comments Download
M content/browser/service_worker/service_worker_version.h View 1 4 chunks +13 lines, -7 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (12 generated)
Peter Beverloo
3 years, 10 months ago (2017-02-10 17:41:12 UTC) #3
shimazu
Thanks for working on this! Added a comment. https://codereview.chromium.org/2689693003/diff/1/content/browser/service_worker/service_worker_version.h File content/browser/service_worker/service_worker_version.h (right): https://codereview.chromium.org/2689693003/diff/1/content/browser/service_worker/service_worker_version.h#newcode438 content/browser/service_worker/service_worker_version.h:438: base::Time ...
3 years, 10 months ago (2017-02-13 00:28:52 UTC) #7
Peter Beverloo
https://codereview.chromium.org/2689693003/diff/1/content/browser/service_worker/service_worker_version.h File content/browser/service_worker/service_worker_version.h (right): https://codereview.chromium.org/2689693003/diff/1/content/browser/service_worker/service_worker_version.h#newcode438 content/browser/service_worker/service_worker_version.h:438: base::Time dispatch_event_time); On 2017/02/13 00:28:52, shimazu wrote: > Could ...
3 years, 10 months ago (2017-02-13 14:08:40 UTC) #8
shimazu
LGTM, thanks:)
3 years, 10 months ago (2017-02-13 14:21:23 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2689693003/20001
3 years, 10 months ago (2017-02-13 15:36:21 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 15:41:16 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/60a80920d08803efce7fadbe9f60...

Powered by Google App Engine
This is Rietveld 408576698