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

Side by Side Diff: chrome/common/crash_keys.cc

Issue 500533002: Revert of Keep a copy of page id in RenderViewHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_controller_impl_unittest.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "chrome/common/crash_keys.h" 5 #include "chrome/common/crash_keys.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/format_macros.h" 8 #include "base/format_macros.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/string_split.h" 10 #include "base/strings/string_split.h"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 { mac::kLastNSExceptionTrace, kMediumSize }, 156 { mac::kLastNSExceptionTrace, kMediumSize },
157 { mac::kNSException, kMediumSize }, 157 { mac::kNSException, kMediumSize },
158 { mac::kNSExceptionTrace, kMediumSize }, 158 { mac::kNSExceptionTrace, kMediumSize },
159 { mac::kSendAction, kMediumSize }, 159 { mac::kSendAction, kMediumSize },
160 { mac::kZombie, kMediumSize }, 160 { mac::kZombie, kMediumSize },
161 { mac::kZombieTrace, kMediumSize }, 161 { mac::kZombieTrace, kMediumSize },
162 // content/: 162 // content/:
163 { "channel_error_bt", kMediumSize }, 163 { "channel_error_bt", kMediumSize },
164 { "remove_route_bt", kMediumSize }, 164 { "remove_route_bt", kMediumSize },
165 { "rwhvm_window", kMediumSize }, 165 { "rwhvm_window", kMediumSize },
166 // The following keys are for diagnosing crashes in http://crbug.com/369661.
167 // They will not be permanent.
168 { "url1", kLargeSize },
169 { "url2", kLargeSize },
170 { "id1", kSmallSize },
171 { "id2", kSmallSize },
172 // End http://crbug.com/369661
173 // media/: 166 // media/:
174 { "VideoCaptureDeviceQTKit", kSmallSize }, 167 { "VideoCaptureDeviceQTKit", kSmallSize },
175 #endif 168 #endif
176 }; 169 };
177 170
178 // This dynamic set of keys is used for sets of key value pairs when gathering 171 // This dynamic set of keys is used for sets of key value pairs when gathering
179 // a collection of data, like command line switches or extension IDs. 172 // a collection of data, like command line switches or extension IDs.
180 std::vector<base::debug::CrashKey> keys( 173 std::vector<base::debug::CrashKey> keys(
181 fixed_keys, fixed_keys + arraysize(fixed_keys)); 174 fixed_keys, fixed_keys + arraysize(fixed_keys));
182 175
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 } 392 }
400 393
401 ScopedPrinterInfo::~ScopedPrinterInfo() { 394 ScopedPrinterInfo::~ScopedPrinterInfo() {
402 for (size_t i = 0; i < kPrinterInfoCount; ++i) { 395 for (size_t i = 0; i < kPrinterInfoCount; ++i) {
403 std::string key = base::StringPrintf(kPrinterInfo, i + 1); 396 std::string key = base::StringPrintf(kPrinterInfo, i + 1);
404 base::debug::ClearCrashKey(key); 397 base::debug::ClearCrashKey(key);
405 } 398 }
406 } 399 }
407 400
408 } // namespace crash_keys 401 } // namespace crash_keys
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_controller_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698