mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-01 20:24:40 +01:00
This change allows compiling the google-breakpad code using a global ::string class instead of std::string.
For more details take a look at common/using_std_string.h BUG= Change-Id: I11f1ce697be23e13f12ea8f0468bbe02fa63c967 Reviewed-on: https://chromium-review.googlesource.com/378159 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
3fef603b65
commit
704f41ec90
7 changed files with 34 additions and 31 deletions
|
|
@ -3,6 +3,7 @@
|
|||
// found in the LICENSE file.
|
||||
|
||||
#include "breakpad_googletest_includes.h"
|
||||
#include "common/using_std_string.h"
|
||||
#include "google_breakpad/processor/proc_maps_linux.h"
|
||||
|
||||
namespace {
|
||||
|
|
@ -227,7 +228,7 @@ TEST(ProcMapsTest, ParseProcMapsEmptyString) {
|
|||
// - File name has whitespaces.
|
||||
TEST(ProcMapsTest, ParseProcMapsWeirdCorrectInput) {
|
||||
std::vector<google_breakpad::MappedMemoryRegion> regions;
|
||||
const std::string kContents =
|
||||
const string kContents =
|
||||
"00400000-0040b000 r-xp 00000000 fc:00 2106562 "
|
||||
" /bin/cat\r\n"
|
||||
"7f53b7dad000-7f53b7f62000 r-xp 00000000 fc:00 263011 "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue