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

Issue 1311053002: [BackgroundSync] Use appopriate type parameters for WebCallbacks (2/4) (Closed)

Created:
5 years, 4 months ago by yhirano
Modified:
5 years, 3 months ago
Reviewers:
jkarlin
CC:
blink-reviews, dglazkov+blink
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[BackgroundSync] Use appopriate type parameters for WebCallbacks (2/4) This series of CLs fixes WebCallback parameter types used in BackgroundSync. - WebSyncRegistration* (ownership transferred) => PassOwnPtr<WebServiceWorkerResponse> - bool* (ownership transferred) => bool - WebVector<WebSyncRegstration*>* (ownership transferred) => const WebVector<WebSyncRegistration*>& - WebPermissionStatus* (ownership transferred) => WebPermissionStatus - WebSyncError* (ownership transferred) => const WebSyncError& 1/4: https://codereview.chromium.org/1309143002/ 2/4: https://codereview.chromium.org/1311053002/ 3/4: https://codereview.chromium.org/1308273002/ 4/4: https://codereview.chromium.org/1308283002/ BUG=493531 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201312

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -103 lines) Patch
M Source/modules/background_sync/PeriodicSyncRegistration.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/modules/background_sync/PeriodicSyncRegistration.cpp View 3 chunks +6 lines, -13 lines 0 comments Download
M Source/modules/background_sync/SyncCallbacks.h View 5 chunks +10 lines, -10 lines 0 comments Download
M Source/modules/background_sync/SyncCallbacks.cpp View 1 5 chunks +27 lines, -45 lines 0 comments Download
M Source/modules/background_sync/SyncError.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/modules/background_sync/SyncError.cpp View 1 chunk +6 lines, -12 lines 0 comments Download
M Source/modules/background_sync/SyncRegistration.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/modules/background_sync/SyncRegistration.cpp View 1 chunk +2 lines, -9 lines 0 comments Download
M public/platform/modules/background_sync/WebSyncClient.h View 1 chunk +1 line, -2 lines 0 comments Download
M public/platform/modules/background_sync/WebSyncProvider.h View 1 2 3 chunks +73 lines, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (3 generated)
yhirano
5 years, 4 months ago (2015-08-24 08:46:51 UTC) #2
jkarlin
lgtm w/ question https://codereview.chromium.org/1311053002/diff/1/Source/modules/background_sync/SyncCallbacks.cpp File Source/modules/background_sync/SyncCallbacks.cpp (right): https://codereview.chromium.org/1311053002/diff/1/Source/modules/background_sync/SyncCallbacks.cpp#newcode1 Source/modules/background_sync/SyncCallbacks.cpp:1: // Copyright 2014 The Chromium Authors. ...
5 years, 4 months ago (2015-08-24 11:50:10 UTC) #3
yhirano
https://codereview.chromium.org/1311053002/diff/1/Source/modules/background_sync/SyncCallbacks.cpp File Source/modules/background_sync/SyncCallbacks.cpp (right): https://codereview.chromium.org/1311053002/diff/1/Source/modules/background_sync/SyncCallbacks.cpp#newcode1 Source/modules/background_sync/SyncCallbacks.cpp:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
5 years, 4 months ago (2015-08-24 14:07:39 UTC) #4
jkarlin
https://codereview.chromium.org/1311053002/diff/20001/public/platform/modules/background_sync/WebSyncProvider.h File public/platform/modules/background_sync/WebSyncProvider.h (right): https://codereview.chromium.org/1311053002/diff/20001/public/platform/modules/background_sync/WebSyncProvider.h#newcode121 public/platform/modules/background_sync/WebSyncProvider.h:121: callbacks->onError(new WebSyncError(WebSyncError::ErrorTypeAbort, "Function not implemented.")); Won't this fail because ...
5 years, 3 months ago (2015-08-26 13:21:16 UTC) #5
yhirano
https://codereview.chromium.org/1311053002/diff/20001/public/platform/modules/background_sync/WebSyncProvider.h File public/platform/modules/background_sync/WebSyncProvider.h (right): https://codereview.chromium.org/1311053002/diff/20001/public/platform/modules/background_sync/WebSyncProvider.h#newcode121 public/platform/modules/background_sync/WebSyncProvider.h:121: callbacks->onError(new WebSyncError(WebSyncError::ErrorTypeAbort, "Function not implemented.")); On 2015/08/26 13:21:16, jkarlin ...
5 years, 3 months ago (2015-08-27 02:21:52 UTC) #6
yhirano
https://codereview.chromium.org/1311053002/diff/20001/public/platform/modules/background_sync/WebSyncProvider.h File public/platform/modules/background_sync/WebSyncProvider.h (right): https://codereview.chromium.org/1311053002/diff/20001/public/platform/modules/background_sync/WebSyncProvider.h#newcode121 public/platform/modules/background_sync/WebSyncProvider.h:121: callbacks->onError(new WebSyncError(WebSyncError::ErrorTypeAbort, "Function not implemented.")); On 2015/08/27 02:21:52, yhirano ...
5 years, 3 months ago (2015-08-27 02:23:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311053002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311053002/40001
5 years, 3 months ago (2015-08-27 12:00:20 UTC) #10
commit-bot: I haz the power
5 years, 3 months ago (2015-08-27 13:28:31 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201312

Powered by Google App Engine
This is Rietveld 408576698