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

Side by Side Diff: chromecast/crash/cast_crash_keys.cc

Issue 2703393004: Remove DumpWithoutCrashing() from extension_prefs (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « chrome/common/crash_keys.cc ('k') | extensions/browser/extension_prefs.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/macros.h" 5 #include "base/macros.h"
6 #include "chromecast/crash/cast_crash_keys.h" 6 #include "chromecast/crash/cast_crash_keys.h"
7 7
8 // TODO(kjoswiak): Potentially refactor chunk size info as well as non-cast 8 // TODO(kjoswiak): Potentially refactor chunk size info as well as non-cast
9 // specific keys out and make shared with chrome/common/crash_keys.cc. 9 // specific keys out and make shared with chrome/common/crash_keys.cc.
10 namespace { 10 namespace {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Temporary for https://crbug.com/630103. 95 // Temporary for https://crbug.com/630103.
96 { "origin_mismatch_url", kLargeSize }, 96 { "origin_mismatch_url", kLargeSize },
97 { "origin_mismatch_origin", kMediumSize }, 97 { "origin_mismatch_origin", kMediumSize },
98 { "origin_mismatch_transition", kSmallSize }, 98 { "origin_mismatch_transition", kSmallSize },
99 { "origin_mismatch_redirects", kSmallSize }, 99 { "origin_mismatch_redirects", kSmallSize },
100 { "origin_mismatch_same_page", kSmallSize }, 100 { "origin_mismatch_same_page", kSmallSize },
101 101
102 // Temporary for https://crbug.com/612711. 102 // Temporary for https://crbug.com/612711.
103 { "aci_wrong_sp_extension_id", kSmallSize }, 103 { "aci_wrong_sp_extension_id", kSmallSize },
104 104
105 // Temporary for https://crbug.com/616149.
106 { "existing_extension_pref_value_type", kSmallSize },
107
108 // Temporary for https://crbug.com/668633. 105 // Temporary for https://crbug.com/668633.
109 { "swdh_set_hosted_version_worker_pid", kSmallSize }, 106 { "swdh_set_hosted_version_worker_pid", kSmallSize },
110 { "swdh_set_hosted_version_host_pid", kSmallSize }, 107 { "swdh_set_hosted_version_host_pid", kSmallSize },
111 { "swdh_set_hosted_version_is_new_process", kSmallSize }, 108 { "swdh_set_hosted_version_is_new_process", kSmallSize },
112 { "swdh_set_hosted_version_restart_count", kSmallSize }, 109 { "swdh_set_hosted_version_restart_count", kSmallSize },
113 }; 110 };
114 111
115 return base::debug::InitCrashKeys(fixed_keys, arraysize(fixed_keys), 112 return base::debug::InitCrashKeys(fixed_keys, arraysize(fixed_keys),
116 kChunkMaxLength); 113 kChunkMaxLength);
117 } 114 }
118 115
119 } // namespace crash_keys 116 } // namespace crash_keys
120 } // namespace chromecast 117 } // namespace chromecast
OLDNEW
« no previous file with comments | « chrome/common/crash_keys.cc ('k') | extensions/browser/extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698