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

Issue 821453003: Update legacy Tuple-using code. (Closed)

Created:
6 years ago by Avi (use Gerrit)
Modified:
6 years ago
Reviewers:
Nico, mdempsky
CC:
chromium-reviews, skanuj+watch_chromium.org, mlamouri+watch-content_chromium.org, tburkard+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, nasko+codewatch_chromium.org, browser-components-watch_chromium.org, gavinp+memory_chromium.org, rouslan+autofillwatch_chromium.org, michaeln, dmazzoni+watch_chromium.org, aandrey+blink_chromium.org, jdduke+watch_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, vsevik, melevin+watch_chromium.org, serviceworker-reviews, aboxhall+watch_chromium.org, grt+watch_chromium.org, tzik, jam, kinuko+serviceworker, posciak+watch_chromium.org, rlp+watch_chromium.org, jkarlin+watch_chromium.org, devtools-reviews_chromium.org, groby+spellwatch_chromium.org, chromium-apps-reviews_chromium.org, erikwright+watch_chromium.org, davidben+watch_chromium.org, creis+watch_chromium.org, dtseng+watch_chromium.org, jsbell+serviceworker_chromium.org, rouslan+spellwatch_chromium.org, nhiroki, gavinp+prer_chromium.org, jfweitz+watch_chromium.org, yuzo+watch_chromium.org, estade+watch_chromium.org, piman+watch_chromium.org, gcasto+watchlist_chromium.org, Jered, mkwst+watchlist-passwords_chromium.org, chrome-apps-syd-reviews_chromium.org, plundblad+watch_chromium.org, feature-media-reviews_chromium.org, horo+watch_chromium.org, donnd+watch_chromium.org, mcasas+watch_chromium.org, yurys, paulirish+reviews_chromium.org, David Black, samarth+watch_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, kmadhusu+watch_chromium.org, wjia+watch_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : linux, win #

Patch Set 4 : android #

Patch Set 5 : git cl try #

Patch Set 6 : aura #

Patch Set 7 : aura fix #

Patch Set 8 : fix #

Patch Set 9 : fixin #

Patch Set 10 : media #

