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

Issue 598173003: Run clang-modernize -use-nullptr over src/extensions/. (Closed)

Created:
6 years, 3 months ago by Sam McNally
Modified:
6 years ago
Reviewers:
Nico
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, jshin+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Run clang-modernize -use-nullptr over src/extensions/. This was generated using the following commands: ninja -C out/Debug -t compdb cxx > out/Debug/compile_commands.json cd out/Debug find ../../extensions -name '*.cc' | xargs -n 16 -P 32 \ ~/llvm-build/Release+Asserts/bin/clang-modernize -use-nullptr -p . \ -include extensions -format -style=Chromium The following files were skipped: extensions/browser/api/cast_channel/cast_auth_util_openssl.cc extensions/browser/api/system_cpu/cpu_info_provider_mac.cc extensions/browser/api/system_cpu/cpu_info_provider_win.cc extensions/common/extension_api_stub.cc extensions/common/stack_frame_unittest.cc extensions/shell/browser/shell_audio_controller_chromeos.cc extensions/shell/browser/shell_audio_controller_chromeos_unittest.cc extensions/shell/browser/shell_network_controller_chromeos.cc BUG=

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+1168 lines, -1155 lines) Patch
M extensions/browser/api/api_resource_manager_unittest.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M extensions/browser/api/app_current_window_internal/app_current_window_internal_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/app_window/app_window_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_apitest.cc View 2 chunks +2 lines, -2 lines 3 comments Download
M extensions/browser/api/bluetooth/bluetooth_event_router.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_event_router_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_private_api.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc View 15 chunks +15 lines, -15 lines 0 comments Download
M extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_apitest.cc View 7 chunks +13 lines, -13 lines 0 comments Download
M extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc View 14 chunks +16 lines, -16 lines 0 comments Download
M extensions/browser/api/bluetooth_low_energy/utils.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/bluetooth_socket/bluetooth_socket_api.cc View 6 chunks +7 lines, -6 lines 0 comments Download
M extensions/browser/api/bluetooth_socket/bluetooth_socket_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/capture_web_contents_function.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/cast_channel/cast_auth_util_nss.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_channel_api.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_channel_api_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/cast_channel/cast_framer_unittest.cc View 4 chunks +7 lines, -7 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_socket.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_socket_unittest.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M extensions/browser/api/cast_channel/logger.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/cast_channel/logger_unittest.cc View 6 chunks +7 lines, -7 lines 0 comments Download
M extensions/browser/api/declarative/declarative_api.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M extensions/browser/api/declarative/declarative_rule_unittest.cc View 11 chunks +13 lines, -13 lines 0 comments Download
M extensions/browser/api/declarative/deduping_factory_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/api/declarative/rules_cache_delegate.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/api/declarative/rules_registry.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/api/declarative/test_rules_registry.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M extensions/browser/api/declarative_webrequest/webrequest_action.cc View 23 chunks +33 lines, -33 lines 0 comments Download
M extensions/browser/api/declarative_webrequest/webrequest_condition.cc View 3 chunks +4 lines, -5 lines 0 comments Download
M extensions/browser/api/declarative_webrequest/webrequest_condition_attribute.cc View 17 chunks +22 lines, -22 lines 0 comments Download
M extensions/browser/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc View 10 chunks +15 lines, -15 lines 0 comments Download
M extensions/browser/api/declarative_webrequest/webrequest_condition_unittest.cc View 20 chunks +70 lines, -67 lines 0 comments Download
M extensions/browser/api/dns/dns_api.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M extensions/browser/api/dns/dns_apitest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/api/dns/host_resolver_wrapper.cc View 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/api/dns/mock_host_resolver_creator.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/api/extensions_api_client.cc View 3 chunks +7 lines, -5 lines 0 comments Download
M extensions/browser/api/hid/hid_api.cc View 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/api/runtime/runtime_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/runtime/runtime_apitest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/api/serial/serial_api.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/api/serial/serial_connection.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/socket/socket.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/api/socket/socket_api.cc View 11 chunks +19 lines, -15 lines 0 comments Download
M extensions/browser/api/socket/socket_apitest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/api/socket/tcp_socket.cc View 9 chunks +15 lines, -14 lines 0 comments Download
M extensions/browser/api/socket/tls_socket.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M extensions/browser/api/socket/udp_socket.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M extensions/browser/api/sockets_tcp/sockets_tcp_api.cc View 7 chunks +9 lines, -7 lines 0 comments Download
M extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc View 5 chunks +7 lines, -5 lines 0 comments Download
M extensions/browser/api/sockets_udp/sockets_udp_api.cc View 5 chunks +7 lines, -5 lines 0 comments Download
M extensions/browser/api/sockets_udp/sockets_udp_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/storage/settings_quota_unittest.cc View 5 chunks +8 lines, -10 lines 0 comments Download
M extensions/browser/api/storage/settings_storage_quota_enforcer.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/storage/settings_test_util.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/api/storage/storage_api.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M extensions/browser/api/storage/storage_api_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/storage/storage_frontend.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/system_cpu/cpu_info_provider.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/api/system_display/display_info_provider.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/api/system_memory/memory_info_provider.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/api/system_storage/storage_info_provider.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/api/test/test_api.cc View 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/api/usb/usb_api.cc View 7 chunks +10 lines, -10 lines 0 comments Download
M extensions/browser/api/usb/usb_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/web_request/web_request_api_helpers.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M extensions/browser/api/web_view/web_view_internal_api.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/api_test_utils.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M extensions/browser/api_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/app_window/app_web_contents_helper.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/app_window/app_window.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/app_window/app_window_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/app_window/app_window_contents.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/app_window/app_window_geometry_cache_unittest.cc View 4 chunks +10 lines, -5 lines 0 comments Download
M extensions/browser/app_window/app_window_registry.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M extensions/browser/computed_hashes.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M extensions/browser/content_hash_fetcher.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/content_verifier.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/content_verifier_io_data.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/content_verify_job.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/event_listener_map.cc View 3 chunks +10 lines, -7 lines 0 comments Download
M extensions/browser/event_listener_map_unittest.cc View 13 chunks +25 lines, -22 lines 0 comments Download
M extensions/browser/event_router.cc View 8 chunks +10 lines, -10 lines 0 comments Download
M extensions/browser/event_router_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/extension_function.cc View 5 chunks +12 lines, -12 lines 0 comments Download
M extensions/browser/extension_function_dispatcher.cc View 4 chunks +7 lines, -5 lines 0 comments Download
M extensions/browser/extension_function_registry.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M extensions/browser/extension_host.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/extension_icon_image.cc View 3 chunks +9 lines, -10 lines 0 comments Download
M extensions/browser/extension_icon_image_unittest.cc View 11 chunks +12 lines, -12 lines 0 comments Download
M extensions/browser/extension_pref_store.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M extensions/browser/extension_pref_value_map.cc View 7 chunks +8 lines, -8 lines 0 comments Download
M extensions/browser/extension_pref_value_map_unittest.cc View 2 chunks +8 lines, -8 lines 0 comments Download
M extensions/browser/extension_prefs.cc View 41 chunks +63 lines, -62 lines 0 comments Download
M extensions/browser/extension_protocols.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M extensions/browser/extension_registry.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/extension_registry_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M extensions/browser/extension_web_contents_observer.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/extensions_browser_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/extensions_test.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M extensions/browser/guest_view/app_view/app_view_guest.cc View 6 chunks +8 lines, -8 lines 0 comments Download
M extensions/browser/guest_view/extension_options/extension_options_guest.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M extensions/browser/guest_view/guest_view_base.cc View 7 chunks +8 lines, -8 lines 0 comments Download
M extensions/browser/guest_view/guest_view_manager.cc View 7 chunks +7 lines, -7 lines 0 comments Download
M extensions/browser/guest_view/guest_view_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_permission_helper.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/image_loader_unittest.cc View 7 chunks +8 lines, -8 lines 0 comments Download
M extensions/browser/info_map_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/lazy_background_task_queue.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M extensions/browser/lazy_background_task_queue_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/management_policy_unittest.cc View 2 chunks +32 lines, -32 lines 0 comments Download
M extensions/browser/mock_extension_system.cc View 2 chunks +17 lines, -17 lines 0 comments Download
M extensions/browser/process_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/quota_service.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/runtime_data_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/test_extension_registry_observer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/test_extensions_browser_client.cc View 7 chunks +10 lines, -10 lines 0 comments Download
M extensions/browser/value_store/leveldb_value_store.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/value_store/testing_value_store.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/value_store/value_store_change_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M extensions/browser/value_store/value_store_frontend.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/value_store/value_store_unittest.cc View 14 chunks +28 lines, -35 lines 0 comments Download
M extensions/browser/verified_contents.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M extensions/browser/verified_contents_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/api/bluetooth/bluetooth_manifest_handler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/common/api/sockets/sockets_manifest_handler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/common/api/sockets/sockets_manifest_permission.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M extensions/common/event_matcher.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/common/extension.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M extensions/common/extension_api.cc View 13 chunks +21 lines, -22 lines 0 comments Download
M extensions/common/extension_l10n_util.cc View 7 chunks +9 lines, -9 lines 0 comments Download
M extensions/common/extension_l10n_util_unittest.cc View 5 chunks +7 lines, -7 lines 0 comments Download
M extensions/common/extension_set.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M extensions/common/extensions_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/feature_switch.cc View 1 chunk +14 lines, -24 lines 0 comments Download
M extensions/common/features/base_feature_provider.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M extensions/common/features/json_feature_provider_source.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/features/simple_feature.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/common/file_util.cc View 4 chunks +11 lines, -11 lines 0 comments Download
M extensions/common/file_util_unittest.cc View 7 chunks +21 lines, -29 lines 0 comments Download
M extensions/common/manifest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M extensions/common/manifest_handler.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M extensions/common/manifest_handlers/background_info.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M extensions/common/manifest_handlers/externally_connectable.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/manifest_handlers/file_handler_info.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M extensions/common/manifest_handlers/file_handler_manifest_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/common/manifest_handlers/icons_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/manifest_handlers/launcher_page_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/manifest_handlers/nacl_modules_handler.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M extensions/common/manifest_handlers/options_page_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/manifest_handlers/permissions_parser.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/manifest_handlers/requirements_info.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M extensions/common/manifest_handlers/sandboxed_page_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/manifest_handlers/shared_module_info.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M extensions/common/manifest_handlers/web_accessible_resources_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/manifest_handlers/webview_info.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M extensions/common/manifest_test.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M extensions/common/message_bundle.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/common/message_bundle_unittest.cc View 12 chunks +22 lines, -22 lines 0 comments Download
M extensions/common/permissions/api_permission.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/common/permissions/api_permission_set.cc View 2 chunks +10 lines, -7 lines 0 comments Download
M extensions/common/permissions/api_permission_set_unittest.cc View 14 chunks +14 lines, -14 lines 0 comments Download
M extensions/common/permissions/manifest_permission.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/permissions/manifest_permission_set.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/common/permissions/manifest_permission_set_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/permissions/media_galleries_permission.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/permissions/permission_message_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/permissions/permission_set.cc View 4 chunks +7 lines, -7 lines 0 comments Download
M extensions/common/permissions/permissions_data.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/common/permissions/permissions_info.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/common/permissions/settings_override_permission.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M extensions/common/permissions/socket_permission_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/common/permissions/usb_device_permission_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/update_manifest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M extensions/common/url_pattern.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/renderer/api/serial/data_receiver_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/renderer/api/serial/data_sender_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/api_test_base.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/renderer/binding_generating_native_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/console.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/dispatcher.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M extensions/renderer/event_bindings.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/extension_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/extensions_renderer_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/guest_view/guest_view_container.cc View 3 chunks +4 lines, -5 lines 0 comments Download
M extensions/renderer/i18n_custom_bindings.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/messaging_bindings.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/module_system.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/module_system_test.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M extensions/renderer/object_backed_native_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/programmatic_script_injector.cc View 1 chunk +7 lines, -6 lines 0 comments Download
M extensions/renderer/script_context.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M extensions/renderer/script_context_set.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/renderer/script_context_set_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/user_script_injector.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/renderer/user_script_set.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/renderer/user_script_set_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/renderer/v8_schema_registry.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M extensions/shell/browser/desktop_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/shell/browser/media_capture_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_app_delegate.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/shell/browser/shell_browser_context.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_browser_main_parts.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/shell/browser/shell_content_browser_client.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M extensions/shell/browser/shell_desktop_controller.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M extensions/shell/browser/shell_display_info_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_extension_host_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_extension_system.cc View 6 chunks +11 lines, -11 lines 0 comments Download
M extensions/shell/browser/shell_extensions_browser_client.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M extensions/shell/browser/shell_nacl_browser_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_native_app_window.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/shell/browser/shell_web_contents_modal_dialog_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/renderer/shell_content_renderer_client.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/shell/test/shell_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M extensions/test/extension_test_message_listener.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/test/extensions_unittests_main.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/test/result_catcher.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (1 generated)
Nico
https://codereview.chromium.org/598173003/diff/1/extensions/browser/api/bluetooth/bluetooth_apitest.cc File extensions/browser/api/bluetooth/bluetooth_apitest.cc (right): https://codereview.chromium.org/598173003/diff/1/extensions/browser/api/bluetooth/bluetooth_apitest.cc#newcode392 extensions/browser/api/bluetooth/bluetooth_apitest.cc:392: .WillRepeatedly(testing::Return(static_cast<BluetoothDevice*>(nullptr))); Hmm, is this static_cast still needed with nullptr?
6 years, 3 months ago (2014-09-25 05:57:20 UTC) #2
Sam McNally
https://codereview.chromium.org/598173003/diff/1/extensions/browser/api/bluetooth/bluetooth_apitest.cc File extensions/browser/api/bluetooth/bluetooth_apitest.cc (right): https://codereview.chromium.org/598173003/diff/1/extensions/browser/api/bluetooth/bluetooth_apitest.cc#newcode392 extensions/browser/api/bluetooth/bluetooth_apitest.cc:392: .WillRepeatedly(testing::Return(static_cast<BluetoothDevice*>(nullptr))); On 2014/09/25 05:57:19, Nico (hiding) wrote: > Hmm, ...
6 years, 3 months ago (2014-09-25 07:42:38 UTC) #3
Nico
6 years, 2 months ago (2014-09-25 19:33:41 UTC) #4
https://codereview.chromium.org/598173003/diff/1/extensions/browser/api/bluet...
File extensions/browser/api/bluetooth/bluetooth_apitest.cc (right):

https://codereview.chromium.org/598173003/diff/1/extensions/browser/api/bluet...
extensions/browser/api/bluetooth/bluetooth_apitest.cc:392:
.WillRepeatedly(testing::Return(static_cast<BluetoothDevice*>(nullptr)));
On 2014/09/25 07:42:38, Sam McNally wrote:
> On 2014/09/25 05:57:19, Nico (hiding) wrote:
> > Hmm, is this static_cast still needed with nullptr?
> 
> Clang on Linux and MSVC are both happy without the static_cast.

Hm, maybe we can contribute a patch to clang-modernize to strip out unnecessary
casts of NULL when converting to nullptr?

Powered by Google App Engine
This is Rietveld 408576698