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

Unified Diff: blimp/engine/app/blimp_engine_crash_keys.cc

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/engine/app/blimp_engine_crash_keys.h ('k') | blimp/engine/app/blimp_engine_crash_reporter_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/app/blimp_engine_crash_keys.cc
diff --git a/blimp/engine/app/blimp_engine_crash_keys.cc b/blimp/engine/app/blimp_engine_crash_keys.cc
deleted file mode 100644
index dd2a258cf25196fef776000edbe43993925fe42a..0000000000000000000000000000000000000000
--- a/blimp/engine/app/blimp_engine_crash_keys.cc
+++ /dev/null
@@ -1,115 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "blimp/engine/app/blimp_engine_crash_keys.h"
-
-#include "base/debug/crash_logging.h"
-#include "base/macros.h"
-#include "components/crash/core/common/crash_keys.h"
-
-namespace blimp {
-namespace engine {
-
-size_t RegisterEngineCrashKeys() {
- // For now these need to be kept relatively up to date with those in
- // //chrome/common/crash_keys.cc::RegisterChromeCrashKeys()
- // All of the keys used in //content and //components/crash must show up
- // here.
- // TODO(marcinjb): Change the approach when http://crbug.com/598854 is
- // resolved.
- const base::debug::CrashKey engine_keys[] = {
- { crash_keys::kClientId, crash_keys::kSmallSize },
- { crash_keys::kChannel, crash_keys::kSmallSize },
- { crash_keys::kNumVariations, crash_keys::kSmallSize },
- { crash_keys::kVariations, crash_keys::kLargeSize },
-
- // browser/:
- { "browser-unpin-trace", crash_keys::kMediumSize},
- { "third-party-modules-loaded", crash_keys::kSmallSize },
- { "third-party-modules-not-loaded", crash_keys::kSmallSize },
- { "enrolled-to-domain", crash_keys::kSmallSize },
-
- // //content crash keys
- { "bad_message_reason", crash_keys::kSmallSize },
- { "channel_error_bt", crash_keys::kMediumSize },
- { "discardable-memory-allocated", crash_keys::kSmallSize },
- { "discardable-memory-free", crash_keys::kSmallSize },
- { "mojo-message-error", crash_keys::kMediumSize },
- { "ppapi_path", crash_keys::kMediumSize },
- { "remove_route_bt", crash_keys::kMediumSize },
- { "rwhvm_window", crash_keys::kMediumSize },
- { "subresource_url", crash_keys::kLargeSize },
- { "total-discardable-memory-allocated", crash_keys::kSmallSize },
-
- // gin/:
- { "v8-ignition", crash_keys::kSmallSize },
-
- // Temporary for http://crbug.com/575245.
- { "commit_frame_id", crash_keys::kSmallSize },
- { "commit_proxy_id", crash_keys::kSmallSize },
- { "commit_view_id", crash_keys::kSmallSize },
- { "commit_main_render_frame_id", crash_keys::kSmallSize },
- { "initrf_frame_id", crash_keys::kSmallSize },
- { "initrf_proxy_id", crash_keys::kSmallSize },
- { "initrf_view_id", crash_keys::kSmallSize },
- { "initrf_main_frame_id", crash_keys::kSmallSize },
- { "initrf_view_is_live", crash_keys::kSmallSize },
- { "newproxy_proxy_id", crash_keys::kSmallSize },
- { "newproxy_view_id", crash_keys::kSmallSize },
- { "newproxy_opener_id", crash_keys::kSmallSize },
- { "newproxy_parent_id", crash_keys::kSmallSize },
- { "rvinit_view_id", crash_keys::kSmallSize },
- { "rvinit_proxy_id", crash_keys::kSmallSize },
- { "rvinit_main_frame_id", crash_keys::kSmallSize },
- { "swapout_frame_id", crash_keys::kSmallSize },
- { "swapout_proxy_id", crash_keys::kSmallSize },
- { "swapout_view_id", crash_keys::kSmallSize },
-
- // Temporary for https://crbug.com/591478.
- { "initrf_parent_proxy_exists", crash_keys::kSmallSize },
- { "initrf_render_view_is_live", crash_keys::kSmallSize },
- { "initrf_parent_is_in_same_site_instance", crash_keys::kSmallSize},
- { "initrf_parent_process_is_live", crash_keys::kSmallSize},
- { "initrf_root_is_in_same_site_instance", crash_keys::kSmallSize},
- { "initrf_root_is_in_same_site_instance_as_parent",
- crash_keys::kSmallSize},
- { "initrf_root_process_is_live", crash_keys::kSmallSize},
- { "initrf_root_proxy_is_live", crash_keys::kSmallSize},
-
- // Temporary for https://crbug.com/626802.
- { "newframe_routing_id", crash_keys::kSmallSize },
- { "newframe_proxy_id", crash_keys::kSmallSize },
- { "newframe_opener_id", crash_keys::kSmallSize },
- { "newframe_parent_id", crash_keys::kSmallSize },
- { "newframe_widget_id", crash_keys::kSmallSize },
- { "newframe_widget_hidden", crash_keys::kSmallSize },
- { "newframe_replicated_origin", crash_keys::kSmallSize },
- { "newframe_oopifs_possible", crash_keys::kSmallSize },
-
- // Temporary for https://crbug.com/630103.
- { "origin_mismatch_url", crash_keys::kLargeSize },
- { "origin_mismatch_origin", crash_keys::kMediumSize },
- { "origin_mismatch_transition", crash_keys::kSmallSize },
- { "origin_mismatch_redirects", crash_keys::kSmallSize },
- { "origin_mismatch_same_page", crash_keys::kSmallSize },
-
- // Temporary for https://crbug.com/612711.
- { "aci_wrong_sp_extension_id", crash_keys::kSmallSize },
-
- // Temporary for https://crbug.com/616149.
- { "existing_extension_pref_value_type", crash_keys::kSmallSize },
-
- // Temporary for https://crbug.com/668633.
- { "swdh_set_hosted_version_worker_pid", crash_keys::kSmallSize },
- { "swdh_set_hosted_version_host_pid", crash_keys::kSmallSize },
- { "swdh_set_hosted_version_is_new_process", crash_keys::kSmallSize },
- { "swdh_set_hosted_version_restart_count", crash_keys::kSmallSize },
- };
-
- return base::debug::InitCrashKeys(engine_keys, arraysize(engine_keys),
- crash_keys::kChunkMaxLength);
-}
-
-} // namespace engine
-} // namespace blimp
« no previous file with comments | « blimp/engine/app/blimp_engine_crash_keys.h ('k') | blimp/engine/app/blimp_engine_crash_reporter_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698