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

Unified Diff: third_party/WebKit/public/platform/WebRTCCertificateGenerator.h

Issue 2147413002: WebRTCCertificateGenerator should not use std::string. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « third_party/WebKit/public/platform/WebRTCCertificate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
diff --git a/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h b/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
index f120ff7c7a2db3b052033b9367029743a803df52..8a313206025f02699007d5353151dfaac5b8b6e2 100644
--- a/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
+++ b/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
@@ -34,6 +34,7 @@
#include "public/platform/WebCallbacks.h"
#include "public/platform/WebRTCCertificate.h"
#include "public/platform/WebRTCKeyParams.h"
+#include "public/platform/WebString.h"
#include <memory>
@@ -63,8 +64,8 @@ public:
// Creates a certificate from the PEM strings. See also |WebRTCCertificate::toPEM|.
virtual std::unique_ptr<WebRTCCertificate> fromPEM(
- const std::string& pemPrivateKey,
- const std::string& pemCertificate) = 0;
+ blink::WebString pemPrivateKey,
+ blink::WebString pemCertificate) = 0;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/public/platform/WebRTCCertificate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698