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

Issue 1106193002: Add Mojo types and service definitions for Background Sync API (Closed)

Created:
5 years, 8 months ago by iclelland
Modified:
5 years, 7 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, jkarlin+watch_chromium.org, maniscalco+watch_chromium.org, maxbogue+watch_chromium.org, plaree+watch_chromium.org, pvalenzuela+watch_chromium.org, qsr+mojo_chromium.org, tim+watch_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Mojo types and service definitions for Background Sync API This commit depends on the Blink CL at https://codereview.chromium.org/1096503002/ for changes to platform objects. BUG=479251 Committed: https://crrev.com/5347685266d20a08f84e4135bfb5fbb0ca182063 Cr-Commit-Position: refs/heads/master@{#327745}

Patch Set 1 #

Total comments: 47

Patch Set 2 : Addressing review comments #

Patch Set 3 : Move background_sync.mojom to content/public #

Patch Set 4 : Remove origin string from mojo method signatures #

Total comments: 12

Patch Set 5 : Rebase #

Patch Set 6 : Add CONTENT_EXPORT for tests; make scoped_ptr use more obvious #

Patch Set 7 : Test enum correspondence more thoroughly #

Total comments: 7

Patch Set 8 : Revert scoped_ptr construction change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+461 lines, --1 lines) Patch
A + content/child/background_sync/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A content/child/background_sync/background_sync_type_converters.h View 1 2 3 4 5 1 chunk +87 lines, -0 lines 0 comments Download
A content/child/background_sync/background_sync_type_converters.cc View 1 2 3 4 5 6 7 1 chunk +129 lines, -0 lines 0 comments Download
A content/child/background_sync/background_sync_type_converters_unittest.cc View 1 2 3 4 5 1 chunk +181 lines, -0 lines 0 comments Download
M content/common/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A content/common/background_sync_service.mojom View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M content/content_child.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_common_mojo_bindings.gyp View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A content/public/common/background_sync.mojom View 1 2 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
iclelland
On 2015/04/27 14:37:58, iclelland wrote: > mailto:iclelland@chromium.org changed reviewers: > + mailto:jkarlin@chromium.org, mailto:rockot@chromium.org rockot: Could ...
5 years, 8 months ago (2015-04-27 14:42:02 UTC) #2
jkarlin
Nice work. First pass comments below: https://codereview.chromium.org/1106193002/diff/1/content/child/background_sync/background_sync_type_converters.cc File content/child/background_sync/background_sync_type_converters.cc (right): https://codereview.chromium.org/1106193002/diff/1/content/child/background_sync/background_sync_type_converters.cc#newcode5 content/child/background_sync/background_sync_type_converters.cc:5: #include "content/child/background_sync/background_sync_type_converters.h" New ...
5 years, 8 months ago (2015-04-27 18:25:11 UTC) #3
iclelland
https://codereview.chromium.org/1106193002/diff/1/content/child/background_sync/background_sync_type_converters.cc File content/child/background_sync/background_sync_type_converters.cc (right): https://codereview.chromium.org/1106193002/diff/1/content/child/background_sync/background_sync_type_converters.cc#newcode5 content/child/background_sync/background_sync_type_converters.cc:5: #include "content/child/background_sync/background_sync_type_converters.h" On 2015/04/27 18:25:11, jkarlin wrote: > New ...
5 years, 7 months ago (2015-04-28 12:41:30 UTC) #4
iclelland
+r tsepez@ -- Could I get an OWNERS review for the new .mojom files in ...
5 years, 7 months ago (2015-04-28 12:57:38 UTC) #6
Tom Sepez
mojom LGTM.
5 years, 7 months ago (2015-04-28 16:05:09 UTC) #7
jkarlin
https://codereview.chromium.org/1106193002/diff/1/content/child/background_sync/background_sync_type_converters.cc File content/child/background_sync/background_sync_type_converters.cc (right): https://codereview.chromium.org/1106193002/diff/1/content/child/background_sync/background_sync_type_converters.cc#newcode24 content/child/background_sync/background_sync_type_converters.cc:24: } On 2015/04/28 12:41:29, iclelland wrote: > On 2015/04/27 ...
5 years, 7 months ago (2015-04-29 13:49:27 UTC) #8
jkarlin
https://codereview.chromium.org/1106193002/diff/60001/content/child/background_sync/background_sync_type_converters.cc File content/child/background_sync/background_sync_type_converters.cc (right): https://codereview.chromium.org/1106193002/diff/60001/content/child/background_sync/background_sync_type_converters.cc#newcode100 content/child/background_sync/background_sync_type_converters.cc:100: return result; On 2015/04/29 13:49:26, jkarlin wrote: > scoped_ptr.h ...
5 years, 7 months ago (2015-04-29 15:07:59 UTC) #9
iclelland
https://codereview.chromium.org/1106193002/diff/60001/content/child/background_sync/background_sync_type_converters.cc File content/child/background_sync/background_sync_type_converters.cc (right): https://codereview.chromium.org/1106193002/diff/60001/content/child/background_sync/background_sync_type_converters.cc#newcode20 content/child/background_sync/background_sync_type_converters.cc:20: COMPILE_ASSERT_MATCHING_ENUM(BACKGROUND_SYNC_PERIODICITY_MAX, On 2015/04/29 13:49:26, jkarlin wrote: > Should compare ...
5 years, 7 months ago (2015-04-29 19:05:25 UTC) #10
iclelland
+r jochen@ -- Can you review the changes to the build files? content/common/BUILD.gn content/content_common_mojo_bindings.gyp content/public/common/BUILD.gn ...
5 years, 7 months ago (2015-04-29 19:08:23 UTC) #12
jkarlin
https://codereview.chromium.org/1106193002/diff/60001/content/child/background_sync/background_sync_type_converters.cc File content/child/background_sync/background_sync_type_converters.cc (right): https://codereview.chromium.org/1106193002/diff/60001/content/child/background_sync/background_sync_type_converters.cc#newcode100 content/child/background_sync/background_sync_type_converters.cc:100: return result; On 2015/04/29 19:05:24, iclelland wrote: > On ...
5 years, 7 months ago (2015-04-29 19:09:20 UTC) #13
jochen (gone - plz use gerrit)
lgtm
5 years, 7 months ago (2015-04-30 07:19:17 UTC) #14
jkarlin
lgtm with nits https://codereview.chromium.org/1106193002/diff/120001/content/child/background_sync/background_sync_type_converters.cc File content/child/background_sync/background_sync_type_converters.cc (right): https://codereview.chromium.org/1106193002/diff/120001/content/child/background_sync/background_sync_type_converters.cc#newcode21 content/child/background_sync/background_sync_type_converters.cc:21: PeriodicityOneShot); This check is unnecessary now ...
5 years, 7 months ago (2015-04-30 12:47:37 UTC) #15
iclelland
https://codereview.chromium.org/1106193002/diff/120001/content/child/background_sync/background_sync_type_converters.cc File content/child/background_sync/background_sync_type_converters.cc (right): https://codereview.chromium.org/1106193002/diff/120001/content/child/background_sync/background_sync_type_converters.cc#newcode21 content/child/background_sync/background_sync_type_converters.cc:21: PeriodicityOneShot); On 2015/04/30 12:47:37, jkarlin wrote: > This check ...
5 years, 7 months ago (2015-04-30 14:49:53 UTC) #16
jkarlin
https://codereview.chromium.org/1106193002/diff/120001/content/child/background_sync/background_sync_type_converters.cc File content/child/background_sync/background_sync_type_converters.cc (right): https://codereview.chromium.org/1106193002/diff/120001/content/child/background_sync/background_sync_type_converters.cc#newcode21 content/child/background_sync/background_sync_type_converters.cc:21: PeriodicityOneShot); On 2015/04/30 14:49:52, iclelland wrote: > On 2015/04/30 ...
5 years, 7 months ago (2015-04-30 14:58:38 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1106193002/140001
5 years, 7 months ago (2015-04-30 17:29:01 UTC) #20
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 7 months ago (2015-04-30 18:32:18 UTC) #21
commit-bot: I haz the power
5 years, 7 months ago (2015-04-30 18:33:15 UTC) #22
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/5347685266d20a08f84e4135bfb5fbb0ca182063
Cr-Commit-Position: refs/heads/master@{#327745}

Powered by Google App Engine
This is Rietveld 408576698