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

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed)

Created:
4 years, 11 months ago by dcheng
Modified:
4 years, 11 months ago
Reviewers:
danakj, brettw
CC:
anandc+watch-blimp_chromium.org, bondd+autofillwatch_chromium.org, browser-components-watch_chromium.org, cbentzel+watch_chromium.org, cc-bugs_chromium.org, certificate-transparency-chrome_googlegroups.com, chromium-apps-reviews_chromium.org, chromium-reviews, chromoting-reviews_chromium.org, danakj+watch_chromium.org, danakj, darin-cc_chromium.org, dtrainor+watch-blimp_chromium.org, Eran Messeri, estade+watch_chromium.org, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, jam, jbauman+watch_chromium.org, jdonnelly+autofillwatch_chromium.org, kalyank, kinuko+fileapi, kmarshall+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, maxbogue+watch_chromium.org, Matt Giuca, miu+watch_chromium.org, nhiroki, nyquist+watch-blimp_chromium.org, piman+watch_chromium.org, plaree+watch_chromium.org, rouslan+autofill_chromium.org, sadrul, sievers+watch_chromium.org, sriramsr+watch-blimp_chromium.org, tapted, tdresser+watch_chromium.org, tfarina, tim+watch_chromium.org, tracing+reviews_chromium.org, tzik, vabr+watchlistautofill_chromium.org, wfh+watch_chromium.org, 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

Fix remaining incompatibilities between scoped_ptr and unique_ptr. scoped_ptr is more convertible to bool than std::unique_ptr. bool x = scoped_ptr<int>(); // compiles bool y = std::unique_ptr<int>(); // explodes std::unique_ptr is not streamable: LOG(ERROR) << scoped_ptr<int>(); // compiles LOG(ERROR) << std::unique_ptr<int>(); // explodes BUG=579269, 579270 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/5d64b5269aa9293c992f41235290366d21cb38ac Cr-Commit-Position: refs/heads/master@{#370266}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -76 lines) Patch
M ash/test/test_keyboard_ui.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/window_state.h View 1 chunk +1 line, -3 lines 0 comments Download
M ash/wm/window_state.cc View 1 chunk +1 line, -1 line 0 comments Download
M blimp/net/blimp_message_output_buffer.cc View 1 chunk +1 line, -1 line 0 comments Download
M blimp/net/browser_connection_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M blimp/net/engine_authentication_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/animation/element_animations.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/input/top_controls_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/layer_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/certificate_manager_model.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/gcd_private/privet_v3_session.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/webstore_private/webstore_private_api.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/profile_resetter/brandcode_config_fetcher.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/signin/easy_unlock_screenlock_state_handler_unittest.cc View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ssl/common_name_mismatch_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_task_token.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/extensions/extension_installed_bubble.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/omnibox/chrome_omnibox_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/drive/resource_metadata_storage.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/drive/service/fake_drive_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/user_prefs/tracked/tracked_preferences_migration_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/compositor/delegated_frame_host.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/media_web_contents_observer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/touch_emulator.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/touch_event_queue.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/ssl/ssl_client_auth_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/tracing/background_tracing_manager_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/wake_lock/wake_lock_service_context.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M crypto/scoped_test_nss_db.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/storage/storage_api_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M media/audio/sounds/audio_stream_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/base/bind_to_current_loop_unittest.cc View 1 chunk +1 line, -1 line 1 comment Download
M media/base/pipeline.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/blink/buffered_resource_loader_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/decoder_stream.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/cert/ct_objects_extractor_openssl.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/cert/internal/signature_algorithm_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/server/web_socket_encoder.h View 1 chunk +1 line, -1 line 0 comments Download
M net/test/cert_test_util_nss.cc View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/compositor_layer_resource.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/proxy/raw_var_data.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/backoff_timer.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/gcd_rest_client.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/native_messaging/native_messaging_reader.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/setup/me2me_native_messaging_host.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M storage/browser/blob/blob_storage_context.cc View 1 chunk +1 line, -1 line 0 comments Download
M sync/engine/non_blocking_type_commit_contribution.cc View 1 chunk +2 lines, -2 lines 1 comment Download
M sync/internal_api/public/util/proto_value_ptr_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M sync/sessions/data_type_tracker.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/views/search_result_list_view_unittest.cc View 1 chunk +1 line, -3 lines 0 comments Download
M ui/events/blink/input_handler_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/keyboard/content/keyboard_ui_content.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/keyboard/keyboard_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/combobox/combobox.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/native/native_view_host_aura.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (7 generated)
dcheng
Brett, mind reviewing this? Pretty straightforward change. Places that use a scoped_ptr as a bool ...
4 years, 11 months ago (2016-01-19 23:42:46 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1609923002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1609923002/1
4 years, 11 months ago (2016-01-19 23:44:16 UTC) #5
brettw
lgtm
4 years, 11 months ago (2016-01-19 23:47:56 UTC) #6
dcheng
(Forgot to send the draft comments, so two comments on things that I noticed when ...
4 years, 11 months ago (2016-01-19 23:50:55 UTC) #7
danakj
LGTM 2
4 years, 11 months ago (2016-01-19 23:59:34 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-20 01:19:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1609923002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1609923002/1
4 years, 11 months ago (2016-01-20 01:23:33 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-20 01:41:10 UTC) #14
commit-bot: I haz the power
4 years, 11 months ago (2016-01-20 01:43:26 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5d64b5269aa9293c992f41235290366d21cb38ac
Cr-Commit-Position: refs/heads/master@{#370266}

Powered by Google App Engine
This is Rietveld 408576698