| Index: chrome/common/crash_keys.cc | 
| diff --git a/chrome/common/crash_keys.cc b/chrome/common/crash_keys.cc | 
| index 55b0864c40e0fab3b81d8c0a2b9e7f35d07cd458..f5de54b9b468db7c0376771f3d4d4f73033b56c0 100644 | 
| --- a/chrome/common/crash_keys.cc | 
| +++ b/chrome/common/crash_keys.cc | 
| @@ -6,6 +6,34 @@ | 
|  | 
| namespace crash_keys { | 
|  | 
| +// TODO(rsesek): This is true on Mac and Linux but not Windows. | 
| +static const size_t kSingleChunkLength = 255; | 
| + | 
| +size_t RegisterChromeCrashKeys() { | 
| +  base::debug::CrashKey keys[] = { | 
| +    // TODO(rsesek): Remove when done testing. Needed so arraysize > 0. | 
| +    { "rsesek_key", 1 }, | 
| +#if defined(OS_MACOSX) | 
| +    { mac::kFirstNSException, 1 }, | 
| +    { mac::kFirstNSExceptionTrace, 1 }, | 
| +    { mac::kLastNSException, 1 }, | 
| +    { mac::kLastNSExceptionTrace, 1 }, | 
| +    { mac::kNSException, 1 }, | 
| +    { mac::kSendAction, 1 }, | 
| +    { mac::kZombie, 1 }, | 
| +    { mac::kZombieTrace, 1 }, | 
| +    // content/: | 
| +    { "channel_error_bt", 1 }, | 
| +    { "remove_route_bt", 1 }, | 
| +    { "rwhvm_window", 1 }, | 
| +    // media/: | 
| +    { "VideoCaptureDeviceQTKit", 1 }, | 
| +#endif | 
| +  }; | 
| + | 
| +  return base::debug::InitCrashKeys(keys, arraysize(keys), kSingleChunkLength); | 
| +} | 
| + | 
| namespace mac { | 
|  | 
| const char kFirstNSException[] = "firstexception"; | 
|  |