diff options
author | sdefresne <sdefresne@chromium.org> | 2015-09-17 07:26:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-17 14:28:49 +0000 |
commit | d7978868d7ebb7e8f671442f9515d947fab3e9ed (patch) | |
tree | a6d74a47c6afb8175b068550a85812b161bad084 | |
parent | b4be7a222b0f097d60a3139874426e35edbd4b07 (diff) | |
download | chromium_src-d7978868d7ebb7e8f671442f9515d947fab3e9ed.zip chromium_src-d7978868d7ebb7e8f671442f9515d947fab3e9ed.tar.gz chromium_src-d7978868d7ebb7e8f671442f9515d947fab3e9ed.tar.bz2 |
Revert of Turn components/crash into a layered component. (patchset #6 id:100001 of https://codereview.chromium.org/1315303004/ )
Reason for revert:
This breaks Webkit layout tests.
Original issue's description:
> Turn components/crash into a layered component.
>
> The crash component cannot be used on iOS (as it depends on //content).
> Turn it into a layered component so that it is possible to put shared
> code related to crash there (components/crash_keys and objc_zombie.{h,mm}).
>
> BUG=522955
> TBR=sky@chromium.org
> TBR=jschuh@chromium.org
> NOPRESUBMIT=true
>
> Committed: https://crrev.com/4e483c64be5136b785e92c5baa971baca7eea2bc
> Cr-Commit-Position: refs/heads/master@{#349384}
TBR=blundell@chromium.org,jam@chromium.org,jschuh@chromium.org,mark@chromium.org,rsesek@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=522955
Review URL: https://codereview.chromium.org/1351923002
Cr-Commit-Position: refs/heads/master@{#349417}
76 files changed, 411 insertions, 422 deletions
@@ -571,7 +571,7 @@ group("both_gn_and_gyp") { "//chrome/installer/setup:setup_unittests", "//chrome_elf:chrome_elf_unittests", "//chrome_elf:dll_hash_main", - "//components/crash/content/tools:crash_service", + "//components/crash/tools:crash_service", "//components/wifi:wifi_test", "//net:quic_client", "//net:quic_server", diff --git a/PRESUBMIT_test.py b/PRESUBMIT_test.py index a864f1f..f57159f 100755 --- a/PRESUBMIT_test.py +++ b/PRESUBMIT_test.py @@ -482,7 +482,7 @@ class CheckAddedDepsHaveTetsApprovalsTest(unittest.TestCase): 'chrome/plugin/chrome_content_plugin_client.h', 'chrome/utility/chrome_content_utility_client.h', 'chromeos/chromeos_paths.h', - 'components/crash/content/DEPS', + 'components/crash/DEPS', 'components/nacl/common/DEPS', 'content/public/browser/render_process_host.h', 'policy/DEPS', @@ -142,7 +142,7 @@ '|components/bookmarks' }, 'breakpad_app': { - 'filepath': 'components/crash/content/app/', + 'filepath': 'components/crash/app/', }, 'browser': { 'filepath': 'chrome/browser/', diff --git a/android_webview/crash_reporter/aw_microdump_crash_reporter.cc b/android_webview/crash_reporter/aw_microdump_crash_reporter.cc index a95aaf9..f59c2f3 100644 --- a/android_webview/crash_reporter/aw_microdump_crash_reporter.cc +++ b/android_webview/crash_reporter/aw_microdump_crash_reporter.cc @@ -9,8 +9,8 @@ #include "base/lazy_instance.h" #include "base/scoped_native_library.h" #include "build/build_config.h" -#include "components/crash/content/app/breakpad_linux.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/breakpad_linux.h" +#include "components/crash/app/crash_reporter_client.h" namespace android_webview { namespace crash_reporter { diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn index 9c7e07c..edff1e0 100644 --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn @@ -106,7 +106,7 @@ if (!is_android) { "//chrome/installer/util", "//chrome_elf", "//components/browser_watcher:browser_watcher_client", - "//components/crash/content/app", + "//components/crash/app", "//components/crash_keys", "//content:startup_helper_win", "//crypto", diff --git a/chrome/app/chrome_crash_reporter_client.h b/chrome/app/chrome_crash_reporter_client.h index 26a6d2b..217f154 100644 --- a/chrome/app/chrome_crash_reporter_client.h +++ b/chrome/app/chrome_crash_reporter_client.h @@ -8,7 +8,7 @@ #include "base/basictypes.h" #include "base/compiler_specific.h" #include "base/memory/scoped_ptr.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/crash_reporter_client.h" namespace browser_watcher { class CrashReportingMetrics; diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc index 16443cb..5ba9993 100644 --- a/chrome/app/chrome_main_delegate.cc +++ b/chrome/app/chrome_main_delegate.cc @@ -64,7 +64,7 @@ #include "chrome/browser/mac/relauncher.h" #include "chrome/common/mac/cfbundle_blocker.h" #include "chrome/common/mac/objc_zombie.h" -#include "components/crash/content/app/crashpad_mac.h" +#include "components/crash/app/crashpad_mac.h" #include "ui/base/l10n/l10n_util_mac.h" #endif @@ -72,7 +72,7 @@ #include <locale.h> #include <signal.h> #include "chrome/app/chrome_crash_reporter_client.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/crash_reporter_client.h" #endif #if !defined(DISABLE_NACL) && defined(OS_LINUX) @@ -103,7 +103,7 @@ #endif #if defined(OS_POSIX) && !defined(OS_MACOSX) -#include "components/crash/content/app/breakpad_linux.h" +#include "components/crash/app/breakpad_linux.h" #endif #if defined(OS_LINUX) diff --git a/chrome/app/client_util.cc b/chrome/app/client_util.cc index 4a156a7..963b9db 100644 --- a/chrome/app/client_util.cc +++ b/chrome/app/client_util.cc @@ -38,8 +38,8 @@ #include "chrome/installer/util/google_update_settings.h" #include "chrome/installer/util/install_util.h" #include "chrome/installer/util/util_constants.h" -#include "components/crash/content/app/breakpad_win.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/breakpad_win.h" +#include "components/crash/app/crash_reporter_client.h" #include "components/metrics/client_info.h" #include "content/public/app/startup_helper_win.h" #include "sandbox/win/src/sandbox.h" diff --git a/chrome/app/kasko_client.cc b/chrome/app/kasko_client.cc index f9699e9..bbc6cbb 100644 --- a/chrome/app/kasko_client.cc +++ b/chrome/app/kasko_client.cc @@ -17,7 +17,7 @@ #include "chrome/app/chrome_watcher_client_win.h" #include "chrome/chrome_watcher/chrome_watcher_main_api.h" #include "chrome/common/chrome_constants.h" -#include "components/crash/content/app/crash_keys_win.h" +#include "components/crash/app/crash_keys_win.h" #include "syzygy/kasko/api/client.h" namespace { diff --git a/chrome/breakpad.isolate b/chrome/breakpad.isolate index 4aa76be..f15377d 100644 --- a/chrome/breakpad.isolate +++ b/chrome/breakpad.isolate @@ -4,7 +4,7 @@ { 'variables': { 'files': [ - '../components/crash/content/tools/generate_breakpad_symbols.py', + '../components/crash/tools/generate_breakpad_symbols.py', ], }, 'conditions': [ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn index 2706f2e..a8234be 100644 --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn @@ -585,8 +585,8 @@ source_set("browser") { "//chrome/app/chrome_crash_reporter_client.h", ] deps += [ - "//components/crash/content/app", - "//components/crash/content/browser", + "//components/crash/app", + "//components/crash/browser", ] } if (use_nss_certs) { diff --git a/chrome/browser/chrome_browser_main_android.cc b/chrome/browser/chrome_browser_main_android.cc index c8dcda4..659ea40 100644 --- a/chrome/browser/chrome_browser_main_android.cc +++ b/chrome/browser/chrome_browser_main_android.cc @@ -15,8 +15,8 @@ #include "chrome/browser/signin/signin_manager_factory.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/chrome_switches.h" -#include "components/crash/content/app/breakpad_linux.h" -#include "components/crash/content/browser/crash_dump_manager_android.h" +#include "components/crash/app/breakpad_linux.h" +#include "components/crash/browser/crash_dump_manager_android.h" #include "components/enhanced_bookmarks/persistent_image_store.h" #include "components/signin/core/browser/signin_manager.h" #include "content/public/browser/android/compositor.h" diff --git a/chrome/browser/chrome_browser_main_linux.cc b/chrome/browser/chrome_browser_main_linux.cc index 24b37c7..4f4e4ab 100644 --- a/chrome/browser/chrome_browser_main_linux.cc +++ b/chrome/browser/chrome_browser_main_linux.cc @@ -8,7 +8,7 @@ #include "chrome/browser/browser_process.h" #include "chrome/grit/chromium_strings.h" -#include "components/crash/content/app/breakpad_linux.h" +#include "components/crash/app/breakpad_linux.h" #include "components/metrics/metrics_service.h" #include "media/audio/audio_manager.h" #include "ui/base/l10n/l10n_util.h" diff --git a/chrome/browser/chrome_browser_main_mac.mm b/chrome/browser/chrome_browser_main_mac.mm index 5423f6d..edffdad 100644 --- a/chrome/browser/chrome_browser_main_mac.mm +++ b/chrome/browser/chrome_browser_main_mac.mm @@ -24,7 +24,7 @@ #include "chrome/browser/ui/app_list/app_list_service.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/chrome_switches.h" -#include "components/crash/content/app/crashpad_mac.h" +#include "components/crash/app/crashpad_mac.h" #include "components/metrics/metrics_service.h" #include "content/public/common/main_function_params.h" #include "content/public/common/result_codes.h" diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc index b71448f..3aa5fc7 100644 --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc @@ -172,7 +172,7 @@ #include "chrome/browser/android/webapps/single_tab_mode_tab_helper.h" #include "chrome/browser/chrome_browser_main_android.h" #include "chrome/common/descriptors_android.h" -#include "components/crash/content/browser/crash_dump_manager_android.h" +#include "components/crash/browser/crash_dump_manager_android.h" #include "components/service_tab_launcher/browser/android/service_tab_launcher.h" #include "ui/base/resource/resource_bundle_android.h" #elif defined(OS_POSIX) @@ -181,8 +181,8 @@ #if defined(OS_POSIX) && !defined(OS_MACOSX) #include "base/debug/leak_annotations.h" -#include "components/crash/content/app/breakpad_linux.h" -#include "components/crash/content/browser/crash_handler_host_linux.h" +#include "components/crash/app/breakpad_linux.h" +#include "components/crash/browser/crash_handler_host_linux.h" #endif #if defined(OS_ANDROID) diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc index c39b345..2677dc9 100644 --- a/chrome/browser/chromeos/login/wizard_controller.cc +++ b/chrome/browser/chromeos/login/wizard_controller.cc @@ -75,7 +75,7 @@ #include "chromeos/settings/cros_settings_provider.h" #include "chromeos/settings/timezone_settings.h" #include "chromeos/timezone/timezone_provider.h" -#include "components/crash/content/app/breakpad_linux.h" +#include "components/crash/app/breakpad_linux.h" #include "components/pairing/bluetooth_controller_pairing_controller.h" #include "components/pairing/bluetooth_host_pairing_controller.h" #include "components/pairing/shark_connection_listener.h" diff --git a/chrome/browser/crash_upload_list_mac.cc b/chrome/browser/crash_upload_list_mac.cc index 55cc043..541faac 100644 --- a/chrome/browser/crash_upload_list_mac.cc +++ b/chrome/browser/crash_upload_list_mac.cc @@ -6,7 +6,7 @@ #include "base/threading/sequenced_worker_pool.h" #include "base/time/time.h" -#include "components/crash/content/app/crashpad_mac.h" +#include "components/crash/app/crashpad_mac.h" CrashUploadListMac::CrashUploadListMac( Delegate* delegate, diff --git a/chrome/browser/google/google_update_settings_posix.cc b/chrome/browser/google/google_update_settings_posix.cc index 8cfadc8..31e7301 100644 --- a/chrome/browser/google/google_update_settings_posix.cc +++ b/chrome/browser/google/google_update_settings_posix.cc @@ -13,7 +13,7 @@ #include "chrome/common/chrome_paths.h" #if defined(OS_MACOSX) -#include "components/crash/content/app/crashpad_mac.h" +#include "components/crash/app/crashpad_mac.h" #endif namespace { diff --git a/chrome/browser/ui/views/first_run_dialog.cc b/chrome/browser/ui/views/first_run_dialog.cc index 2dc7e25..0dbc4e9 100644 --- a/chrome/browser/ui/views/first_run_dialog.cc +++ b/chrome/browser/ui/views/first_run_dialog.cc @@ -15,7 +15,7 @@ #include "chrome/grit/generated_resources.h" #include "chrome/grit/locale_settings.h" #include "chrome/installer/util/google_update_settings.h" -#include "components/crash/content/app/breakpad_linux.h" +#include "components/crash/app/breakpad_linux.h" #include "grit/components_strings.h" #include "ui/aura/env.h" #include "ui/aura/window.h" diff --git a/chrome/nacl/nacl_exe_win_64.cc b/chrome/nacl/nacl_exe_win_64.cc index 5727ebb..d8fd8ad 100644 --- a/chrome/nacl/nacl_exe_win_64.cc +++ b/chrome/nacl/nacl_exe_win_64.cc @@ -6,7 +6,7 @@ #include "base/command_line.h" #include "base/lazy_instance.h" #include "chrome/app/chrome_crash_reporter_client.h" -#include "components/crash/content/app/breakpad_win.h" +#include "components/crash/app/breakpad_win.h" #include "components/nacl/loader/nacl_helper_win_64.h" #include "content/public/common/content_switches.h" diff --git a/chrome/tools/crash_service/main.cc b/chrome/tools/crash_service/main.cc index 4b175dd..94844ab 100644 --- a/chrome/tools/crash_service/main.cc +++ b/chrome/tools/crash_service/main.cc @@ -13,7 +13,7 @@ #include "base/path_service.h" #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_paths.h" -#include "components/crash/content/tools/crash_service.h" +#include "components/crash/tools/crash_service.h" namespace { diff --git a/chromecast/app/BUILD.gn b/chromecast/app/BUILD.gn index 3f27c1d..7b0732d 100644 --- a/chromecast/app/BUILD.gn +++ b/chromecast/app/BUILD.gn @@ -18,7 +18,7 @@ source_set("app") { "//chromecast/browser", "//chromecast/common", "//chromecast/renderer", - "//components/crash/content/app:lib", + "//components/crash/app:lib", "//content/public/app:both", "//content/public/browser", "//content/public/common", @@ -40,8 +40,8 @@ source_set("cast_crash_client") { "//base", "//chromecast/base", "//chromecast/crash", - "//components/crash/content/app", - "//components/crash/content/app:lib", + "//components/crash/app", + "//components/crash/app:lib", "//content/public/common", ] } diff --git a/chromecast/app/android/cast_crash_reporter_client_android.h b/chromecast/app/android/cast_crash_reporter_client_android.h index 9761683..a87d167 100644 --- a/chromecast/app/android/cast_crash_reporter_client_android.h +++ b/chromecast/app/android/cast_crash_reporter_client_android.h @@ -6,7 +6,7 @@ #define CHROMECAST_APP_ANDROID_CAST_CRASH_REPORTER_CLIENT_ANDROID_H_ #include "base/compiler_specific.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/crash_reporter_client.h" namespace chromecast { diff --git a/chromecast/app/android/crash_handler.cc b/chromecast/app/android/crash_handler.cc index b4223f8..8a2dc7a 100644 --- a/chromecast/app/android/crash_handler.cc +++ b/chromecast/app/android/crash_handler.cc @@ -17,8 +17,8 @@ #include "breakpad/src/client/linux/handler/minidump_descriptor.h" #include "chromecast/app/android/cast_crash_reporter_client_android.h" #include "chromecast/base/version.h" -#include "components/crash/content/app/breakpad_linux.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/breakpad_linux.h" +#include "components/crash/app/crash_reporter_client.h" #include "content/public/common/content_switches.h" #include "jni/CastCrashHandler_jni.h" diff --git a/chromecast/app/cast_main_delegate.cc b/chromecast/app/cast_main_delegate.cc index 698d14c..768a0bc 100644 --- a/chromecast/app/cast_main_delegate.cc +++ b/chromecast/app/cast_main_delegate.cc @@ -22,7 +22,7 @@ #include "chromecast/common/cast_resource_delegate.h" #include "chromecast/common/global_descriptors.h" #include "chromecast/renderer/cast_content_renderer_client.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/crash_reporter_client.h" #include "content/public/browser/browser_main_runner.h" #include "content/public/common/content_switches.h" #include "ui/base/resource/resource_bundle.h" diff --git a/chromecast/app/linux/cast_crash_reporter_client.cc b/chromecast/app/linux/cast_crash_reporter_client.cc index e90d4f1..0bf2877 100644 --- a/chromecast/app/linux/cast_crash_reporter_client.cc +++ b/chromecast/app/linux/cast_crash_reporter_client.cc @@ -7,7 +7,7 @@ #include "base/time/time.h" #include "chromecast/base/error_codes.h" #include "chromecast/crash/linux/crash_util.h" -#include "components/crash/content/app/breakpad_linux.h" +#include "components/crash/app/breakpad_linux.h" #include "content/public/common/content_switches.h" namespace chromecast { diff --git a/chromecast/app/linux/cast_crash_reporter_client.h b/chromecast/app/linux/cast_crash_reporter_client.h index ef9f900..07712af 100644 --- a/chromecast/app/linux/cast_crash_reporter_client.h +++ b/chromecast/app/linux/cast_crash_reporter_client.h @@ -8,7 +8,7 @@ #include <string> #include "base/macros.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/crash_reporter_client.h" namespace chromecast { diff --git a/chromecast/browser/BUILD.gn b/chromecast/browser/BUILD.gn index 4f6cc5a..f787f03 100644 --- a/chromecast/browser/BUILD.gn +++ b/chromecast/browser/BUILD.gn @@ -74,8 +74,8 @@ source_set("browser") { "//chromecast/media", "//chromecast/net", "//chromecast/service", - "//components/crash/content/app", - "//components/crash/content/browser", + "//components/crash/app", + "//components/crash/browser", "//components/devtools_http_handler:devtools_http_handler", "//components/metrics", "//components/metrics:gpu", diff --git a/chromecast/browser/cast_browser_main_parts.cc b/chromecast/browser/cast_browser_main_parts.cc index d15952f..f363ed7 100644 --- a/chromecast/browser/cast_browser_main_parts.cc +++ b/chromecast/browser/cast_browser_main_parts.cc @@ -51,7 +51,7 @@ #if defined(OS_ANDROID) #include "chromecast/app/android/crash_handler.h" #include "chromecast/browser/media/cast_media_client_android.h" -#include "components/crash/content/browser/crash_dump_manager_android.h" +#include "components/crash/browser/crash_dump_manager_android.h" #include "media/base/android/media_client_android.h" #include "net/android/network_change_notifier_factory_android.h" #else diff --git a/chromecast/browser/cast_browser_process.cc b/chromecast/browser/cast_browser_process.cc index 077ee1d..713fa74 100644 --- a/chromecast/browser/cast_browser_process.cc +++ b/chromecast/browser/cast_browser_process.cc @@ -15,7 +15,7 @@ #include "chromecast/service/cast_service.h" #if defined(OS_ANDROID) -#include "components/crash/content/browser/crash_dump_manager_android.h" +#include "components/crash/browser/crash_dump_manager_android.h" #endif // defined(OS_ANDROID) #if defined(USE_AURA) diff --git a/chromecast/browser/cast_content_browser_client.cc b/chromecast/browser/cast_content_browser_client.cc index c73fa19..e693075 100644 --- a/chromecast/browser/cast_content_browser_client.cc +++ b/chromecast/browser/cast_content_browser_client.cc @@ -29,8 +29,8 @@ #include "chromecast/media/base/media_message_loop.h" #include "chromecast/public/cast_media_shlib.h" #include "chromecast/public/media/media_pipeline_backend.h" -#include "components/crash/content/app/breakpad_linux.h" -#include "components/crash/content/browser/crash_handler_host_linux.h" +#include "components/crash/app/breakpad_linux.h" +#include "components/crash/browser/crash_handler_host_linux.h" #include "components/network_hints/browser/network_hints_message_filter.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/certificate_request_result_type.h" @@ -48,7 +48,7 @@ #include "ui/gl/gl_switches.h" #if defined(OS_ANDROID) -#include "components/crash/content/browser/crash_dump_manager_android.h" +#include "components/crash/browser/crash_dump_manager_android.h" #include "components/external_video_surface/browser/android/external_video_surface_container_impl.h" #else #include "chromecast/browser/media/cast_browser_cdm_factory.h" diff --git a/components/BUILD.gn b/components/BUILD.gn index 3dfa2f6..61b2d16 100644 --- a/components/BUILD.gn +++ b/components/BUILD.gn @@ -35,8 +35,8 @@ group("all_components") { "//components/compression", "//components/content_settings/core/browser", "//components/content_settings/core/common", - "//components/crash/content/app", - "//components/crash/content/browser", + "//components/crash/app", + "//components/crash/browser", "//components/crx_file", "//components/data_reduction_proxy/core/browser", "//components/data_reduction_proxy/core/common", @@ -189,8 +189,8 @@ group("all_components") { "//components/autofill/content/browser", # Blocked on content/blink. "//components/autofill/content/common", # Blocked on content. "//components/autofill/content/renderer", # Blocked on content/blink. - "//components/crash/content/app", # Should work, needs checking. - "//components/crash/content/browser", # Should work, needs checking. + "//components/crash/app", # Should work, needs checking. + "//components/crash/browser", # Should work, needs checking. "//components/captive_portal", # Should work, needs checking. "//components/cloud_devices/common", # Should work, needs checking. "//components/cdm/browser", # Blocked on content. diff --git a/components/components.gyp b/components/components.gyp index 323ea9d..91815d7 100644 --- a/components/components.gyp +++ b/components/components.gyp @@ -21,7 +21,6 @@ 'component_updater.gypi', 'compression.gypi', 'content_settings.gypi', - 'crash.gypi', 'crash_keys.gypi', 'cronet.gypi', 'crx_file.gypi', @@ -105,6 +104,7 @@ 'browsing_data.gypi', 'cdm.gypi', 'certificate_transparency.gypi', + 'crash.gypi', 'devtools_discovery.gypi', 'devtools_http_handler.gypi', 'drive.gypi', diff --git a/components/components_tests.gyp b/components/components_tests.gyp index fc5ae36..eb592eb 100644 --- a/components/components_tests.gyp +++ b/components/components_tests.gyp @@ -119,7 +119,7 @@ 'content_settings/core/common/content_settings_pattern_unittest.cc', ], 'crash_unittest_sources': [ - 'crash/content/app/crash_keys_win_unittest.cc', + 'crash/app/crash_keys_win_unittest.cc', ], 'crx_file_unittest_sources': [ 'crx_file/id_util_unittest.cc', @@ -236,8 +236,8 @@ 'feedback/feedback_uploader_unittest.cc', ], 'gcm_driver_unittest_sources': [ - 'gcm_driver/gcm_account_mapper_unittest.cc', 'gcm_driver/gcm_account_tracker_unittest.cc', + 'gcm_driver/gcm_account_mapper_unittest.cc', 'gcm_driver/gcm_channel_status_request_unittest.cc', 'gcm_driver/gcm_client_impl_unittest.cc', 'gcm_driver/gcm_delayed_task_controller_unittest.cc', diff --git a/components/crash.gypi b/components/crash.gypi index 05b3bea..6ba2402 100644 --- a/components/crash.gypi +++ b/components/crash.gypi @@ -3,330 +3,326 @@ # found in the LICENSE file. { - 'conditions': [ - ['OS!="ios"', { - 'targets': [ - { - 'target_name': 'crash_component_lib', - 'type': 'static_library', - 'sources': [ - 'crash/content/app/crash_keys_win.cc', - 'crash/content/app/crash_keys_win.h', - 'crash/content/app/crash_reporter_client.cc', - 'crash/content/app/crash_reporter_client.h', + 'targets': [ + { + 'target_name': 'crash_component_lib', + 'type': 'static_library', + 'sources': [ + 'crash/app/crash_keys_win.cc', + 'crash/app/crash_keys_win.h', + 'crash/app/crash_reporter_client.cc', + 'crash/app/crash_reporter_client.h', + ], + 'include_dirs': [ + '..', + '../breakpad/src', + ], + }, + { + # TODO(mark): https://crbug.com/466890: merge this target with + # crash_component. + # + # This is a temporary base target that is depended on by both + # crash_component and crash_component_breakpad_mac_to_be_deleted. It + # provides everything common to both of those targets. For a short period, + # there are two Mac crash component implementations. The new one uses a + # Crashpad implementation and is used by Chrome. The old one uses a + # Breakpad implementation and is used by content_shell. Consumers should + # depend on the desired target. All three targets behave identically on + # non-Mac. When content_shell and any other consumers are migrated to the + # Crashpad implementation on Mac, crash_component will merge back into + # this target, crash_component_non_mac, which will be renamed + # crash_component. crash_component_breakpad_mac_to_be_deleted will be + # deleted. + # + # While this situation exists: + # + # Do not depend on this target directly! Depend on + # crash_component_breakpad_mac_to_be_deleted for old Breakpad behavior on + # all platforms, or preferably, depend on crash_component to get Breakpad + # everywhere except for Mac, where you will get Crashpad. + 'target_name': 'crash_component_non_mac', + 'variables': { + 'conditions': [ + ['OS == "ios" or OS == "mac"', { + # On IOS there are no files compiled into the library, and we + # can't have libraries with zero objects. + # For now, the same applies to Mac OS X, until this target merges + # with crash_component. + 'crash_component_target_type%': 'none', + }, { + 'crash_component_target_type%': 'static_library', + }], + ], + }, + 'type': '<(crash_component_target_type)', + 'sources': [ + 'crash/app/breakpad_linux.cc', + 'crash/app/breakpad_linux.h', + 'crash/app/breakpad_linux_impl.h', + 'crash/app/breakpad_win.cc', + 'crash/app/breakpad_win.h', + 'crash/app/hard_error_handler_win.cc', + 'crash/app/hard_error_handler_win.h', + ], + 'dependencies': [ + 'crash_component_lib', + '../base/base.gyp:base', + ], + 'defines': ['CRASH_IMPLEMENTATION'], + 'conditions': [ + ['OS=="win"', { + 'dependencies': [ + '../breakpad/breakpad.gyp:breakpad_handler', + '../breakpad/breakpad.gyp:breakpad_sender', + '../sandbox/sandbox.gyp:sandbox', + ], + }], + ['os_posix == 1 and OS != "mac" and OS != "ios"', { + 'dependencies': [ + '../breakpad/breakpad.gyp:breakpad_client', ], 'include_dirs': [ - '..', '../breakpad/src', ], - }, - { - # TODO(mark): https://crbug.com/466890: merge this target with - # crash_component. - # - # This is a temporary base target that is depended on by both - # crash_component and crash_component_breakpad_mac_to_be_deleted. It - # provides everything common to both of those targets. For a short period, - # there are two Mac crash component implementations. The new one uses a - # Crashpad implementation and is used by Chrome. The old one uses a - # Breakpad implementation and is used by content_shell. Consumers should - # depend on the desired target. All three targets behave identically on - # non-Mac. When content_shell and any other consumers are migrated to the - # Crashpad implementation on Mac, crash_component will merge back into - # this target, crash_component_non_mac, which will be renamed - # crash_component. crash_component_breakpad_mac_to_be_deleted will be - # deleted. - # - # While this situation exists: - # - # Do not depend on this target directly! Depend on - # crash_component_breakpad_mac_to_be_deleted for old Breakpad behavior on - # all platforms, or preferably, depend on crash_component to get Breakpad - # everywhere except for Mac, where you will get Crashpad. - 'target_name': 'crash_component_non_mac', - 'variables': { - 'conditions': [ - ['OS == "ios" or OS == "mac"', { - # On IOS there are no files compiled into the library, and we - # can't have libraries with zero objects. - # For now, the same applies to Mac OS X, until this target merges - # with crash_component. - 'crash_component_target_type%': 'none', - }, { - 'crash_component_target_type%': 'static_library', - }], - ], - }, - 'type': '<(crash_component_target_type)', - 'sources': [ - 'crash/content/app/breakpad_linux.cc', - 'crash/content/app/breakpad_linux.h', - 'crash/content/app/breakpad_linux_impl.h', - 'crash/content/app/breakpad_win.cc', - 'crash/content/app/breakpad_win.h', - 'crash/content/app/hard_error_handler_win.cc', - 'crash/content/app/hard_error_handler_win.h', + }], + ], + 'target_conditions': [ + # Need 'target_conditions' to override default filename_rules to include + # the files on Android. + ['OS=="android"', { + 'sources/': [ + ['include', '^crash/app/breakpad_linux\\.cc$'], ], + }], + ], + }, + { + # Note: if you depend on this target, you need to either link in + # content.gyp:content_common, or add + # content/public/common/content_switches.cc to your sources. + # + # GN version: //components/crash/app + + # TODO(mark): https://crbug.com/466890: merge this target with + # crash_component_non_mac. + # + # Most of this target is actually in its dependency, + # crash_component_non_mac. See the comment in that target for an + # explanation for the split. The split is temporary and the two targets + # will be unified again soon. + 'target_name': 'crash_component', + 'variables': { + 'conditions': [ + ['OS != "mac" ', { + # There are no source files on any platform but Mac OS X. + 'crash_component_target_type%': 'none', + }, { + 'crash_component_target_type%': 'static_library', + }], + ], + }, + 'type': '<(crash_component_target_type)', + 'sources': [ + 'crash/app/crashpad_mac.h', + 'crash/app/crashpad_mac.mm', + ], + 'dependencies': [ + 'crash_component_non_mac', + 'crash_component_lib', + '../base/base.gyp:base', + ], + 'defines': ['CRASH_IMPLEMENTATION'], + 'conditions': [ + ['OS=="mac"', { 'dependencies': [ - 'crash_component_lib', - '../base/base.gyp:base', + '../third_party/crashpad/crashpad/client/client.gyp:crashpad_client', ], - 'defines': ['CRASH_IMPLEMENTATION'], - 'conditions': [ - ['OS=="win"', { - 'dependencies': [ - '../breakpad/breakpad.gyp:breakpad_handler', - '../breakpad/breakpad.gyp:breakpad_sender', - '../sandbox/sandbox.gyp:sandbox', - ], - }], - ['os_posix == 1 and OS != "mac" and OS != "ios"', { - 'dependencies': [ - '../breakpad/breakpad.gyp:breakpad_client', - ], - 'include_dirs': [ - '../breakpad/src', - ], - }], + }], + ], + }, + { + # TODO(mark): https://crbug.com/466890: remove this target. + # + # This is a temporary target provided for Mac Breakpad users that have not + # yet migrated to Crashpad (namely content_shell). This target will be + # removed shortly and all consumers will be expected to use Crashpad as + # the Mac crash-reporting client. See the comment in the + # crash_component_non_mac target for more details. + 'target_name': 'crash_component_breakpad_mac_to_be_deleted', + 'variables': { + 'conditions': [ + ['OS != "mac" ', { + # There are no source files on any platform but Mac OS X. + 'crash_component_target_type%': 'none', + }, { + 'crash_component_target_type%': 'static_library', + }], + ], + }, + 'type': '<(crash_component_target_type)', + 'sources': [ + 'crash/app/breakpad_mac.h', + 'crash/app/breakpad_mac.mm', + ], + 'dependencies': [ + 'crash_component_non_mac', + 'crash_component_lib', + ], + 'defines': ['CRASH_IMPLEMENTATION'], + 'conditions': [ + ['OS=="mac"', { + 'dependencies': [ + '../breakpad/breakpad.gyp:breakpad', ], - 'target_conditions': [ - # Need 'target_conditions' to override default filename_rules to include - # the files on Android. - ['OS=="android"', { - 'sources/': [ - ['include', '^crash/content/app/breakpad_linux\\.cc$'], - ], - }], + 'include_dirs': [ + '..', + ], + }], + ], + }, + { + # GN version: //components/crash/app:test_support + 'target_name': 'crash_test_support', + 'type': 'none', + 'dependencies': [ + 'crash_component_lib', + ], + 'direct_dependent_settings': { + 'include_dirs' : [ + '../breakpad/src', + ], + } + }, + ], + 'conditions': [ + ['OS=="win"', { + 'targets': [ + { + # GN version: //components/crash/tools:crash_service + 'target_name': 'breakpad_crash_service', + 'type': 'static_library', + 'dependencies': [ + '../base/base.gyp:base', + '../breakpad/breakpad.gyp:breakpad_handler', + '../breakpad/breakpad.gyp:breakpad_sender', + ], + 'sources': [ + 'crash/tools/crash_service.cc', + 'crash/tools/crash_service.h', ], }, + ], + }], + ['OS=="win" and target_arch=="ia32"', { + 'targets': [ { # Note: if you depend on this target, you need to either link in # content.gyp:content_common, or add # content/public/common/content_switches.cc to your sources. - # - # GN version: //components/crash/content/app - - # TODO(mark): https://crbug.com/466890: merge this target with - # crash_component_non_mac. - # - # Most of this target is actually in its dependency, - # crash_component_non_mac. See the comment in that target for an - # explanation for the split. The split is temporary and the two targets - # will be unified again soon. - 'target_name': 'crash_component', - 'variables': { - 'conditions': [ - ['OS != "mac" ', { - # There are no source files on any platform but Mac OS X. - 'crash_component_target_type%': 'none', - }, { - 'crash_component_target_type%': 'static_library', - }], - ], - }, - 'type': '<(crash_component_target_type)', + 'target_name': 'breakpad_win64', + 'type': 'static_library', 'sources': [ - 'crash/content/app/crashpad_mac.h', - 'crash/content/app/crashpad_mac.mm', + 'crash/app/breakpad_linux.cc', + 'crash/app/breakpad_linux.h', + 'crash/app/breakpad_linux_impl.h', + 'crash/app/breakpad_mac.h', + 'crash/app/breakpad_mac.mm', + 'crash/app/breakpad_win.cc', + 'crash/app/breakpad_win.h', + # TODO(siggi): test the x64 version too. + 'crash/app/crash_keys_win.cc', + 'crash/app/crash_keys_win.h', + 'crash/app/crash_reporter_client.cc', + 'crash/app/crash_reporter_client.h', + 'crash/app/hard_error_handler_win.cc', + 'crash/app/hard_error_handler_win.h', ], - 'dependencies': [ - 'crash_component_non_mac', - 'crash_component_lib', - '../base/base.gyp:base', + 'defines': [ + 'COMPILE_CONTENT_STATICALLY', + 'CRASH_IMPLEMENTATION', ], - 'defines': ['CRASH_IMPLEMENTATION'], - 'conditions': [ - ['OS=="mac"', { - 'dependencies': [ - '../third_party/crashpad/crashpad/client/client.gyp:crashpad_client', - ], - }], + 'dependencies': [ + '../base/base.gyp:base_win64', + '../breakpad/breakpad.gyp:breakpad_handler_win64', + '../breakpad/breakpad.gyp:breakpad_sender_win64', + '../sandbox/sandbox.gyp:sandbox_win64', ], + 'configurations': { + 'Common_Base': { + 'msvs_target_platform': 'x64', + }, + }, }, { - # TODO(mark): https://crbug.com/466890: remove this target. - # - # This is a temporary target provided for Mac Breakpad users that have not - # yet migrated to Crashpad (namely content_shell). This target will be - # removed shortly and all consumers will be expected to use Crashpad as - # the Mac crash-reporting client. See the comment in the - # crash_component_non_mac target for more details. - 'target_name': 'crash_component_breakpad_mac_to_be_deleted', - 'variables': { - 'conditions': [ - ['OS != "mac" ', { - # There are no source files on any platform but Mac OS X. - 'crash_component_target_type%': 'none', - }, { - 'crash_component_target_type%': 'static_library', - }], - ], - }, - 'type': '<(crash_component_target_type)', - 'sources': [ - 'crash/content/app/breakpad_mac.h', - 'crash/content/app/breakpad_mac.mm', - ], + 'target_name': 'breakpad_crash_service_win64', + 'type': 'static_library', 'dependencies': [ - 'crash_component_non_mac', - 'crash_component_lib', + '../base/base.gyp:base_win64', + '../breakpad/breakpad.gyp:breakpad_handler_win64', + '../breakpad/breakpad.gyp:breakpad_sender_win64', ], - 'defines': ['CRASH_IMPLEMENTATION'], - 'conditions': [ - ['OS=="mac"', { - 'dependencies': [ - '../breakpad/breakpad.gyp:breakpad', - ], - 'include_dirs': [ - '..', - ], - }], + 'sources': [ + 'crash/tools/crash_service.cc', + 'crash/tools/crash_service.h', ], + 'configurations': { + 'Common_Base': { + 'msvs_target_platform': 'x64', + }, + }, }, + ], + }], + ['OS=="mac"', { + 'targets': [ { - # GN version: //components/crash/content/app:test_support - 'target_name': 'crash_test_support', - 'type': 'none', + 'target_name': 'breakpad_stubs', + 'type': 'static_library', 'dependencies': [ - 'crash_component_lib', + '../base/base.gyp:base', + ], + 'sources': [ + 'crash/app/breakpad_mac.h', + 'crash/app/breakpad_mac_stubs.mm', + 'crash/app/crash_reporter_client.cc', + 'crash/app/crash_reporter_client.h', ], - 'direct_dependent_settings': { - 'include_dirs' : [ - '../breakpad/src', - ], - } }, ], - 'conditions': [ - ['OS=="win"', { - 'targets': [ - { - # GN version: //components/crash/content/tools:crash_service - 'target_name': 'breakpad_crash_service', - 'type': 'static_library', - 'dependencies': [ - '../base/base.gyp:base', - '../breakpad/breakpad.gyp:breakpad_handler', - '../breakpad/breakpad.gyp:breakpad_sender', - ], - 'sources': [ - 'crash/content/tools/crash_service.cc', - 'crash/content/tools/crash_service.h', - ], - }, + }], + ['os_posix == 1 and OS != "mac" and OS != "ios"', { + 'targets': [ + { + # GN version: //components/crash/browser + 'target_name': 'breakpad_host', + 'type': 'static_library', + 'dependencies': [ + 'crash_component', + '../base/base.gyp:base', + '../breakpad/breakpad.gyp:breakpad_client', + '../content/content.gyp:content_browser', + '../content/content.gyp:content_common', ], - }], - ['OS=="win" and target_arch=="ia32"', { - 'targets': [ - { - # Note: if you depend on this target, you need to either link in - # content.gyp:content_common, or add - # content/public/common/content_switches.cc to your sources. - 'target_name': 'breakpad_win64', - 'type': 'static_library', - 'sources': [ - 'crash/content/app/breakpad_linux.cc', - 'crash/content/app/breakpad_linux.h', - 'crash/content/app/breakpad_linux_impl.h', - 'crash/content/app/breakpad_mac.h', - 'crash/content/app/breakpad_mac.mm', - 'crash/content/app/breakpad_win.cc', - 'crash/content/app/breakpad_win.h', - # TODO(siggi): test the x64 version too. - 'crash/content/app/crash_keys_win.cc', - 'crash/content/app/crash_keys_win.h', - 'crash/content/app/crash_reporter_client.cc', - 'crash/content/app/crash_reporter_client.h', - 'crash/content/app/hard_error_handler_win.cc', - 'crash/content/app/hard_error_handler_win.h', - ], - 'defines': [ - 'COMPILE_CONTENT_STATICALLY', - 'CRASH_IMPLEMENTATION', - ], - 'dependencies': [ - '../base/base.gyp:base_win64', - '../breakpad/breakpad.gyp:breakpad_handler_win64', - '../breakpad/breakpad.gyp:breakpad_sender_win64', - '../sandbox/sandbox.gyp:sandbox_win64', - ], - 'configurations': { - 'Common_Base': { - 'msvs_target_platform': 'x64', - }, - }, - }, - { - 'target_name': 'breakpad_crash_service_win64', - 'type': 'static_library', - 'dependencies': [ - '../base/base.gyp:base_win64', - '../breakpad/breakpad.gyp:breakpad_handler_win64', - '../breakpad/breakpad.gyp:breakpad_sender_win64', - ], - 'sources': [ - 'crash/content/tools/crash_service.cc', - 'crash/content/tools/crash_service.h', - ], - 'configurations': { - 'Common_Base': { - 'msvs_target_platform': 'x64', - }, - }, - }, + 'sources': [ + 'crash/browser/crash_dump_manager_android.cc', + 'crash/browser/crash_dump_manager_android.h', + 'crash/browser/crash_handler_host_linux.cc', + 'crash/browser/crash_handler_host_linux.h', ], - }], - ['OS=="mac"', { - 'targets': [ - { - 'target_name': 'breakpad_stubs', - 'type': 'static_library', - 'dependencies': [ - '../base/base.gyp:base', - ], - 'sources': [ - 'crash/content/app/breakpad_mac.h', - 'crash/content/app/breakpad_mac_stubs.mm', - 'crash/content/app/crash_reporter_client.cc', - 'crash/content/app/crash_reporter_client.h', - ], - }, + 'include_dirs': [ + '../breakpad/src', ], - }], - ['os_posix == 1 and OS != "mac"', { - 'targets': [ - { - # GN version: //components/crash/content/browser - 'target_name': 'breakpad_host', - 'type': 'static_library', - 'dependencies': [ - 'crash_component', - '../base/base.gyp:base', - '../breakpad/breakpad.gyp:breakpad_client', - '../content/content.gyp:content_browser', - '../content/content.gyp:content_common', - ], - 'sources': [ - 'crash/content/browser/crash_dump_manager_android.cc', - 'crash/content/browser/crash_dump_manager_android.h', - 'crash/content/browser/crash_handler_host_linux.cc', - 'crash/content/browser/crash_handler_host_linux.h', - ], - 'include_dirs': [ - '../breakpad/src', - ], - 'target_conditions': [ - # Need 'target_conditions' to override default filename_rules to include - # the files on Android. - ['OS=="android"', { - 'sources/': [ - ['include', '^crash/content/browser/crash_handler_host_linux\\.cc$'], - ], - }], + 'target_conditions': [ + # Need 'target_conditions' to override default filename_rules to include + # the files on Android. + ['OS=="android"', { + 'sources/': [ + ['include', '^crash/browser/crash_handler_host_linux\\.cc$'], ], - }, + }], ], - }], + }, ], }], ], diff --git a/components/crash/README b/components/crash/README deleted file mode 100644 index 9f11c87..0000000 --- a/components/crash/README +++ /dev/null @@ -1,2 +0,0 @@ -Crash is a layered component [1] to enable it to be shared cleanly on iOS. -[1]: (https://sites.google.com/a/chromium.org/dev/developers/design-documents/layered-components-design) diff --git a/components/crash/content/app/BUILD.gn b/components/crash/app/BUILD.gn index e0985c5..ccaf7b6 100644 --- a/components/crash/content/app/BUILD.gn +++ b/components/crash/app/BUILD.gn @@ -14,7 +14,7 @@ source_set("lib") { "crash_reporter_client.h", ] - include_dirs = [ "../../../../breakpad/src" ] + include_dirs = [ "../../../breakpad/src" ] } # Note: if you depend on this target, you need to either link in diff --git a/components/crash/content/app/DEPS b/components/crash/app/DEPS index dc5e932..dc5e932 100644 --- a/components/crash/content/app/DEPS +++ b/components/crash/app/DEPS diff --git a/components/crash/content/app/breakpad_linux.cc b/components/crash/app/breakpad_linux.cc index c08a7f9..579d769 100644 --- a/components/crash/content/app/breakpad_linux.cc +++ b/components/crash/app/breakpad_linux.cc @@ -5,7 +5,7 @@ // For linux_syscall_support.h. This makes it safe to call embedded system // calls when in seccomp mode. -#include "components/crash/content/app/breakpad_linux.h" +#include "components/crash/app/breakpad_linux.h" #include <fcntl.h> #include <poll.h> @@ -39,8 +39,8 @@ #include "breakpad/src/common/linux/linux_libc_support.h" #include "breakpad/src/common/memory.h" #include "build/build_config.h" -#include "components/crash/content/app/breakpad_linux_impl.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/breakpad_linux_impl.h" +#include "components/crash/app/crash_reporter_client.h" #include "content/public/common/content_descriptors.h" #if defined(OS_ANDROID) diff --git a/components/crash/content/app/breakpad_linux.h b/components/crash/app/breakpad_linux.h index 4bfe0ce..83a3068 100644 --- a/components/crash/content/app/breakpad_linux.h +++ b/components/crash/app/breakpad_linux.h @@ -4,8 +4,8 @@ // Public interface for enabling Breakpad on Linux systems. -#ifndef COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_ -#define COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_ +#ifndef COMPONENTS_CRASH_APP_BREAKPAD_LINUX_H_ +#define COMPONENTS_CRASH_APP_BREAKPAD_LINUX_H_ #include <string> @@ -29,4 +29,4 @@ bool IsCrashReporterEnabled(); } // namespace breakpad -#endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_ +#endif // COMPONENTS_CRASH_APP_BREAKPAD_LINUX_H_ diff --git a/components/crash/content/app/breakpad_linux_impl.h b/components/crash/app/breakpad_linux_impl.h index 3c94d72..b306e52 100644 --- a/components/crash/content/app/breakpad_linux_impl.h +++ b/components/crash/app/breakpad_linux_impl.h @@ -6,14 +6,14 @@ // shared between crash_handler_host_linux.cc and breakpad_linux.cc. It should // only be used in files compiled with linux_breakpad=1. -#ifndef COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_ -#define COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_ +#ifndef COMPONENTS_CRASH_APP_BREAKPAD_LINUX_IMPL_H_ +#define COMPONENTS_CRASH_APP_BREAKPAD_LINUX_IMPL_H_ #include <sys/types.h> #include "base/basictypes.h" #include "breakpad/src/common/simple_string_dictionary.h" -#include "components/crash/content/app/breakpad_linux.h" +#include "components/crash/app/breakpad_linux.h" namespace breakpad { @@ -62,4 +62,4 @@ extern void HandleCrashDump(const BreakpadInfo& info); } // namespace breakpad -#endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_ +#endif // COMPONENTS_CRASH_APP_BREAKPAD_LINUX_IMPL_H_ diff --git a/components/crash/content/app/breakpad_mac.h b/components/crash/app/breakpad_mac.h index d392e13..73f576a 100644 --- a/components/crash/content/app/breakpad_mac.h +++ b/components/crash/app/breakpad_mac.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_MAC_H_ -#define COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_MAC_H_ +#ifndef COMPONENTS_CRASH_APP_BREAKPAD_MAC_H_ +#define COMPONENTS_CRASH_APP_BREAKPAD_MAC_H_ #include <string> @@ -24,4 +24,4 @@ bool IsCrashReporterEnabled(); } // namespace breakpad -#endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_MAC_H_ +#endif // COMPONENTS_CRASH_APP_BREAKPAD_MAC_H_ diff --git a/components/crash/content/app/breakpad_mac.mm b/components/crash/app/breakpad_mac.mm index 84ef742..f435483 100644 --- a/components/crash/content/app/breakpad_mac.mm +++ b/components/crash/app/breakpad_mac.mm @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#import "components/crash/content/app/breakpad_mac.h" +#import "components/crash/app/breakpad_mac.h" #include <CoreFoundation/CoreFoundation.h> #import <Foundation/Foundation.h> @@ -25,7 +25,7 @@ #include "base/threading/platform_thread.h" #include "base/threading/thread_restrictions.h" #import "breakpad/src/client/mac/Framework/Breakpad.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/crash_reporter_client.h" using crash_reporter::GetCrashReporterClient; diff --git a/components/crash/content/app/breakpad_mac_stubs.mm b/components/crash/app/breakpad_mac_stubs.mm index 329794b..e2b325c 100644 --- a/components/crash/content/app/breakpad_mac_stubs.mm +++ b/components/crash/app/breakpad_mac_stubs.mm @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#import "components/crash/content/app/breakpad_mac.h" +#import "components/crash/app/breakpad_mac.h" #import <Foundation/Foundation.h> diff --git a/components/crash/content/app/breakpad_win.cc b/components/crash/app/breakpad_win.cc index 5b53ff7..05a29ae8 100644 --- a/components/crash/content/app/breakpad_win.cc +++ b/components/crash/app/breakpad_win.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "components/crash/content/app/breakpad_win.h" +#include "components/crash/app/breakpad_win.h" #include <windows.h> #include <shellapi.h> @@ -33,9 +33,9 @@ #include "base/win/registry.h" #include "base/win/win_util.h" #include "breakpad/src/client/windows/handler/exception_handler.h" -#include "components/crash/content/app/crash_keys_win.h" -#include "components/crash/content/app/crash_reporter_client.h" -#include "components/crash/content/app/hard_error_handler_win.h" +#include "components/crash/app/crash_keys_win.h" +#include "components/crash/app/crash_reporter_client.h" +#include "components/crash/app/hard_error_handler_win.h" #include "content/public/common/result_codes.h" #include "sandbox/win/src/nt_internals.h" #include "sandbox/win/src/sidestep/preamble_patcher.h" diff --git a/components/crash/content/app/breakpad_win.h b/components/crash/app/breakpad_win.h index c4e9349..c574dcfe 100644 --- a/components/crash/content/app/breakpad_win.h +++ b/components/crash/app/breakpad_win.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_WIN_H_ -#define COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_WIN_H_ +#ifndef COMPONENTS_CRASH_APP_BREAKPAD_WIN_H_ +#define COMPONENTS_CRASH_APP_BREAKPAD_WIN_H_ #include <windows.h> #include <string> @@ -25,4 +25,4 @@ void ConsumeInvalidHandleExceptions(); } // namespace breakpad -#endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_WIN_H_ +#endif // COMPONENTS_CRASH_APP_BREAKPAD_WIN_H_ diff --git a/components/crash/content/app/crash_keys_win.cc b/components/crash/app/crash_keys_win.cc index 2c784fa..eda4340 100644 --- a/components/crash/content/app/crash_keys_win.cc +++ b/components/crash/app/crash_keys_win.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "components/crash/content/app/crash_keys_win.h" +#include "components/crash/app/crash_keys_win.h" #include <algorithm> @@ -12,7 +12,7 @@ #include "base/logging.h" #include "base/strings/string_number_conversions.h" #include "base/strings/stringprintf.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/crash_reporter_client.h" namespace breakpad { diff --git a/components/crash/content/app/crash_keys_win.h b/components/crash/app/crash_keys_win.h index 870de77..d61ea2c 100644 --- a/components/crash/content/app/crash_keys_win.h +++ b/components/crash/app/crash_keys_win.h @@ -2,9 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef COMPONENTS_CRASH_CONTENT_APP_CRASH_KEYS_WIN_H_ -#define COMPONENTS_CRASH_CONTENT_APP_CRASH_KEYS_WIN_H_ - #include <map> #include <string> #include <vector> @@ -83,5 +80,3 @@ class CrashKeysWin { }; } // namespace breakpad - -#endif // COMPONENTS_CRASH_CONTENT_APP_CRASH_KEYS_WIN_H_ diff --git a/components/crash/content/app/crash_keys_win_unittest.cc b/components/crash/app/crash_keys_win_unittest.cc index 19d3942..133746f 100644 --- a/components/crash/content/app/crash_keys_win_unittest.cc +++ b/components/crash/app/crash_keys_win_unittest.cc @@ -2,12 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "components/crash/content/app/crash_keys_win.h" +#include "components/crash/app/crash_keys_win.h" #include "base/command_line.h" #include "base/files/file_path.h" #include "base/strings/stringprintf.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/crash_reporter_client.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" diff --git a/components/crash/content/app/crash_reporter_client.cc b/components/crash/app/crash_reporter_client.cc index 66388e2..18cc67e 100644 --- a/components/crash/content/app/crash_reporter_client.cc +++ b/components/crash/app/crash_reporter_client.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/crash_reporter_client.h" #include "base/files/file_path.h" #include "base/logging.h" diff --git a/components/crash/content/app/crash_reporter_client.h b/components/crash/app/crash_reporter_client.h index 4a96954..a3a003c4 100644 --- a/components/crash/content/app/crash_reporter_client.h +++ b/components/crash/app/crash_reporter_client.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef COMPONENTS_CRASH_CONTENT_APP_CRASH_REPORTER_CLIENT_H_ -#define COMPONENTS_CRASH_CONTENT_APP_CRASH_REPORTER_CLIENT_H_ +#ifndef COMPONENTS_CRASH_APP_CRASH_REPORTER_CLIENT_H_ +#define COMPONENTS_CRASH_APP_CRASH_REPORTER_CLIENT_H_ #include <string> @@ -155,4 +155,4 @@ class CrashReporterClient { } // namespace crash_reporter -#endif // COMPONENTS_CRASH_CONTENT_APP_CRASH_REPORTER_CLIENT_H_ +#endif // COMPONENTS_CRASH_APP_CRASH_REPORTER_CLIENT_H_ diff --git a/components/crash/content/app/crashpad_mac.h b/components/crash/app/crashpad_mac.h index b46cce5..895cb2b 100644 --- a/components/crash/content/app/crashpad_mac.h +++ b/components/crash/app/crashpad_mac.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef COMPONENTS_CRASH_CONTENT_APP_CRASHPAD_MAC_H_ -#define COMPONENTS_CRASH_CONTENT_APP_CRASHPAD_MAC_H_ +#ifndef COMPONENTS_CRASH_APP_CRASHPAD_MAC_H_ +#define COMPONENTS_CRASH_APP_CRASHPAD_MAC_H_ #include <time.h> @@ -51,4 +51,4 @@ void GetUploadedReports(std::vector<UploadedReport>* uploaded_reports); } // namespace crash_reporter -#endif // COMPONENTS_CRASH_CONTENT_APP_CRASHPAD_MAC_H_ +#endif // COMPONENTS_CRASH_APP_CRASHPAD_MAC_H_ diff --git a/components/crash/content/app/crashpad_mac.mm b/components/crash/app/crashpad_mac.mm index 1082db4..cab4133 100644 --- a/components/crash/content/app/crashpad_mac.mm +++ b/components/crash/app/crashpad_mac.mm @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "components/crash/content/app/crashpad_mac.h" +#include "components/crash/app/crashpad_mac.h" #include <string.h> #include <unistd.h> @@ -22,7 +22,7 @@ #include "base/strings/string_piece.h" #include "base/strings/stringprintf.h" #include "base/strings/sys_string_conversions.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/crash_reporter_client.h" #include "third_party/crashpad/crashpad/client/crash_report_database.h" #include "third_party/crashpad/crashpad/client/crashpad_client.h" #include "third_party/crashpad/crashpad/client/crashpad_info.h" diff --git a/components/crash/content/app/hard_error_handler_win.cc b/components/crash/app/hard_error_handler_win.cc index a310666..ee88522 100644 --- a/components/crash/content/app/hard_error_handler_win.cc +++ b/components/crash/app/hard_error_handler_win.cc @@ -2,14 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "components/crash/content/app/hard_error_handler_win.h" +#include "components/crash/app/hard_error_handler_win.h" #include <DelayIMP.h> #include <winternl.h> #include "base/basictypes.h" #include "base/strings/string_util.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/crash_reporter_client.h" namespace breakpad { diff --git a/components/crash/content/app/hard_error_handler_win.h b/components/crash/app/hard_error_handler_win.h index f1afc6b..7855616 100644 --- a/components/crash/content/app/hard_error_handler_win.h +++ b/components/crash/app/hard_error_handler_win.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef COMPONENTS_CRASH_CONTENT_APP_HARD_ERROR_HANDLER_WIN_H_ -#define COMPONENTS_CRASH_CONTENT_APP_HARD_ERROR_HANDLER_WIN_H_ +#ifndef COMPONENTS_CRASH_APP_HARD_ERROR_HANDLER_WIN_H_ +#define COMPONENTS_CRASH_APP_HARD_ERROR_HANDLER_WIN_H_ #include <windows.h> @@ -31,4 +31,4 @@ bool HardErrorHandler(EXCEPTION_POINTERS* ex_info); } // namespace breakpad -#endif // COMPONENTS_CRASH_CONTENT_APP_HARD_ERROR_HANDLER_WIN_H_ +#endif // COMPONENTS_CRASH_APP_HARD_ERROR_HANDLER_WIN_H_ diff --git a/components/crash/content/browser/BUILD.gn b/components/crash/browser/BUILD.gn index 1af0d89..05e0c05 100644 --- a/components/crash/content/browser/BUILD.gn +++ b/components/crash/browser/BUILD.gn @@ -24,7 +24,7 @@ source_set("browser") { deps = [ "//base", - "//components/crash/content/app", + "//components/crash/app", "//content/public/browser", "//content/public/common", ] diff --git a/components/crash/content/browser/DEPS b/components/crash/browser/DEPS index c24130e..c24130e 100644 --- a/components/crash/content/browser/DEPS +++ b/components/crash/browser/DEPS diff --git a/components/crash/content/browser/crash_dump_manager_android.cc b/components/crash/browser/crash_dump_manager_android.cc index 62e77ad..05860a7 100644 --- a/components/crash/content/browser/crash_dump_manager_android.cc +++ b/components/crash/browser/crash_dump_manager_android.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "components/crash/content/browser/crash_dump_manager_android.h" +#include "components/crash/browser/crash_dump_manager_android.h" #include "base/bind.h" #include "base/files/file_util.h" diff --git a/components/crash/content/browser/crash_dump_manager_android.h b/components/crash/browser/crash_dump_manager_android.h index e3f2391..18d2859 100644 --- a/components/crash/content/browser/crash_dump_manager_android.h +++ b/components/crash/browser/crash_dump_manager_android.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef COMPONENTS_CRASH_CONTENT_BROWSER_CRASH_DUMP_MANAGER_ANDROID_H_ -#define COMPONENTS_CRASH_CONTENT_BROWSER_CRASH_DUMP_MANAGER_ANDROID_H_ +#ifndef COMPONENTS_CRASH_BROWSER_CRASH_DUMP_MANAGER_ANDROID_H_ +#define COMPONENTS_CRASH_BROWSER_CRASH_DUMP_MANAGER_ANDROID_H_ #include <map> @@ -82,4 +82,4 @@ class CrashDumpManager : public content::BrowserChildProcessObserver, } // namespace breakpad -#endif // COMPONENTS_CRASH_CONTENT_BROWSER_CRASH_DUMP_MANAGER_ANDROID_H_ +#endif // COMPONENTS_CRASH_BROWSER_CRASH_DUMP_MANAGER_ANDROID_H_ diff --git a/components/crash/content/browser/crash_handler_host_linux.cc b/components/crash/browser/crash_handler_host_linux.cc index a29a3ed..0f68216 100644 --- a/components/crash/content/browser/crash_handler_host_linux.cc +++ b/components/crash/browser/crash_handler_host_linux.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "components/crash/content/browser/crash_handler_host_linux.h" +#include "components/crash/browser/crash_handler_host_linux.h" #include <stdint.h> #include <stdlib.h> @@ -29,7 +29,7 @@ #include "breakpad/src/client/linux/handler/exception_handler.h" #include "breakpad/src/client/linux/minidump_writer/linux_dumper.h" #include "breakpad/src/client/linux/minidump_writer/minidump_writer.h" -#include "components/crash/content/app/breakpad_linux_impl.h" +#include "components/crash/app/breakpad_linux_impl.h" #include "content/public/browser/browser_thread.h" #if defined(OS_ANDROID) && !defined(__LP64__) @@ -142,7 +142,7 @@ void CrashHandlerHostLinux::OnFileCanReadWithoutBlocking(int fd) { // for writing the minidump as well as a file descriptor and a credentials // block so that they can't lie about their pid. // - // The message sender is in components/crash/content/app/breakpad_linux.cc. + // The message sender is in components/crash/app/breakpad_linux.cc. struct msghdr msg = {0}; struct iovec iov[kCrashIovSize]; diff --git a/components/crash/content/browser/crash_handler_host_linux.h b/components/crash/browser/crash_handler_host_linux.h index 92ef522..876a0a5 100644 --- a/components/crash/content/browser/crash_handler_host_linux.h +++ b/components/crash/browser/crash_handler_host_linux.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef COMPONENTS_CRASH_CONTENT_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ -#define COMPONENTS_CRASH_CONTENT_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ +#ifndef COMPONENTS_CRASH_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ +#define COMPONENTS_CRASH_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ #include <sys/types.h> @@ -90,4 +90,4 @@ class CrashHandlerHostLinux : public base::MessageLoopForIO::Watcher, } // namespace breakpad -#endif // COMPONENTS_CRASH_CONTENT_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ +#endif // COMPONENTS_CRASH_BROWSER_CRASH_HANDLER_HOST_LINUX_H_ diff --git a/components/crash/content/tools/BUILD.gn b/components/crash/tools/BUILD.gn index 82f282b..82f282b 100644 --- a/components/crash/content/tools/BUILD.gn +++ b/components/crash/tools/BUILD.gn diff --git a/components/crash/content/tools/crash_service.cc b/components/crash/tools/crash_service.cc index ed55bbf..f1536fc 100644 --- a/components/crash/content/tools/crash_service.cc +++ b/components/crash/tools/crash_service.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "components/crash/content/tools/crash_service.h" +#include "components/crash/tools/crash_service.h" #include <windows.h> diff --git a/components/crash/content/tools/crash_service.h b/components/crash/tools/crash_service.h index 39335e3..81b28bd 100644 --- a/components/crash/content/tools/crash_service.h +++ b/components/crash/tools/crash_service.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef COMPONENTS_CRASH_CONTENT_TOOLS_CRASH_SERVICE_H_ -#define COMPONENTS_CRASH_CONTENT_TOOLS_CRASH_SERVICE_H_ +#ifndef COMPONENTS_CRASH_TOOLS_CRASH_SERVICE_H_ +#define COMPONENTS_CRASH_TOOLS_CRASH_SERVICE_H_ #include <string> @@ -122,4 +122,4 @@ class CrashService { } // namespace breakpad -#endif // COMPONENTS_CRASH_CONTENT_TOOLS_CRASH_SERVICE_H_ +#endif // COMPONENTS_CRASH_TOOLS_CRASH_SERVICE_H_ diff --git a/components/crash/content/tools/dmp2minidump.py b/components/crash/tools/dmp2minidump.py index 7823d48..7823d48 100755 --- a/components/crash/content/tools/dmp2minidump.py +++ b/components/crash/tools/dmp2minidump.py diff --git a/components/crash/content/tools/generate_breakpad_symbols.py b/components/crash/tools/generate_breakpad_symbols.py index 5f8fb85..5f8fb85 100755 --- a/components/crash/content/tools/generate_breakpad_symbols.py +++ b/components/crash/tools/generate_breakpad_symbols.py diff --git a/content/shell/BUILD.gn b/content/shell/BUILD.gn index 1ee13ab..010758e 100644 --- a/content/shell/BUILD.gn +++ b/content/shell/BUILD.gn @@ -201,7 +201,7 @@ static_library("content_shell_lib") { "//base/allocator", "//base/third_party/dynamic_annotations", "//cc", - "//components/crash/content/app", + "//components/crash/app", "//components/devtools_discovery", "//components/devtools_http_handler", "//components/plugins/renderer", @@ -272,7 +272,7 @@ static_library("content_shell_lib") { } if (is_posix && !is_mac) { - deps += [ "//components/crash/content/browser" ] + deps += [ "//components/crash/browser" ] } if (use_aura) { @@ -458,7 +458,7 @@ if (is_win) { deps = [ "//base", "//build/config/sanitizers:deps", - "//components/crash/content/tools:crash_service", + "//components/crash/tools:crash_service", ] configs -= [ "//build/config/win:console" ] diff --git a/content/shell/android/BUILD.gn b/content/shell/android/BUILD.gn index 98261c5..b722f0b 100644 --- a/content/shell/android/BUILD.gn +++ b/content/shell/android/BUILD.gn @@ -24,7 +24,7 @@ shared_library("libcontent_shell_content_view") { "//build/config/sanitizers:deps", "//content/shell:content_shell_lib", "//content/shell:pak", - "//components/crash/content/browser", + "//components/crash/browser", "//skia", "//media/base/android", ] diff --git a/content/shell/app/shell_crash_reporter_client.h b/content/shell/app/shell_crash_reporter_client.h index 89e5773..882ecf0 100644 --- a/content/shell/app/shell_crash_reporter_client.h +++ b/content/shell/app/shell_crash_reporter_client.h @@ -6,7 +6,7 @@ #define CONTENT_SHELL_APP_SHELL_CRASH_REPORTER_CLIENT_H_ #include "base/compiler_specific.h" -#include "components/crash/content/app/crash_reporter_client.h" +#include "components/crash/app/crash_reporter_client.h" namespace content { diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc index e5914f8..2eb438a 100644 --- a/content/shell/app/shell_main_delegate.cc +++ b/content/shell/app/shell_main_delegate.cc @@ -57,7 +57,7 @@ #if defined(OS_MACOSX) #include "base/mac/os_crash_dumps.h" -#include "components/crash/content/app/breakpad_mac.h" +#include "components/crash/app/breakpad_mac.h" #include "content/shell/app/paths_mac.h" #include "content/shell/app/shell_main_delegate_mac.h" #endif // OS_MACOSX @@ -66,12 +66,12 @@ #include <initguid.h> #include <windows.h> #include "base/logging_win.h" -#include "components/crash/content/app/breakpad_win.h" +#include "components/crash/app/breakpad_win.h" #include "content/shell/common/v8_breakpad_support_win.h" #endif #if defined(OS_POSIX) && !defined(OS_MACOSX) -#include "components/crash/content/app/breakpad_linux.h" +#include "components/crash/app/breakpad_linux.h" #endif namespace { diff --git a/content/shell/browser/layout_test/layout_test_browser_main_parts.cc b/content/shell/browser/layout_test/layout_test_browser_main_parts.cc index 69dede2..04361ef 100644 --- a/content/shell/browser/layout_test/layout_test_browser_main_parts.cc +++ b/content/shell/browser/layout_test/layout_test_browser_main_parts.cc @@ -35,7 +35,7 @@ #endif #if defined(OS_ANDROID) -#include "components/crash/content/browser/crash_dump_manager_android.h" +#include "components/crash/browser/crash_dump_manager_android.h" #include "net/android/network_change_notifier_factory_android.h" #include "net/base/network_change_notifier.h" #endif diff --git a/content/shell/browser/shell_browser_main_parts.cc b/content/shell/browser/shell_browser_main_parts.cc index df1e8cf..68f52e2 100644 --- a/content/shell/browser/shell_browser_main_parts.cc +++ b/content/shell/browser/shell_browser_main_parts.cc @@ -31,7 +31,7 @@ #include "url/gurl.h" #if defined(OS_ANDROID) -#include "components/crash/content/browser/crash_dump_manager_android.h" +#include "components/crash/browser/crash_dump_manager_android.h" #include "net/android/network_change_notifier_factory_android.h" #include "net/base/network_change_notifier.h" #endif diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc index 2f928a9..98f66c8 100644 --- a/content/shell/browser/shell_content_browser_client.cc +++ b/content/shell/browser/shell_content_browser_client.cc @@ -40,14 +40,14 @@ #if defined(OS_ANDROID) #include "base/android/apk_assets.h" #include "base/android/path_utils.h" -#include "components/crash/content/browser/crash_dump_manager_android.h" +#include "components/crash/browser/crash_dump_manager_android.h" #include "content/shell/android/shell_descriptors.h" #endif #if defined(OS_POSIX) && !defined(OS_MACOSX) #include "base/debug/leak_annotations.h" -#include "components/crash/content/app/breakpad_linux.h" -#include "components/crash/content/browser/crash_handler_host_linux.h" +#include "components/crash/app/breakpad_linux.h" +#include "components/crash/browser/crash_handler_host_linux.h" #include "content/public/common/content_descriptors.h" #endif diff --git a/content/shell/tools/content_shell_crash_service.cc b/content/shell/tools/content_shell_crash_service.cc index 70c8141..897c6fb 100644 --- a/content/shell/tools/content_shell_crash_service.cc +++ b/content/shell/tools/content_shell_crash_service.cc @@ -10,7 +10,7 @@ #include "base/command_line.h" #include "base/files/file_path.h" #include "base/logging.h" -#include "components/crash/content/tools/crash_service.h" +#include "components/crash/tools/crash_service.h" int __stdcall wWinMain(HINSTANCE instance, HINSTANCE, wchar_t* cmd_line, int show_mode) { diff --git a/remoting/base/breakpad_win.cc b/remoting/base/breakpad_win.cc index 926d3af..ce39d91 100644 --- a/remoting/base/breakpad_win.cc +++ b/remoting/base/breakpad_win.cc @@ -4,7 +4,7 @@ // This module contains the necessary code to register the Breakpad exception // handler. This implementation is based on Chrome crash reporting code. See: -// - src/components/crash/content/app/breakpad_win.cc +// - src/components/crash/app/breakpad_win.cc // - src/chrome/installer/setup/setup_main.cc #include "remoting/base/breakpad.h" diff --git a/tools/msan/blacklist.txt b/tools/msan/blacklist.txt index 9957886..a00f740 100644 --- a/tools/msan/blacklist.txt +++ b/tools/msan/blacklist.txt @@ -22,7 +22,7 @@ fun:unpack_RGB888 # False positives due to use of linux_syscall_support. http://crbug.com/394028 src:*/breakpad/src/* -src:*/components/crash/content/app/breakpad_linux.cc +src:*/components/crash/app/breakpad_linux.cc # False positives due to an MSan bug. http://crbug.com/418986 fun:*SchedGetParamThread* |