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

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

Issue 2387113002: reflow comments in public/platform/ (Closed)
Patch Set: nit Created 4 years, 2 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
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 826afe8572608206fe7b2820e256e955088d85c1..2e2de5a37fc9317f9aded590b977eeb9f0b2065f 100644
--- a/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
+++ b/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
@@ -43,13 +43,15 @@ namespace blink {
using WebRTCCertificateCallback =
WebCallbacks<std::unique_ptr<WebRTCCertificate>, void>;
-// Interface defining a class that can generate WebRTCCertificates asynchronously.
+// Interface defining a class that can generate WebRTCCertificates
+// asynchronously.
class WebRTCCertificateGenerator {
public:
virtual ~WebRTCCertificateGenerator() {}
// Start generating a certificate asynchronously. |observer| is invoked on the
- // same thread that called generateCertificate when the operation is completed.
+ // same thread that called generateCertificate when the operation is
+ // completed.
virtual void generateCertificate(
const WebRTCKeyParams&,
std::unique_ptr<WebRTCCertificateCallback> observer) = 0;
@@ -59,11 +61,12 @@ class WebRTCCertificateGenerator {
std::unique_ptr<WebRTCCertificateCallback> observer) = 0;
// Determines if the parameters are supported by |generateCertificate|.
- // For example, if the number of bits of some parameter is too small or too large we
- // may want to reject it for security or performance reasons.
+ // For example, if the number of bits of some parameter is too small or too
+ // large we may want to reject it for security or performance reasons.
virtual bool isSupportedKeyParams(const WebRTCKeyParams&) = 0;
- // Creates a certificate from the PEM strings. See also |WebRTCCertificate::toPEM|.
+ // Creates a certificate from the PEM strings. See also
+ // |WebRTCCertificate::toPEM|.
virtual std::unique_ptr<WebRTCCertificate> fromPEM(
blink::WebString pemPrivateKey,
blink::WebString pemCertificate) = 0;
« no previous file with comments | « third_party/WebKit/public/platform/WebRTCCertificate.h ('k') | third_party/WebKit/public/platform/WebRTCDataChannelHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698