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

Side by Side Diff: minidump/test/minidump_string_writer_test_util.cc

Issue 804593002: Move string16 and char16 in to base:: (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: include roll of mini_chromium to 37bac7... Created 6 years 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
OLDNEW
1 // Copyright 2014 The Crashpad Authors. All rights reserved. 1 // Copyright 2014 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 RVA rva) { 82 RVA rva) {
83 return TMinidumpStringAtRVA<MINIDUMP_STRING>(file_contents, rva); 83 return TMinidumpStringAtRVA<MINIDUMP_STRING>(file_contents, rva);
84 } 84 }
85 85
86 const MinidumpUTF8String* MinidumpUTF8StringAtRVA( 86 const MinidumpUTF8String* MinidumpUTF8StringAtRVA(
87 const std::string& file_contents, 87 const std::string& file_contents,
88 RVA rva) { 88 RVA rva) {
89 return TMinidumpStringAtRVA<MinidumpUTF8String>(file_contents, rva); 89 return TMinidumpStringAtRVA<MinidumpUTF8String>(file_contents, rva);
90 } 90 }
91 91
92 string16 MinidumpStringAtRVAAsString(const std::string& file_contents, 92 base::string16 MinidumpStringAtRVAAsString(const std::string& file_contents,
93 RVA rva) { 93 RVA rva) {
94 return TMinidumpStringAtRVAAsString<string16, MINIDUMP_STRING>(file_contents, 94 return TMinidumpStringAtRVAAsString<base::string16, MINIDUMP_STRING>(
95 rva); 95 file_contents, rva);
96 } 96 }
97 97
98 std::string MinidumpUTF8StringAtRVAAsString(const std::string& file_contents, 98 std::string MinidumpUTF8StringAtRVAAsString(const std::string& file_contents,
99 RVA rva) { 99 RVA rva) {
100 return TMinidumpStringAtRVAAsString<std::string, MinidumpUTF8String>( 100 return TMinidumpStringAtRVAAsString<std::string, MinidumpUTF8String>(
101 file_contents, rva); 101 file_contents, rva);
102 } 102 }
103 103
104 } // namespace test 104 } // namespace test
105 } // namespace crashpad 105 } // namespace crashpad
OLDNEW
« no previous file with comments | « minidump/test/minidump_string_writer_test_util.h ('k') | minidump/test/minidump_writable_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698