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

Issue 1815363002: Add RetainedRef uses where needed. (Closed)

Created:
4 years, 9 months ago by vmpstr
Modified:
4 years, 9 months ago
CC:
achuith+watch_chromium.org, asanka, blink-worker-reviews_chromium.org, bondd+autofillwatch_chromium.org, browser-components-watch_chromium.org, cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, cmumford, darin-cc_chromium.org, dzhioev+watch_chromium.org, eroman, estade+watch_chromium.org, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, gavinp+disk_chromium.org, grt+watch_chromium.org, horo+watch_chromium.org, jam, jdonnelly+autofillwatch_chromium.org, jkarlin+watch_chromium.org, jochen+watch_chromium.org, jsbell+idb_chromium.org, jsbell+serviceworker_chromium.org, kinuko+watch, kinuko+fileapi, kinuko+serviceworker, loading-reviews_chromium.org, markusheintz_, maxbogue+watch_chromium.org, mcasas+watch_chromium.org, michaeln, miu+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, mmenke, nhiroki, noyau+watch_chromium.org, ortuno+watch_chromium.org, pam+watch_chromium.org, Peter Beverloo, piman+watch_chromium.org, plaree+watch_chromium.org, posciak+watch_chromium.org, rouslan+autofill_chromium.org, scheduler-bugs_chromium.org, scheib+watch_chromium.org, serviceworker-reviews, tfarina, Lei Zhang, tim+watch_chromium.org, tommycli, tracing+reviews_chromium.org, tzik, vabr+watchlistlogin_chromium.org, vabr+watchlistautofill_chromium.org, wfh+watch_chromium.org, wjmaclean, 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 RetainedRef uses where needed. This patch adds RetainedRef uses where they are required. These changes will be required when we remove automatic unwrapping of scoped_refptrs in Bind. Please see the bug for more context. R=tzik@chromium.org, thakis@chromium.org, danakj@chromium.org BUG=589048 Committed: https://crrev.com/a34d11324e0767acd94d8754e3a117e072492cf4 Cr-Commit-Position: refs/heads/master@{#382371}

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+627 lines, -762 lines) Patch
M base/deferred_sequenced_task_runner_unittest.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M base/synchronization/waitable_event_watcher_posix.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M base/task/cancelable_task_tracker.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M base/test/launcher/test_launcher.cc View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M base/test/sequenced_task_runner_test_template.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M base/test/task_runner_test_template.h View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M base/threading/sequenced_worker_pool_unittest.cc View 1 2 5 chunks +17 lines, -15 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_net_benchmarking_message_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/errorpage_browsertest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/management/chrome_management_api_delegate.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M chrome/browser/extensions/app_data_migrator.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_system_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc View 4 chunks +11 lines, -16 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc View 1 chunk +6 lines, -11 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/native_media_file_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc View 1 chunk +4 lines, -9 lines 0 comments Download
M chrome/browser/net/preconnect.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/sdch_browsertest.cc View 4 chunks +7 lines, -10 lines 0 comments Download
M chrome/browser/policy/policy_network_browsertest.cc View 1 chunk +6 lines, -9 lines 0 comments Download
M chrome/browser/printing/print_job.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/printing/print_job_worker.cc View 1 2 4 chunks +14 lines, -20 lines 0 comments Download
M chrome/browser/printing/pwg_raster_converter.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/threat_details_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ssl/certificate_reporting_test_utils.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ssl/ssl_add_certificate.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/browser/sync_file_system/local/canned_syncable_file_system.cc View 4 chunks +14 lines, -16 lines 0 comments Download
M chrome/browser/sync_file_system/local/local_file_sync_context.cc View 20 chunks +51 lines, -78 lines 0 comments Download
M chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/local/local_file_sync_service.cc View 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/sync_file_system/local/root_delete_helper.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync_file_system/local/sync_file_system_backend.cc View 2 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/themes/theme_service.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/login/login_prompt.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/ssl_client_certificate_selector.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/utility/profile_import_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/webdata/autofill_webdata_service.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/bookmarks/browser/bookmark_storage.cc View 1 chunk +4 lines, -6 lines 0 comments Download
M components/drive/change_list_loader.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M components/drive/directory_loader.cc View 1 chunk +4 lines, -9 lines 0 comments Download
M components/drive/file_system/search_operation.cc View 1 chunk +9 lines, -14 lines 0 comments Download
M components/history/core/browser/top_sites_impl.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M components/scheduler/base/task_queue_manager_unittest.cc View 4 chunks +13 lines, -13 lines 0 comments Download
M components/scheduler/child/idle_helper_unittest.cc View 8 chunks +28 lines, -20 lines 0 comments Download
M components/scheduler/child/scheduler_helper_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl_unittest.cc View 9 chunks +22 lines, -19 lines 0 comments Download
M components/sessions/core/base_session_service.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/wallpaper/wallpaper_resizer.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/appcache/chrome_appcache_service_unittest.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M content/browser/cache_storage/cache_storage_dispatcher_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/dom_storage/dom_storage_context_wrapper.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/download/save_file_resource_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/save_package.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_quota_client.cc View 4 chunks +12 lines, -17 lines 0 comments Download
M content/browser/loader/async_revalidation_driver_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/loader/resource_loader_unittest.cc View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M content/browser/media/capture/web_contents_audio_input_stream.cc View 1 chunk +8 lines, -12 lines 0 comments Download
M content/browser/media/capture/web_contents_audio_muter.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M content/browser/plugin_service_impl.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_renderer_host.cc View 2 chunks +12 lines, -25 lines 0 comments Download
M content/browser/renderer_host/render_widget_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_browsertest.cc View 2 chunks +5 lines, -9 lines 0 comments Download
M content/browser/service_worker/service_worker_context_wrapper.cc View 1 chunk +5 lines, -9 lines 0 comments Download
M content/browser/service_worker/service_worker_controllee_request_handler.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M content/browser/service_worker/service_worker_provider_host.cc View 1 chunk +5 lines, -6 lines 0 comments Download
M content/browser/service_worker/service_worker_register_job.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_version_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/speech/speech_recognizer_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/ssl/ssl_client_auth_handler.cc View 1 2 3 chunks +3 lines, -4 lines 0 comments Download
M content/browser/storage_partition_impl.cc View 1 chunk +9 lines, -21 lines 0 comments Download
M content/browser/storage_partition_impl_map.cc View 2 chunks +11 lines, -11 lines 0 comments Download
M content/browser/tracing/tracing_controller_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/tracing/tracing_controller_impl.cc View 1 2 9 chunks +19 lines, -17 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl_data_sinks.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/webui/url_data_manager_backend.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M content/child/child_gpu_memory_buffer_manager.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/child/fileapi/webfilesystem_impl.cc View 1 2 16 chunks +30 lines, -28 lines 0 comments Download
M content/child/service_worker/web_service_worker_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/public/test/browser_test_utils.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/browser_render_view_browsertest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/gpu/gpu_benchmarking_extension.cc View 1 2 6 chunks +12 lines, -6 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler.cc View 2 chunks +12 lines, -8 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.cc View 2 chunks +9 lines, -12 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_event_router.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_extension_system.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M ipc/ipc_channel_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_sync_channel.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/cert/cert_database.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M net/cert/nss_cert_database.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M net/disk_cache/simple/simple_entry_impl.cc View 5 chunks +23 lines, -36 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M ppapi/proxy/ppapi_proxy_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M printing/printed_document.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M storage/browser/database/database_quota_client.cc View 4 chunks +11 lines, -19 lines 0 comments Download
M storage/browser/fileapi/async_file_util_adapter.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M storage/browser/fileapi/file_system_context.cc View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M storage/browser/fileapi/file_system_file_stream_reader.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M storage/browser/fileapi/file_system_quota_client.cc View 4 chunks +12 lines, -27 lines 0 comments Download
M storage/browser/fileapi/local_file_stream_reader.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M storage/browser/fileapi/local_file_stream_writer.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M storage/browser/fileapi/sandbox_file_stream_writer.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M storage/browser/quota/quota_manager.cc View 1 chunk +2 lines, -1 line 0 comments Download
M storage/browser/quota/quota_manager_proxy.cc View 3 chunks +8 lines, -10 lines 0 comments Download
M sync/internal_api/http_bridge_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
vmpstr
Please take a look. This depends on https://codereview.chromium.org/1815493002/. I plan on sending a PSA before ...
4 years, 9 months ago (2016-03-18 20:44:12 UTC) #2
Nico
I'm very confused by the nullptr changes. The rest looks good. https://codereview.chromium.org/1815363002/diff/20001/base/bind_helpers.h File base/bind_helpers.h (left): ...
4 years, 9 months ago (2016-03-18 21:01:01 UTC) #3
vmpstr
PTAL https://codereview.chromium.org/1815363002/diff/20001/base/bind_helpers.h File base/bind_helpers.h (left): https://codereview.chromium.org/1815363002/diff/20001/base/bind_helpers.h#oldcode438 base/bind_helpers.h:438: template <typename T> On 2016/03/18 21:01:01, Nico wrote: ...
4 years, 9 months ago (2016-03-18 22:20:23 UTC) #5
Nico
lgtm
4 years, 9 months ago (2016-03-18 22:23:22 UTC) #6
vmpstr
+jochen@ for components/ and content/ +reillyg@ for extensions/ +jam@ for ipc/ +gavinp@ for net/ +piman@ ...
4 years, 9 months ago (2016-03-18 22:34:17 UTC) #8
Reilly Grant (use Gerrit)
//chrome/browser/extensions and //extensions lgtm. In all the cases I see in the code I looked ...
4 years, 9 months ago (2016-03-18 22:42:02 UTC) #9
pavely
sync/internal_api/http_bridge_unittest.cc lgtm
4 years, 9 months ago (2016-03-18 22:53:56 UTC) #10
vmpstr
On 2016/03/18 22:42:02, Reilly Grant wrote: > //chrome/browser/extensions and //extensions lgtm. > > In all ...
4 years, 9 months ago (2016-03-18 23:12:08 UTC) #11
piman
lgtm
4 years, 9 months ago (2016-03-18 23:49:24 UTC) #12
tzik
lgtm
4 years, 9 months ago (2016-03-19 10:13:45 UTC) #13
jam
lgtm
4 years, 9 months ago (2016-03-21 14:47:47 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1815363002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1815363002/40001
4 years, 9 months ago (2016-03-21 18:49:47 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-21 20:28:59 UTC) #18
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 20:30:39 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a34d11324e0767acd94d8754e3a117e072492cf4
Cr-Commit-Position: refs/heads/master@{#382371}

Powered by Google App Engine
This is Rietveld 408576698