|
|
Deprecate NonThreadSafe in components/sync in favor of SequenceChecker.
Note to crash team: This CL is a refactor and has no intended behavior change.
This change was scripted by https://crbug.com/676387#c8.
Note-worthy for the reviewer:
* SequenceChecker enforces thread-safety but not thread-affinity!
If the classes that were updated are thread-affine (use thread local
storage or a third-party API that does) they should be migrated to
ThreadChecker instead.
* ~NonThreadSafe() used to implcitly check in its destructor
~Sequence/ThreadChecker() doesn't by design. To keep this CL a
no-op, an explicit check was added to the destructor of migrated
classes.
* NonThreadSafe used to provide access to subclasses, as such
the |sequence_checker_| member was made protected rather than
private where necessary.
BUG= 676387
This CL was uploaded by git cl split.
R=stanisc@chromium.org
Review-Url: https://codereview.chromium.org/2915453002
Cr-Commit-Position: refs/heads/master@{#476015}
Committed: https://chromium.googlesource.com/chromium/src/+/93f8b8a5cc48cc016c1979076b08d16d568c34f1
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+320 lines, -256 lines) |
Patch |
 |
M |
components/sync/base/sync_prefs.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/sync/base/sync_prefs.cc
|
View
|
|
8 chunks |
+31 lines, -31 lines |
0 comments
|
Download
|
 |
M |
components/sync/base/weak_handle.h
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/sync/device_info/local_device_info_provider_impl.h
|
View
|
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/sync/device_info/local_device_info_provider_impl.cc
|
View
|
|
4 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine/attachments/attachment_store_frontend.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine/attachments/attachment_store_frontend.cc
|
View
|
|
8 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine/attachments/fake_attachment_downloader.h
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine/attachments/fake_attachment_downloader.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine/attachments/fake_attachment_uploader.h
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine/attachments/fake_attachment_uploader.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine/attachments/in_memory_attachment_store.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine/attachments/in_memory_attachment_store.cc
|
View
|
|
7 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine/attachments/on_disk_attachment_store.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine/attachments/on_disk_attachment_store.cc
|
View
|
|
7 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine_impl/attachments/attachment_downloader_impl.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine_impl/attachments/attachment_downloader_impl.cc
|
View
|
|
4 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine_impl/attachments/attachment_downloader_impl_unittest.cc
|
View
|
|
4 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine_impl/attachments/attachment_uploader_impl.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine_impl/attachments/attachment_uploader_impl.cc
|
View
|
|
7 chunks |
+14 lines, -12 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine_impl/attachments/attachment_uploader_impl_unittest.cc
|
View
|
|
10 chunks |
+24 lines, -14 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine_impl/js_mutation_event_observer.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine_impl/js_mutation_event_observer.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine_impl/sync_scheduler_impl.h
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/sync/engine_impl/sync_scheduler_impl.cc
|
View
|
|
33 chunks |
+38 lines, -38 lines |
0 comments
|
Download
|
 |
M |
components/sync/model/attachments/attachment_service_proxy_unittest.cc
|
View
|
|
6 chunks |
+15 lines, -11 lines |
0 comments
|
Download
|
 |
M |
components/sync/model_impl/attachments/attachment_service_impl.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/sync/model_impl/attachments/attachment_service_impl.cc
|
View
|
|
10 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
 |
M |
components/sync/model_impl/attachments/task_queue.h
|
View
|
|
11 chunks |
+19 lines, -10 lines |
0 comments
|
Download
|
 |
M |
components/sync/model_impl/model_type_store_impl.h
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/sync/model_impl/model_type_store_impl.cc
|
View
|
|
8 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
 |
M |
components/sync/model_impl/shared_model_type_processor.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/sync/model_impl/shared_model_type_processor.cc
|
View
|
|
12 chunks |
+17 lines, -15 lines |
0 comments
|
Download
|
 |
M |
components/sync/syncable/directory_backing_store.h
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/sync/syncable/directory_backing_store.cc
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/sync/syncable/on_disk_directory_backing_store.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 17 (11 generated)
|