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

Side by Side Diff: src/processor/minidump.cc

Issue 1883253002: Bump MinidumpMemoryRegion::max_bytes to 2MB (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | no next file » | 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) 2010 Google Inc. 1 // Copyright (c) 2010 Google Inc.
2 // All rights reserved. 2 // All rights reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // * Redistributions of source code must retain the above copyright 8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer. 9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above 10 // * Redistributions in binary form must reproduce the above
(...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 1173
1174 return return_value; 1174 return return_value;
1175 } 1175 }
1176 1176
1177 1177
1178 // 1178 //
1179 // MinidumpMemoryRegion 1179 // MinidumpMemoryRegion
1180 // 1180 //
1181 1181
1182 1182
1183 uint32_t MinidumpMemoryRegion::max_bytes_ = 1024 * 1024; // 1MB 1183 uint32_t MinidumpMemoryRegion::max_bytes_ = 2 * 1024 * 1024; // 1MB
Mark Mentovai 2016/04/14 19:58:13 // 2MB
1184 1184
1185 1185
1186 MinidumpMemoryRegion::MinidumpMemoryRegion(Minidump* minidump) 1186 MinidumpMemoryRegion::MinidumpMemoryRegion(Minidump* minidump)
1187 : MinidumpObject(minidump), 1187 : MinidumpObject(minidump),
1188 descriptor_(NULL), 1188 descriptor_(NULL),
1189 memory_(NULL) { 1189 memory_(NULL) {
1190 } 1190 }
1191 1191
1192 1192
1193 MinidumpMemoryRegion::~MinidumpMemoryRegion() { 1193 MinidumpMemoryRegion::~MinidumpMemoryRegion() {
(...skipping 3671 matching lines...) Expand 10 before | Expand all | Expand 10 after
4865 return NULL; 4865 return NULL;
4866 } 4866 }
4867 4867
4868 *stream = new_stream.release(); 4868 *stream = new_stream.release();
4869 info->stream = *stream; 4869 info->stream = *stream;
4870 return *stream; 4870 return *stream;
4871 } 4871 }
4872 4872
4873 4873
4874 } // namespace google_breakpad 4874 } // namespace google_breakpad
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698