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

Unified Diff: webrtc/base/base64_unittest.cc

Issue 2685533002: Replace occurences of string by std::string. (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/base64_unittest.cc
diff --git a/webrtc/base/base64_unittest.cc b/webrtc/base/base64_unittest.cc
index 6bc0a122f14a4b0463904320e2bd155d89e0bdca..96bc69582e8f114a1422acbef18e752fd910e9f6 100644
--- a/webrtc/base/base64_unittest.cc
+++ b/webrtc/base/base64_unittest.cc
@@ -345,7 +345,7 @@ size_t Base64Unescape(const char *src, size_t szsrc, char *dest,
return unescaped.size();
}
-size_t Base64Unescape(const char *src, size_t szsrc, string *s) {
+size_t Base64Unescape(const char *src, size_t szsrc, std::string *s) {
EXPECT_TRUE(Base64::DecodeFromArray(src, szsrc, Base64::DO_LAX, s, NULL));
return s->size();
}
@@ -417,7 +417,7 @@ TEST(Base64, EncodeDecodeBattery) {
// Try chopping off the equals sign(s) entirely. The decoder
// should still be okay with this.
- string decoded2("this junk should also be ignored");
+ std::string decoded2("this junk should also be ignored");
*first_equals = '\0';
EXPECT_NE(0U, Base64Unescape(encode_buffer, first_equals-encode_buffer,
&decoded2));
« 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