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

Unified Diff: third_party/WebKit/Source/modules/cachestorage/Cache.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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/modules/cachestorage/Cache.cpp
diff --git a/third_party/WebKit/Source/modules/cachestorage/Cache.cpp b/third_party/WebKit/Source/modules/cachestorage/Cache.cpp
index 6cf2390c4d37cfbd0cb2c05ab616b04d7068630d..1fedc99c5f493be2d2272dbedf21654d47372e18 100644
--- a/third_party/WebKit/Source/modules/cachestorage/Cache.cpp
+++ b/third_party/WebKit/Source/modules/cachestorage/Cache.cpp
@@ -584,9 +584,10 @@ ScriptPromise Cache::addAllImpl(ScriptState* scriptState,
"other than \"http\" or \"https\""));
if (requests[i]->method() != HTTPNames::GET)
return ScriptPromise::reject(
- scriptState, V8ThrowException::createTypeError(
- scriptState->isolate(),
- "Add/AddAll only supports the GET request method."));
+ scriptState,
+ V8ThrowException::createTypeError(
+ scriptState->isolate(),
+ "Add/AddAll only supports the GET request method."));
requestInfos[i].setRequest(requests[i]);
promises[i] = m_scopedFetcher->fetch(scriptState, requestInfos[i],
@@ -658,9 +659,9 @@ ScriptPromise Cache::putImpl(ScriptState* scriptState,
// the blob handle and dispatch the put batch asynchronously.
FetchDataLoader* loader = FetchDataLoader::createLoaderAsBlobHandle(
responses[i]->internalMIMEType());
- buffer->startLoading(
- loader, new BlobHandleCallbackForPut(i, barrierCallback, requests[i],
- responses[i]));
+ buffer->startLoading(loader,
+ new BlobHandleCallbackForPut(
+ i, barrierCallback, requests[i], responses[i]));
continue;
}

Powered by Google App Engine
This is Rietveld 408576698