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

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

Issue 2387113002: reflow comments in public/platform/ (Closed)
Patch Set: 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/WebSecurityOrigin.h
diff --git a/third_party/WebKit/public/platform/WebSecurityOrigin.h b/third_party/WebKit/public/platform/WebSecurityOrigin.h
index 4cb2f755846795dca831e51d24e2cab31f2ffd37..8b3b0161d83530b3569f2ae403f4df28ea587549 100644
--- a/third_party/WebKit/public/platform/WebSecurityOrigin.h
+++ b/third_party/WebKit/public/platform/WebSecurityOrigin.h
@@ -71,8 +71,8 @@ class WebSecurityOrigin {
BLINK_PLATFORM_EXPORT WebString host() const;
BLINK_PLATFORM_EXPORT unsigned short port() const;
- // |port()| will return 0 if the port is the default for an origin. This method
- // instead returns the effective port, even if it is the default port
+ // |port()| will return 0 if the port is the default for an origin. This
+ // method instead returns the effective port, even if it is the default port
// (e.g. "http" => 80).
BLINK_PLATFORM_EXPORT unsigned short effectivePort() const;
@@ -115,8 +115,9 @@ class WebSecurityOrigin {
BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<SecurityOrigin>() const;
BLINK_PLATFORM_EXPORT SecurityOrigin* get() const;
#else
- // TODO(mkwst): A number of properties don't survive a round-trip ('document.domain', for instance).
- // We'll need to fix that for OOPI-enabled embedders: https://crbug.com/490074.
+ // TODO(mkwst): A number of properties don't survive a round-trip
+ // ('document.domain', for instance).
+ // We'll need to fix that for OOPI-enabled embedders, // https://crbug.com/490074.
dcheng 2016/10/03 18:11:48 Nit: merge this into previous line (this is all pa
Nico 2016/10/03 21:53:19 Done.
operator url::Origin() const {
return isUnique() ? url::Origin()
: url::Origin::UnsafelyCreateOriginWithoutNormalization(
@@ -137,7 +138,8 @@ class WebSecurityOrigin {
#endif
private:
- // Present only to facilitate conversion from 'url::Origin'; this constructor shouldn't be used anywhere else.
+ // Present only to facilitate conversion from 'url::Origin'; this constructor
+ // shouldn't be used anywhere else.
BLINK_PLATFORM_EXPORT static WebSecurityOrigin
createFromTuple(const WebString& protocol, const WebString& host, int port);
« no previous file with comments | « third_party/WebKit/public/platform/WebScrollbarThemePainter.h ('k') | third_party/WebKit/public/platform/WebSourceBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698