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

Issue 1614063002: [BackgroundSync Cleanup] Remove periodic sync code (Closed)

Created:
4 years, 11 months ago by jkarlin
Modified:
4 years, 11 months ago
CC:
chromium-reviews, tim+watch_chromium.org, qsr+mojo_chromium.org, zea+watch_chromium.org, viettrungluu+watch_chromium.org, Peter Beverloo, maxbogue+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, dglazkov+blink, darin-cc_chromium.org, jkarlin+watch_chromium.org, asvitkine+watch_chromium.org, blink-reviews, plaree+watch_chromium.org, darin (slow to review), ben+mojo_chromium.org, blink-reviews-api_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@purge_power
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[BackgroundSync Cleanup] Remove periodic sync code Remove periodic information from structs, protobufs, methods, and histograms. There are still functions with names like "FireOneShot" as opposed to just "Fire." If those are renamed, it will be in a followup. * Remove power monitor: https://codereview.chromium.org/1617063002/ * Remove periodic code: https://codereview.chromium.org/1614063002/ * Remove mention of one-shot: https://codereview.chromium.org/1613053004/ BUG=552031 Committed: https://crrev.com/323a239968fdbfb6e86247cdc2f536e8bdaf0e78 Cr-Commit-Position: refs/heads/master@{#371307}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : More #

Total comments: 14

Patch Set 4 : Address comments from PS3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -549 lines) Patch
M content/browser/background_sync/background_sync.proto View 1 chunk +2 lines, -7 lines 0 comments Download
M content/browser/background_sync/background_sync_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/background_sync/background_sync_manager.h View 1 2 3 6 chunks +14 lines, -21 lines 0 comments Download
M content/browser/background_sync/background_sync_manager.cc View 1 2 3 30 chunks +65 lines, -106 lines 0 comments Download
M content/browser/background_sync/background_sync_manager_unittest.cc View 1 2 3 11 chunks +17 lines, -115 lines 0 comments Download
M content/browser/background_sync/background_sync_metrics.h View 2 chunks +4 lines, -10 lines 0 comments Download
M content/browser/background_sync/background_sync_metrics.cc View 2 chunks +24 lines, -78 lines 0 comments Download
M content/browser/background_sync/background_sync_registration_handle.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/background_sync/background_sync_registration_options.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/background_sync/background_sync_registration_options.cc View 1 chunk +1 line, -3 lines 0 comments Download
M content/browser/background_sync/background_sync_service_impl.h View 1 chunk +2 lines, -5 lines 0 comments Download
M content/browser/background_sync/background_sync_service_impl.cc View 6 chunks +2 lines, -18 lines 0 comments Download
M content/browser/background_sync/background_sync_service_impl_unittest.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M content/child/background_sync/background_sync_provider.h View 2 chunks +6 lines, -9 lines 0 comments Download
M content/child/background_sync/background_sync_provider.cc View 5 chunks +1 line, -7 lines 0 comments Download
M content/child/background_sync/background_sync_type_converters.h View 1 chunk +0 lines, -17 lines 0 comments Download
M content/child/background_sync/background_sync_type_converters.cc View 4 chunks +0 lines, -30 lines 0 comments Download
M content/child/background_sync/background_sync_type_converters_unittest.cc View 3 chunks +1 line, -64 lines 0 comments Download
M content/common/background_sync_service.mojom View 1 2 3 1 chunk +3 lines, -6 lines 0 comments Download
M content/public/common/background_sync.mojom View 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/background_sync/ServiceWorkerGlobalScopeSync.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/background_sync/SyncManager.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/background_sync/SyncManager.cpp View 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/public/platform/modules/background_sync/WebSyncProvider.h View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/public/platform/modules/background_sync/WebSyncRegistration.h View 2 chunks +2 lines, -24 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 6 chunks +18 lines, -3 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 25 (13 generated)
jkarlin
4 years, 11 months ago (2016-01-21 19:49:55 UTC) #4
jkarlin
iclelland@ Please review everything tsepez@ Please review the mojom files Thanks!
4 years, 11 months ago (2016-01-21 19:50:42 UTC) #5
Tom Sepez
mojom LGTM
4 years, 11 months ago (2016-01-21 19:59:36 UTC) #8
iclelland
LGTM with formatting/comment nits, and one question about a deleted test. https://codereview.chromium.org/1614063002/diff/40001/content/browser/background_sync/background_sync_manager.cc File content/browser/background_sync/background_sync_manager.cc (right): ...
4 years, 11 months ago (2016-01-22 19:20:42 UTC) #9
jkarlin
Thanks! https://codereview.chromium.org/1614063002/diff/40001/content/browser/background_sync/background_sync_manager.cc File content/browser/background_sync/background_sync_manager.cc (right): https://codereview.chromium.org/1614063002/diff/40001/content/browser/background_sync/background_sync_manager.cc#newcode173 content/browser/background_sync/background_sync_manager.cc:173: : value_("o_" + tag) {} On 2016/01/22 19:20:41, ...
4 years, 11 months ago (2016-01-22 19:45:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614063002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614063002/60001
4 years, 11 months ago (2016-01-25 12:12:58 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/138568)
4 years, 11 months ago (2016-01-25 12:21:38 UTC) #15
jkarlin
isherman@: PTAL at histograms.xml, thanks!
4 years, 11 months ago (2016-01-25 12:25:54 UTC) #18
Ilya Sherman
histograms.xml lgtm
4 years, 11 months ago (2016-01-25 19:41:47 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614063002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614063002/60001
4 years, 11 months ago (2016-01-25 19:46:53 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-25 20:51:02 UTC) #23
commit-bot: I haz the power
4 years, 11 months ago (2016-01-25 20:52:31 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/323a239968fdbfb6e86247cdc2f536e8bdaf0e78
Cr-Commit-Position: refs/heads/master@{#371307}

Powered by Google App Engine
This is Rietveld 408576698