OLD | NEW |
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 Loading... |
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 |
OLD | NEW |