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

Issue 1349783006: Cleanup: Pass std::string as const reference if possible (Closed)

Created:
5 years, 3 months ago by ki.stfu
Modified:
5 years, 3 months ago
CC:
chromium-reviews, sadrul, jam, ben+mojo_chromium.org, tim+watch_chromium.org, melevin+watch_chromium.org, raymes+watch_chromium.org, pvalenzuela+watch_chromium.org, rlp+watch_chromium.org, kalyank, mlamouri+watch-content_chromium.org, jochen+watch_chromium.org, sdefresne+watch_chromium.org, plundblad+watch_chromium.org, hashimoto+watch_chromium.org, tfarina, avayvod+watch_chromium.org, David Black, isheriff+watch_chromium.org, pfeldman, maxbogue+watch_chromium.org, viettrungluu+watch_chromium.org, shuchen+watch_chromium.org, dougw+watch_chromium.org, sievers+watch_chromium.org, scheib+watch_chromium.org, kinuko+watch, native-client-reviews_googlegroups.com, Aaron Boodman, samuong+watch_chromium.org, achuith+watch_chromium.org, eme-reviews_chromium.org, halliwell+watch_chromium.org, groby+spellwatch_chromium.org, chromium-apps-reviews_chromium.org, tnakamura+watch_chromium.org, nhiroki, gunsch+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, Jered, mkwst+watchlist-passwords_chromium.org, Lei Zhang, yurys, plaree+watch_chromium.org, mmenke, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, peter+watch_chromium.org, yusukes+watch_chromium.org, zea+watch_chromium.org, binji+watch_chromium.org, dhollowa+watch_chromium.org, yzshen+watch_chromium.org, dgrogan, dmazzoni+watch_chromium.org, tracing+reviews_chromium.org, miu+watch_chromium.org, extensions-reviews_chromium.org, nona+watch_chromium.org, dzhioev+watch_chromium.org, abarth-chromium, je_julie, darin-cc_chromium.org, devtools-reviews_chromium.org, xjz+watch_chromium.org, vabr+watchlist_chromium.org, blink-worker-reviews_chromium.org, pedrosimonetti+watch_chromium.org, dbeam+watch-ntp_chromium.org, imcheng+watch_chromium.org, jasonroberts+watch_google.com, jfweitz+watch_chromium.org, rouslan+spell_chromium.org, oshima+watch_chromium.org, piman+watch_chromium.org, wfh+watch_chromium.org, donnd+watch_chromium.org, phoglund+watch_chromium.org, tommycli, cmumford, James Su, kinuko+fileapi, davemoore+watch_chromium.org, skanuj+watch_chromium.org, felt, qsr+mojo_chromium.org, tzik, posciak+watch_chromium.org, markusheintz_, stevenjb+watch_chromium.org, Sam Clegg, darin (slow to review), cbentzel+watch_chromium.org, gavinp+disk_chromium.org, aboxhall+watch_chromium.org, grt+watch_chromium.org, jbauman+watch_chromium.org, chromoting-reviews_chromium.org, dtseng+watch_chromium.org, mlamouri+watch-notifications_chromium.org, yuzo+watch_chromium.org, feature-media-reviews_chromium.org, caitkp+watch_chromium.org, gcasto+watchlist_chromium.org, jsbell+idb_chromium.org, cc-bugs_chromium.org, Ian Vollick, nektar+watch_chromium.org, mcasas+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, danakj+watch_chromium.org, lcwu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup: Pass std::string as const reference if possible Passing std::string by reference can prevent extra copying of object. BUG=367418 TEST= R=limasdf@gmail.com,jam@chromium.org,stevenjb@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Patch Set 1 #

