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

Issue 1586833002: Convert Pass()→std::move() for iOS build. (Closed)

Created:
4 years, 11 months ago by dcheng
Modified:
4 years, 11 months ago
CC:
asvitkine+watch_chromium.org, bondd+autofillwatch_chromium.org, browser-components-watch_chromium.org, cbentzel+watch_chromium.org, chromium-reviews, estade+watch_chromium.org, gavinp+memory_chromium.org, gavinp+disk_chromium.org, gcasto+watchlist_chromium.org, grt+watch_chromium.org, jdonnelly+autofillwatch_chromium.org, maxbogue+watch_chromium.org, mkwst+watchlist-passwords_chromium.org, noyau+watch_chromium.org, plaree+watch_chromium.org, pvalenzuela+watch_chromium.org, rouslan+autofill_chromium.org, sdefresne+watch_chromium.org, James Su, tfarina, tim+watch_chromium.org, vabr+watchlistpasswordmanager_chromium.org, vabr+watchlistautofill_chromium.org, vmpstr+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

Convert Pass()→std::move() for iOS build. BUG=557422 R=rickyz@chromium.org TBR=jam@chromium.org Committed: https://crrev.com/5e05b437032ffeb7bf9da7dcf1355fc668a33a9d Cr-Commit-Position: refs/heads/master@{#369328}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Revert accidental //base change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+275 lines, -173 lines) Patch
M chrome/browser/policy/profile_policy_connector_stub.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M components/dom_distiller/ios/distiller_page_ios.mm View 2 chunks +3 lines, -1 line 0 comments Download
M components/sessions/ios/ios_serialized_navigation_builder.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/sessions/ios/ios_serialized_navigation_builder_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/autocomplete/in_memory_url_index_factory.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/autofill/personal_data_manager_factory.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/bookmarks/bookmark_client_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/bookmarks/bookmark_model_factory.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/browser_state/chrome_browser_state_impl_io_data.cc View 11 chunks +17 lines, -19 lines 0 comments Download
M ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc View 8 chunks +13 lines, -11 lines 0 comments Download
M ios/chrome/browser/browser_state/off_the_record_chrome_browser_state_io_data.mm View 5 chunks +7 lines, -5 lines 0 comments Download
M ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_io_data.cc View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_settings.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ios/chrome/browser/dom_distiller/distiller_viewer.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc View 4 chunks +11 lines, -9 lines 0 comments Download
M ios/chrome/browser/favicon/large_icon_cache.cc View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/history/history_service_factory.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/infobars/infobar.mm View 2 chunks +3 lines, -2 lines 0 comments Download
M ios/chrome/browser/infobars/infobar_manager_impl.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/infobars/infobar_utils.mm View 2 chunks +4 lines, -2 lines 0 comments Download
M ios/chrome/browser/invalidation/ios_chrome_profile_invalidation_provider_factory.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M ios/chrome/browser/ios_chrome_io_thread.cc View 6 chunks +8 lines, -8 lines 0 comments Download
M ios/chrome/browser/metrics/ios_chrome_metrics_service_client.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M ios/chrome/browser/net/proxy_service_factory.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M ios/chrome/browser/passwords/credential_manager.mm View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/passwords/ios_chrome_password_manager_client.mm View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/passwords/ios_chrome_password_store_factory.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/passwords/password_controller.mm View 1 chunk +2 lines, -1 line 0 comments Download
M ios/chrome/browser/prefs/ios_chrome_pref_service_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/safe_browsing/ping_manager.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/signin/about_signin_internals_factory.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/signin/account_fetcher_service_factory.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/signin/account_reconcilor_factory.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/signin/account_tracker_service_factory.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/signin/fake_signin_manager_builder.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/signin/signin_client_impl.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/signin/signin_manager_factory.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/sync/ios_chrome_sync_client.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/translate/chrome_ios_translate_client.mm View 3 chunks +3 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/autofill/autofill_client_ios.mm View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/web_resource/web_resource_util_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ios/crnet/crnet_environment.mm View 4 chunks +7 lines, -5 lines 0 comments Download
M ios/net/crn_http_protocol_handler.mm View 2 chunks +2 lines, -1 line 0 comments Download
M ios/net/http_cache_helper.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/net/protocol_handler_util_unittest.mm View 2 chunks +5 lines, -2 lines 0 comments Download
M ios/web/app/web_main_loop.mm View 2 chunks +3 lines, -1 line 0 comments Download
M ios/web/interstitials/html_web_interstitial_impl.mm View 3 chunks +4 lines, -2 lines 0 comments Download
M ios/web/interstitials/native_web_interstitial_impl.mm View 3 chunks +4 lines, -2 lines 0 comments Download
M ios/web/navigation/crw_session_controller.mm View 3 chunks +4 lines, -3 lines 0 comments Download
M ios/web/navigation/crw_session_controller_unittest.mm View 6 chunks +9 lines, -6 lines 0 comments Download
M ios/web/navigation/crw_session_entry_unittest.mm View 2 chunks +5 lines, -2 lines 0 comments Download
M ios/web/navigation/navigation_item_impl.mm View 2 chunks +3 lines, -1 line 0 comments Download
M ios/web/navigation/navigation_manager_impl.mm View 3 chunks +4 lines, -2 lines 0 comments Download
M ios/web/net/cert_verifier_block_adapter.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/web/public/web_controller_factory.mm View 3 chunks +7 lines, -5 lines 0 comments Download
M ios/web/shell/shell_url_request_context_getter.cc View 5 chunks +9 lines, -7 lines 0 comments Download
M ios/web/shell/view_controller.mm View 2 chunks +4 lines, -1 line 0 comments Download
M ios/web/test/web_test.mm View 3 chunks +5 lines, -3 lines 0 comments Download
M ios/web/web_state/js/credential_util_unittest.mm View 9 chunks +9 lines, -9 lines 0 comments Download
M ios/web/web_state/ui/crw_ui_web_view_web_controller.mm View 2 chunks +3 lines, -1 line 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 6 chunks +7 lines, -5 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller_unittest.mm View 2 chunks +3 lines, -1 line 0 comments Download
M ios/web/web_state/ui/crw_wk_web_view_web_controller.mm View 2 chunks +4 lines, -2 lines 0 comments Download
M ios/web/webui/crw_web_ui_manager.mm View 1 chunk +1 line, -1 line 0 comments Download
M net/disk_cache/blockfile/file_ios.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils_chromium.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/client_socket_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/nss_ssl_util.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 2 chunks +2 lines, -1 line 0 comments Download
M net/socket/ssl_server_socket_nss.cc View 3 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
dcheng
More of the usual. It turns out OS_MACOSX is also true for iOS builds, so ...
4 years, 11 months ago (2016-01-13 23:04:58 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1586833002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1586833002/1
4 years, 11 months ago (2016-01-13 23:10:13 UTC) #3
rickyz (no longer on Chrome)
I'm not so familiar with objective C, but the C++ changes lgtm
4 years, 11 months ago (2016-01-14 00:35:23 UTC) #5
dcheng
https://codereview.chromium.org/1586833002/diff/1/base/memory/scoped_ptr_unittest.cc File base/memory/scoped_ptr_unittest.cc (right): https://codereview.chromium.org/1586833002/diff/1/base/memory/scoped_ptr_unittest.cc#newcode416 base/memory/scoped_ptr_unittest.cc:416: scoped_ptr<ConDecLogger>&& rvalue = std::move(scoper); Oops, this got included by ...
4 years, 11 months ago (2016-01-14 00:37:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1586833002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1586833002/20001
4 years, 11 months ago (2016-01-14 00:42:56 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_TIMED_OUT, no build URL) android_chromium_gn_compile_dbg on ...
4 years, 11 months ago (2016-01-14 02:49:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1586833002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1586833002/20001
4 years, 11 months ago (2016-01-14 02:54:05 UTC) #14
Avi (use Gerrit)
On 2016/01/13 23:04:58, dcheng wrote: > More of the usual. It turns out OS_MACOSX is ...
4 years, 11 months ago (2016-01-14 03:14:55 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-14 04:41:54 UTC) #16
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/5e05b437032ffeb7bf9da7dcf1355fc668a33a9d Cr-Commit-Position: refs/heads/master@{#369328}
4 years, 11 months ago (2016-01-14 04:43:43 UTC) #18
sdefresne
On 2016/01/14 at 04:43:43, commit-bot wrote: > Patchset 2 (id:??) landed as https://crrev.com/5e05b437032ffeb7bf9da7dcf1355fc668a33a9d > Cr-Commit-Position: ...
4 years, 11 months ago (2016-01-14 08:22:11 UTC) #19
dcheng
4 years, 11 months ago (2016-01-14 08:24:33 UTC) #20
Message was sent while issue was closed.
On 2016/01/14 at 08:22:11, sdefresne wrote:
> On 2016/01/14 at 04:43:43, commit-bot wrote:
> > Patchset 2 (id:??) landed as
https://crrev.com/5e05b437032ffeb7bf9da7dcf1355fc668a33a9d
> > Cr-Commit-Position: refs/heads/master@{#369328}
> 
> Quick question: we have still lots of usage of .Pass() in downstream iOS code.
Should we invest effort in converting them to std::move() now (i.e. how imminent
is the removal of .Pass() from scoped_ptr<>)?

I have good news for you =)
I already have the tooling setup for the internal repo. I'm just waiting for
this patch to get merged into the internal repo, and then I'll run tooling
across the internal repo to (hopefully) catch most of the remaining instances.

Powered by Google App Engine
This is Rietveld 408576698