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

Unified Diff: third_party/WebKit/Source/core/loader/ThreadableLoader.h

Issue 2383403002: Reflow comments in core/loader (Closed)
Patch Set: yhirano comments 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/Source/core/loader/ThreadableLoader.h
diff --git a/third_party/WebKit/Source/core/loader/ThreadableLoader.h b/third_party/WebKit/Source/core/loader/ThreadableLoader.h
index 15a06cb6a26f2a543020f7873beab26f3c03a11b..ef75a632ee68fcd34283f3f48b3770120b0dfd47 100644
--- a/third_party/WebKit/Source/core/loader/ThreadableLoader.h
+++ b/third_party/WebKit/Source/core/loader/ThreadableLoader.h
@@ -68,8 +68,10 @@ struct ThreadableLoaderOptions {
// When adding members, CrossThreadThreadableLoaderOptionsData should
// be updated.
- PreflightPolicy
- preflightPolicy; // If AccessControl is used, how to determine if a preflight is needed.
+
+ // If AccessControl is used, how to determine if a preflight is needed.
+ PreflightPolicy preflightPolicy;
+
CrossOriginRequestPolicy crossOriginRequestPolicy;
AtomicString initiator;
ContentSecurityPolicyEnforcement contentSecurityPolicyEnforcement;
@@ -113,8 +115,8 @@ struct CrossThreadCopier<ThreadableLoaderOptions> {
}
};
-// Useful for doing loader operations from any thread (not threadsafe,
-// just able to run on threads other than the main thread).
+// Useful for doing loader operations from any thread (not threadsafe, just able
+// to run on threads other than the main thread).
//
// Arguments common to both loadResourceSynchronously() and create():
//
@@ -180,11 +182,12 @@ class CORE_EXPORT ThreadableLoader
// may be called synchronous to start() call.
virtual void start(const ResourceRequest&) = 0;
- // A ThreadableLoader may have a timeout specified. It is possible, in some cases, for
- // the timeout to be overridden after the request is sent (for example, XMLHttpRequests
- // may override their timeout setting after sending).
+ // A ThreadableLoader may have a timeout specified. It is possible, in some
+ // cases, for the timeout to be overridden after the request is sent (for
+ // example, XMLHttpRequests may override their timeout setting after sending).
//
- // Set a new timeout relative to the time the request started, in milliseconds.
+ // Set a new timeout relative to the time the request started, in
+ // milliseconds.
virtual void overrideTimeout(unsigned long timeoutMilliseconds) = 0;
virtual void cancel() = 0;

Powered by Google App Engine
This is Rietveld 408576698