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

Unified Diff: third_party/WebKit/Source/core/loader/CrossOriginPreflightResultCache.cpp

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/CrossOriginPreflightResultCache.cpp
diff --git a/third_party/WebKit/Source/core/loader/CrossOriginPreflightResultCache.cpp b/third_party/WebKit/Source/core/loader/CrossOriginPreflightResultCache.cpp
index 1c290a4ba9c3e2965cb85c29879b1fdf859de69f..277b8a50949e2d9d26063e79e5b6e1ca11613a4b 100644
--- a/third_party/WebKit/Source/core/loader/CrossOriginPreflightResultCache.cpp
+++ b/third_party/WebKit/Source/core/loader/CrossOriginPreflightResultCache.cpp
@@ -36,9 +36,12 @@
namespace blink {
// These values are at the discretion of the user agent.
+
static const unsigned defaultPreflightCacheTimeoutSeconds = 5;
-static const unsigned maxPreflightCacheTimeoutSeconds =
- 600; // Should be short enough to minimize the risk of using a poisoned cache after switching to a secure network.
+
+// Should be short enough to minimize the risk of using a poisoned cache after
+// switching to a secure network.
+static const unsigned maxPreflightCacheTimeoutSeconds = 600;
static bool parseAccessControlMaxAge(const String& string,
unsigned& expiryDelta) {

Powered by Google App Engine
This is Rietveld 408576698