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

Unified Diff: net/url_request/url_request_job_unittest.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: net/url_request/url_request_job_unittest.cc
diff --git a/net/url_request/url_request_job_unittest.cc b/net/url_request/url_request_job_unittest.cc
index d90fc9b8be172fe9bb453d877168496865ea97f3..8211456bf879bb1a8f7fd2c48c725aaf5dfe147c 100644
--- a/net/url_request/url_request_job_unittest.cc
+++ b/net/url_request/url_request_job_unittest.cc
@@ -35,40 +35,21 @@ void BigGZipServer(const HttpRequestInfo* request,
}
const MockTransaction kGZip_Transaction = {
- "http://www.google.com/gzyp",
- "GET",
- base::Time(),
- "",
- LOAD_NORMAL,
+ "http://www.google.com/gzyp", "GET", base::Time(), "", LOAD_NORMAL,
"HTTP/1.1 200 OK",
"Cache-Control: max-age=10000\n"
"Content-Encoding: gzip\n"
"Content-Length: 30\n", // Intentionally wrong.
base::Time(),
- "",
- TEST_MODE_NORMAL,
- &GZipServer,
- 0,
- OK
-};
+ "", TEST_MODE_NORMAL, &GZipServer, 0, OK};
const MockTransaction kRedirect_Transaction = {
- "http://www.google.com/redirect",
- "GET",
- base::Time(),
- "",
- LOAD_NORMAL,
+ "http://www.google.com/redirect", "GET", base::Time(), "", LOAD_NORMAL,
"HTTP/1.1 302 Found",
"Cache-Control: max-age=10000\n"
"Location: http://www.google.com/destination\n"
"Content-Length: 5\n",
- base::Time(),
- "hello",
- TEST_MODE_NORMAL,
- NULL,
- 0,
- OK
-};
+ base::Time(), "hello", TEST_MODE_NORMAL, NULL, 0, OK};
} // namespace
@@ -167,8 +148,8 @@ TEST(URLRequestJob, TransactionNotCachedWhenNetworkDelegateRedirects) {
context.set_network_delegate(&network_delegate);
TestDelegate d;
- TestURLRequest req(GURL(kGZip_Transaction.url), DEFAULT_PRIORITY, &d,
- &context);
+ TestURLRequest req(
+ GURL(kGZip_Transaction.url), DEFAULT_PRIORITY, &d, &context);
AddMockTransaction(&kGZip_Transaction);
req.set_method("GET");

Powered by Google App Engine
This is Rietveld 408576698