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

Issue 26594002: Chrome sync: Put WeakPtrFactory members at the end (Closed)

Created:
7 years, 2 months ago by dmichael (off chromium)
Modified:
7 years, 2 months ago
Reviewers:
Nico, akalin, nhiroki
CC:
chromium-reviews, tim+watch_chromium.org, tzik, haitaol+watch_chromium.org, nhiroki+watch_chromium.org, kinuko+watch, rsimha+watch_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : review comment #

Patch Set 3 : merge (see prior patch for try jobs) #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -97 lines) Patch
M chrome/browser/sync/backend_migrator.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/backend_migrator.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/favicon_cache.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/favicon_cache.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/session_change_processor.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/session_change_processor.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/session_model_associator.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/session_model_associator.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.cc View 3 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/sync/glue/synced_device_tracker.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/synced_device_tracker.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.cc View 1 2 1 chunk +2 lines, -2 lines 1 comment Download
M sync/engine/sync_scheduler_impl.h View 2 chunks +7 lines, -7 lines 0 comments Download
M sync/engine/sync_scheduler_impl.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M sync/engine/sync_scheduler_unittest.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M sync/internal_api/debug_info_event_listener.h View 1 chunk +2 lines, -2 lines 0 comments Download
M sync/internal_api/js_mutation_event_observer.h View 1 chunk +2 lines, -1 line 0 comments Download
M sync/internal_api/sync_encryption_handler_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M sync/internal_api/sync_encryption_handler_impl.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M sync/internal_api/sync_manager_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M sync/internal_api/sync_manager_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M sync/notifier/non_blocking_invalidator.h View 2 chunks +2 lines, -2 lines 0 comments Download
M sync/notifier/non_blocking_invalidator.cc View 1 1 chunk +6 lines, -7 lines 0 comments Download
M sync/notifier/sync_invalidation_listener.h View 2 chunks +2 lines, -1 line 0 comments Download
M sync/notifier/sync_invalidation_listener.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M sync/notifier/sync_system_resources.h View 2 chunks +4 lines, -3 lines 0 comments Download
M sync/notifier/sync_system_resources.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
dmichael (off chromium)
Please see the bug if you want context. This is mostly mechanical, although I did ...
7 years, 2 months ago (2013-10-08 22:12:59 UTC) #1
akalin
On 2013/10/08 22:12:59, dmichael wrote: > Please see the bug if you want context. > ...
7 years, 2 months ago (2013-10-08 22:22:35 UTC) #2
akalin
ah, i see what you mean. lgtm. https://codereview.chromium.org/26594002/diff/1/sync/notifier/non_blocking_invalidator.cc File sync/notifier/non_blocking_invalidator.cc (right): https://codereview.chromium.org/26594002/diff/1/sync/notifier/non_blocking_invalidator.cc#newcode145 sync/notifier/non_blocking_invalidator.cc:145: network_task_runner_(notifier_options.request_context_getter-> break ...
7 years, 2 months ago (2013-10-08 22:26:03 UTC) #3
dmichael (off chromium)
Thanks! https://codereview.chromium.org/26594002/diff/1/sync/notifier/non_blocking_invalidator.cc File sync/notifier/non_blocking_invalidator.cc (right): https://codereview.chromium.org/26594002/diff/1/sync/notifier/non_blocking_invalidator.cc#newcode145 sync/notifier/non_blocking_invalidator.cc:145: network_task_runner_(notifier_options.request_context_getter-> On 2013/10/08 22:26:04, akalin wrote: > break ...
7 years, 2 months ago (2013-10-08 22:41:19 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/26594002/11001
7 years, 2 months ago (2013-10-08 22:41:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/26594002/11001
7 years, 2 months ago (2013-10-09 02:39:27 UTC) #6
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=29469
7 years, 2 months ago (2013-10-09 07:45:46 UTC) #7
dmichael (off chromium)
nhiroki TBRed for chrome/browser/sync_file_system/drive_backend/* It's pretty straightforward, so hopefully TBR is okay. Thanks!
7 years, 2 months ago (2013-10-09 16:13:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/26594002/11001
7 years, 2 months ago (2013-10-09 16:13:45 UTC) #9
nhiroki
LGTM for chrome/browser/sync_file_system/drive_backend/*
7 years, 2 months ago (2013-10-09 16:16:34 UTC) #10
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 2 months ago (2013-10-09 17:52:10 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/26594002/27001
7 years, 2 months ago (2013-10-09 21:38:26 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/26594002/27001
7 years, 2 months ago (2013-10-10 00:50:10 UTC) #13
dmichael (off chromium)
Committed patchset #3 manually as r227944 (presubmit successful).
7 years, 2 months ago (2013-10-10 16:21:48 UTC) #14
Nico
7 years, 2 months ago (2013-10-12 06:32:54 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/26594002/diff/27001/chrome/browser/sync_file_...
File chrome/browser/sync_file_system/drive_backend/sync_engine.cc (right):

https://codereview.chromium.org/26594002/diff/27001/chrome/browser/sync_file_...
chrome/browser/sync_file_system/drive_backend/sync_engine.cc:32:
task_manager_(weak_ptr_factory_.GetWeakPtr()),
Now weak_ptr_factory_ is uninitialized when used here:

../../chrome/browser/sync_file_system/drive_backend/sync_engine.cc:33:21:error:
field 'weak_ptr_factory_' is uninitialized when used here
[-Werror,-Wuninitialized]
      task_manager_(weak_ptr_factory_.GetWeakPtr()),
                    ^
1 error generated.

Powered by Google App Engine
This is Rietveld 408576698