Patch Set 2 : Revert third_party changes #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+608 lines, -497 lines) Patch
M ash/system/bluetooth/tray_bluetooth.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/test/test_session_state_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/test/test_session_state_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/logging.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/output/shader.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/output/shader.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/history_report/delta_file_backend_leveldb.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/display/display_preferences.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/drive/file_system_util.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/drive/file_system_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/input_method_manager_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/input_method_manager_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/kiosk_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/screens/hid_detection_screen.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/chromeos/login/screens/hid_detection_screen.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/preferences_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/devtools/devtools_network_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/activity_log/activity_actions.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/identity/identity_apitest.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/notifications/notifications_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/system_indicator/system_indicator_manager.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/virtual_keyboard_private/chrome_virtual_keyboard_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_browsertest.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_management_test_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_message_bubble_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_message_bubble_controller.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/isolated_app_browsertest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/external_extension_browsertest.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/local_discovery/privet_url_fetcher_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/logging_chrome_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media/webrtc_browsertest_base.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/media/webrtc_browsertest_base.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/media_galleries_scan_result_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/media_galleries_scan_result_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/sdch_browsertest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/pdf/pdf_extension_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_list_desktop_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/client_side_model_loader.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/client_side_model_loader.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/speech/tts_controller_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_service.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_bookmark_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/test/integration/sessions_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/integration/sessions_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/logger_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/tracing/crash_service_uploader.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tracing/crash_service_uploader.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/profiles/user_manager_mac.mm View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_model.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/website_settings/website_settings_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_sync_handler_browsertest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/common/icon_with_badge_image_source.h View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/common/icon_with_badge_image_source.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/renderer/searchbox/searchbox_extension.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/chromedriver/capabilities.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/automation_extension.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/automation_extension.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/utility/importer/firefox_importer_unittest_utils_mac.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome_elf/dll_hash/dll_hash.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome_elf/dll_hash/dll_hash.cc View 1 chunk +1 line, -1 line 0 comments Download
M chromecast/media/cma/backend/audio_video_pipeline_device_unittest.cc View 4 chunks +15 lines, -11 lines 0 comments Download
M chromeos/audio/audio_devices_pref_handler_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/audio/audio_devices_pref_handler_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/dbus/fake_shill_manager_client.h View 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/dbus/fake_shill_manager_client.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chromeos/network/network_connection_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/network_connection_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/onc/onc_certificate_importer_impl_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/network/shill_property_util.h View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/shill_property_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/tools/onc_validator/onc_validator.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/cdm/renderer/widevine_key_systems.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/certificate_transparency/log_proof_fetcher_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/dom_distiller/core/dom_distiller_store_unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M components/dom_distiller/core/url_utils_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/gcm_driver/gcm_account_tracker_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/gcm_driver/gcm_stats_recorder_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M components/gcm_driver/gcm_stats_recorder_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/invalidation/impl/gcm_network_channel_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/metrics/cloned_install_detector.h View 1 chunk +1 line, -1 line 0 comments Download
M components/metrics/cloned_install_detector.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/network_hints/renderer/dns_prefetch_queue.h View 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/login_database_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h View 1 chunk +1 line, -1 line 0 comments Download
M components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/search_engines/default_search_manager_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/search_engines/template_url_parser_unittest.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M components/signin/core/browser/about_signin_internals.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/signin/core/browser/about_signin_internals.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M components/signin/core/browser/account_fetcher_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/signin/core/browser/account_tracker_service_unittest.cc View 1 chunk +7 lines, -7 lines 0 comments Download
M components/signin/core/common/profile_management_switches.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/device_info.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/device_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/tab_node_pool.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/tab_node_pool.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/test_runner/test_runner.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/test_runner/test_runner.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M components/tracing/trace_config_file.h View 1 chunk +1 line, -1 line 0 comments Download
M components/tracing/trace_config_file.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/url_matcher/url_matcher_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/user_manager/user_manager_base.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/user_manager/user_manager_base.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/user_prefs/tracked/tracked_preferences_migration_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/variations/service/variations_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/device_monitor_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/fileapi/file_system_dir_url_request_job_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/p2p/socket_host_test_utils.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/p2p/socket_host_test_utils.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/session_history_browsertest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M content/browser/shared_worker/shared_worker_service_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/speech/speech_recognition_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/speech/speech_recognizer_impl_android.h View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/speech/speech_recognizer_impl_android.cc View 1 chunk +3 lines, -1 line 0 comments Download
M content/child/resource_dispatcher_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/cc_messages_perftest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/common/gpu/gpu_channel_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_channel_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/download_url_parameters.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/content_browser_test_utils.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/content_browser_test_utils.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M content/renderer/history_entry.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/rtc_peer_connection_handler.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/media/webrtc/media_stream_track_metrics_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/shell/browser/shell.h View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/shell_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M courgette/ensemble_unittest.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_profile_chromeos_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/declarative/rules_registry_service.h View 1 chunk +2 lines, -3 lines 0 comments Download
M extensions/browser/api/networking_config/networking_config_service.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/networking_config/networking_config_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/guest_view/web_view/web_view_renderer_state.h View 1 chunk +2 lines, -3 lines 0 comments Download
M extensions/common/manifest_test.h View 1 chunk +9 lines, -6 lines 0 comments Download
M extensions/common/manifest_test.cc View 1 chunk +14 lines, -17 lines 0 comments Download
M google_apis/gaia/account_tracker.h View 1 chunk +4 lines, -4 lines 0 comments Download
M google_apis/gaia/account_tracker.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M google_apis/gaia/account_tracker_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M google_apis/gaia/oauth2_token_service_test_util.h View 1 chunk +1 line, -1 line 0 comments Download
M google_apis/gaia/oauth2_token_service_test_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M google_apis/gcm/monitoring/fake_gcm_stats_recorder.h View 1 chunk +2 lines, -1 line 0 comments Download
M google_apis/gcm/monitoring/fake_gcm_stats_recorder.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M google_apis/gcm/monitoring/gcm_stats_recorder.h View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 2 chunks +8 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/config/gpu_blacklist_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/tools/compositor_model_bench/render_tree.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/tools/compositor_model_bench/render_tree.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/tools/compositor_model_bench/shaders.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/tools/compositor_model_bench/shaders.cc View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/common/string_util.h View 1 chunk +2 lines, -1 line 0 comments Download
M ios/chrome/common/string_util.mm View 1 chunk +2 lines, -1 line 0 comments Download
M ios/crnet/crnet_environment.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/crnet/crnet_environment.mm View 1 chunk +2 lines, -4 lines 0 comments Download
M ios/web/navigation/crw_session_controller_unittest.mm View 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_sync_message_unittest.cc View 3 chunks +18 lines, -5 lines 0 comments Download
M media/capture/video/linux/video_capture_device_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/common/transport_encryption_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/common/transport_encryption_handler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/test/receiver.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/test/sender.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/test/utility/input_builder.h View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/test/utility/input_builder.cc View 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/examples/api/file_io/file_io.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/base/ip_pattern_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/base/prioritized_dispatcher_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/cert/internal/parse_certificate_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/cert/multi_log_ct_verifier_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/cookies/cookie_monster_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/mdns_client_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/mdns_client_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/mdns_client_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/mock_mdns_socket_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/mock_mdns_socket_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/serial_worker_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M net/filter/sdch_filter_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_cache_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/crypto/crypto_server_config_protobuf.h View 1 chunk +1 line, -3 lines 0 comments Download
M net/quic/quic_stream_sequencer.h View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_stream_sequencer.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/tcp_server_socket_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/spdy/spdy_alt_svc_wire_format_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/spdy_pinnable_buffer_piece_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/spdy_prefixed_buffer_reader_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/spdy_protocol.h View 1 chunk +1 line, -1 line 0 comments Download
M net/test/embedded_test_server/tcp_listen_socket_unittest.h View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/flip_server/spdy_util.h View 1 chunk +3 lines, -1 line 0 comments Download
M net/tools/flip_server/spdy_util.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/tools/flip_server/streamer_interface.h View 2 chunks +2 lines, -2 lines 0 comments Download
M net/tools/quic/quic_server_session.h View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/test_tools/quic_test_client.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/tools/quic/test_tools/quic_test_client.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/tools/tld_cleanup/tld_cleanup_util_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/udp/udp_socket_perftest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/udp/udp_socket_unittest.cc View 3 chunks +7 lines, -4 lines 0 comments Download
M pdf/pdfium/pdfium_page.h View 1 chunk +2 lines, -2 lines 0 comments Download
M pdf/pdfium/pdfium_page.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M remoting/host/native_messaging/native_messaging_reader_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M rlz/chromeos/lib/rlz_value_store_chromeos.h View 1 chunk +3 lines, -2 lines 0 comments Download
M rlz/chromeos/lib/rlz_value_store_chromeos.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M sync/internal_api/public/sync_manager_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h View 1 chunk +2 lines, -1 line 0 comments Download
M sync/internal_api/sync_encryption_handler_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/sync_manager_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/test/sync_manager_factory_for_profile_sync_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M sync/test/engine/mock_connection_manager.h View 5 chunks +58 lines, -49 lines 0 comments Download
M sync/test/engine/mock_connection_manager.cc View 12 chunks +47 lines, -38 lines 0 comments Download
M sync/test/engine/test_id_factory.h View 1 chunk +2 lines, -2 lines 0 comments Download
M sync/test/fake_server/bookmark_entity.h View 1 chunk +1 line, -1 line 0 comments Download
M sync/test/fake_server/bookmark_entity.cc View 1 chunk +1 line, -1 line 0 comments Download
M sync/test/fake_server/fake_server_entity.h View 1 chunk +1 line, -1 line 0 comments Download
M sync/test/fake_server/fake_server_entity.cc View 1 chunk +1 line, -1 line 0 comments Download
M sync/util/cryptographer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M sync/util/cryptographer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M testing/multiprocess_func_list.h View 1 chunk +1 line, -1 line 0 comments Download
M testing/multiprocess_func_list.cc View 1 chunk +1 line, -1 line 0 comments Download
M tools/clang/blink_gc_plugin/JsonWriter.h View 2 chunks +4 lines, -4 lines 0 comments Download
M tools/clang/empty_string/tests/test-original.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/gn/value.h View 1 chunk +2 lines, -1 line 0 comments Download
M tools/gn/value.cc View 1 chunk +10 lines, -5 lines 0 comments Download
M ui/accessibility/ax_node_data.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/accessibility/ax_node_data.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/compositor/layer.cc View 1 chunk +1 line, -1 line 0 comments Download
M url/gurl.h View 1 chunk +11 lines, -7 lines 2 comments Download
M url/gurl.cc View 1 chunk +14 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
ki.stfu
5 years, 3 months ago (2015-09-20 17:06:20 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1349783006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1349783006/20001
5 years, 3 months ago (2015-09-20 17:11:51 UTC) #3
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years, 3 months ago (2015-09-20 17:11:55 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1349783006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1349783006/20001
5 years, 3 months ago (2015-09-20 17:28:50 UTC) #7
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 3 months ago (2015-09-20 17:28:53 UTC) #9
tfarina
Usually we do not send like this. We split usually per top-level directory, like one ...
5 years, 3 months ago (2015-09-20 19:09:00 UTC) #11
ki.stfu
On 2015/09/20 19:09:00, tfarina wrote: > Usually we do not send like this. > > ...
5 years, 3 months ago (2015-09-20 20:19:20 UTC) #12
Peter Kasting
https://codereview.chromium.org/1349783006/diff/20001/url/gurl.h File url/gurl.h (right): https://codereview.chromium.org/1349783006/diff/20001/url/gurl.h#newcode51 url/gurl.h:51: // can convert from WebURL without copying the string. ...
5 years, 3 months ago (2015-09-20 21:58:20 UTC) #14
ki.stfu
5 years, 3 months ago (2015-09-21 05:26:06 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/1349783006/diff/20001/url/gurl.h
File url/gurl.h (right):

https://codereview.chromium.org/1349783006/diff/20001/url/gurl.h#newcode51
url/gurl.h:51: // can convert from WebURL without copying the string. When we
call this
On 2015/09/20 21:58:20, Peter Kasting wrote:
> This sort of change is likely wrong.  The old code is very explicit about why
> it's passing by value, and changing that in the new code probably does the
> opposite of what you want, by forcing the compiler to generate an object whose
> address can be taken.
> 
> Unless whoever wrote the old comment was flat-out wrong, which I very much
> doubt, places like this should not be changed.
> 
> This was only the second file in this CL I looked at; it worries me that it
took
> 2 files to find a potential red flag.  Reviewers are likely to rubber-stamp
this
> sort of change, so you need to be very careful it's really right.

I'll copy and answer on it in https://codereview.chromium.org/1360533002.

Powered by Google App Engine
This is Rietveld 408576698