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

Issue 2770393003: Add a type to uniquely identify a Background Fetch (Closed)

Created:
3 years, 9 months ago by Peter Beverloo
Modified:
3 years, 8 months ago
CC:
chromium-reviews, Peter Beverloo, jam, darin-cc_chromium.org, awdf+watch_chromium.org, harkness+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a type to uniquely identify a Background Fetch Each Service Worker Registration may only have one Background Fetch active for a given tag, and has an associated origin. The new BackgroundFetchRegistrationId type encapsulates the three values. TBR=avi (file addition in //c/b/background_fetch/) BUG= Review-Url: https://codereview.chromium.org/2770393003 Cr-Commit-Position: refs/heads/master@{#459726} Committed: https://chromium.googlesource.com/chromium/src/+/6965a1a18751e9c2331051dbe2d986ad392f5250

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -79 lines) Patch
M content/browser/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/background_fetch/background_fetch_data_manager.h View 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/background_fetch/background_fetch_data_manager.cc View 2 chunks +7 lines, -3 lines 0 comments Download
M content/browser/background_fetch/background_fetch_event_dispatcher.h View 3 chunks +12 lines, -18 lines 0 comments Download
M content/browser/background_fetch/background_fetch_event_dispatcher.cc View 6 chunks +20 lines, -27 lines 0 comments Download
M content/browser/background_fetch/background_fetch_event_dispatcher_unittest.cc View 11 chunks +41 lines, -27 lines 0 comments Download
A content/browser/background_fetch/background_fetch_registration_id.h View 1 chunk +51 lines, -0 lines 2 comments Download
A content/browser/background_fetch/background_fetch_registration_id.cc View 1 chunk +41 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (10 generated)
Peter Beverloo
This peels away the identification bits from BackgroundFetchJobInfo. It's sole purpose is to identify a ...
3 years, 9 months ago (2017-03-25 18:06:04 UTC) #4
harkness
LGTM % question https://codereview.chromium.org/2770393003/diff/1/content/browser/background_fetch/background_fetch_registration_id.h File content/browser/background_fetch/background_fetch_registration_id.h (right): https://codereview.chromium.org/2770393003/diff/1/content/browser/background_fetch/background_fetch_registration_id.h#newcode43 content/browser/background_fetch/background_fetch_registration_id.h:43: url::Origin origin_; Do we need the ...
3 years, 8 months ago (2017-03-26 14:47:23 UTC) #7
harkness
I may have misunderstood what your goal was with this class. We should talk offline.
3 years, 8 months ago (2017-03-26 15:40:46 UTC) #8
Peter Beverloo
https://codereview.chromium.org/2770393003/diff/1/content/browser/background_fetch/background_fetch_registration_id.h File content/browser/background_fetch/background_fetch_registration_id.h (right): https://codereview.chromium.org/2770393003/diff/1/content/browser/background_fetch/background_fetch_registration_id.h#newcode43 content/browser/background_fetch/background_fetch_registration_id.h:43: url::Origin origin_; On 2017/03/26 14:47:23, harkness wrote: > Do ...
3 years, 8 months ago (2017-03-26 21:51:08 UTC) #9
Peter Beverloo
Putting on the queue w/ TBR=avi for new files in BUILD.gn
3 years, 8 months ago (2017-03-27 08:03:24 UTC) #12
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/2770393003/1
3 years, 8 months ago (2017-03-27 08:03:47 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-03-27 09:00:45 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/6965a1a18751e9c2331051dbe2d9...

Powered by Google App Engine
This is Rietveld 408576698