Total comments: 14

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+474 lines, -531 lines) Patch
M base/memory/raw_scoped_refptr_mismatch_checker.h View 5 chunks +9 lines, -9 lines 0 comments Download
M base/observer_list_threadsafe.h View 1 chunk +10 lines, -10 lines 0 comments Download
M base/tuple.h View 1 chunk +0 lines, -65 lines 0 comments Download
M base/tuple_unittest.cc View 2 chunks +34 lines, -34 lines 0 comments Download
M chrome/browser/apps/app_shim/app_shim_host_mac_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/alarms/alarms_api_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/sandboxed_unpacker.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/search/instant_service_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/translate/translate_manager_render_view_host_unittest.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/search/instant_search_prerenderer_unittest.cc View 1 chunk +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/search/search_ipc_router_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/search_tab_helper_unittest.cc View 6 chunks +9 lines, -9 lines 0 comments Download
M chrome/renderer/autofill/autofill_renderer_browsertest.cc View 8 chunks +12 lines, -12 lines 0 comments Download
M chrome/renderer/autofill/form_autocomplete_browsertest.cc View 4 chunks +16 lines, -16 lines 0 comments Download
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 5 chunks +13 lines, -12 lines 0 comments Download
M chrome/renderer/printing/print_web_view_helper_browsertest.cc View 6 chunks +16 lines, -16 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/renderer/translate/translate_helper_browsertest.cc View 13 chunks +16 lines, -16 lines 0 comments Download
M chrome/utility/shell_handler_win.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/content/browser/content_autofill_driver_unittest.cc View 5 chunks +10 lines, -10 lines 0 comments Download
M components/autofill/content/browser/request_autocomplete_manager_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/autofill/content/renderer/renderer_save_password_progress_logger_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/password_manager/content/browser/content_credential_manager_dispatcher_unittest.cc View 4 chunks +4 lines, -5 lines 0 comments Download
M components/password_manager/content/renderer/credential_manager_client_browsertest.cc View 1 chunk +8 lines, -8 lines 0 comments Download
M content/browser/devtools/render_view_devtools_agent_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl_unittest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/input/touch_input_browsertest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_test_utils.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_printing_host_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 2 3 4 4 chunks +6 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 4 5 6 10 chunks +29 lines, -28 lines 0 comments Download
M content/browser/resolve_proxy_msg_helper_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_handle_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/shared_worker/shared_worker_host.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/shared_worker/shared_worker_service_impl_unittest.cc View 3 chunks +8 lines, -8 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M content/child/resource_dispatcher_unittest.cc View 1 chunk +12 lines, -12 lines 0 comments Download
M content/child/threaded_data_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_channel.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/common/gpu/media/android_video_encode_accelerator.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/android_video_encode_accelerator.cc View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -11 lines 0 comments Download
M content/common/gpu/media/video_encode_accelerator_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -8 lines 0 comments Download
M content/renderer/accessibility/renderer_accessibility_browsertest.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 chunk +7 lines, -6 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_manager.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/external_popup_menu_browsertest.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M content/renderer/input/input_event_filter.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/renderer/input/input_event_filter_unittest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/media/render_media_log_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_file_chooser_host_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/pepper/plugin_power_saver_helper_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_frame_proxy.cc View 1 chunk +7 lines, -6 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 16 chunks +30 lines, -30 lines 0 comments Download
M content/renderer/render_widget_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/screen_orientation/screen_orientation_dispatcher_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/renderer/guest_view/extensions_guest_view_container.cc View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/host/dispatch_host_message.h View 1 chunk +13 lines, -11 lines 0 comments Download
M ppapi/proxy/dispatch_reply_message.h View 1 chunk +12 lines, -11 lines 0 comments Download
M ppapi/proxy/nacl_message_scanner.cc View 1 chunk +14 lines, -14 lines 0 comments Download
M ppapi/proxy/plugin_var_tracker_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/proxy/ppapi_message_utils.h View 6 chunks +5 lines, -6 lines 0 comments Download
M ppapi/proxy/ppapi_proxy_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/resource_message_test_sink.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M ppapi/proxy/websocket_resource_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M printing/pdf_render_settings.h View 2 chunks +4 lines, -4 lines 0 comments Download
M ui/base/win/open_file_name_win.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/base/win/open_file_name_win.cc View 1 2 2 chunks +7 lines, -10 lines 0 comments Download
M ui/base/win/open_file_name_win_unittest.cc View 1 2 3 4 5 3 chunks +7 lines, -5 lines 0 comments Download
M ui/shell_dialogs/select_file_dialog_win.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Avi (use Gerrit)
The rest...
6 years ago (2014-12-22 16:35:51 UTC) #2
Nico
awesome, lgtm! I left a few "can possibly be a variadic template" comments below for ...
6 years ago (2014-12-22 17:03:13 UTC) #4
mdempsky
lgtm Out of curiosity, was this generated manually or with tooling? Agreed with Nico that ...
6 years ago (2014-12-22 17:47:30 UTC) #5
Nico
On Mon, Dec 22, 2014 at 9:47 AM, <mdempsky@chromium.org> wrote: > lgtm > > Out ...
6 years ago (2014-12-22 17:48:19 UTC) #6
Avi (use Gerrit)
Comments: 1. This was done manually. 2. Variadic templates make my brain hurt, plus I ...
6 years ago (2014-12-22 17:57:57 UTC) #7
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/95c2a1b7d5626b287be55e41a5cfc33c6880eb46 Cr-Commit-Position: refs/heads/master@{#309441}
6 years ago (2014-12-22 18:00:52 UTC) #8
Avi (use Gerrit)
Committed patchset #11 (id:200001) manually as 95c2a1b7d5626b287be55e41a5cfc33c6880eb46 (presubmit successful).
6 years ago (2014-12-22 18:00:55 UTC) #9
Avi (use Gerrit)
6 years ago (2014-12-22 18:03:03 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/821453003/diff/180001/printing/pdf_render_set...
File printing/pdf_render_settings.h (right):

https://codereview.chromium.org/821453003/diff/180001/printing/pdf_render_set...
printing/pdf_render_settings.h:28: const gfx::Rect& area() const { return
::get<0>(*this); }
On 2014/12/22 17:03:12, Nico wrote:
> Out of interest, why do you need the ::?

Because "get" is used for the name of lots of member functions of the various
base classes of Tuple, and I got the most complicated error messages about how
it couldn't decide which base class's "get" I meant if I didn't qualify it with
the ::.

Powered by Google App Engine
This is Rietveld 408576698