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

Unified Diff: net/spdy/hpack_round_trip_test.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/spdy/hpack_round_trip_test.cc
diff --git a/net/spdy/hpack_round_trip_test.cc b/net/spdy/hpack_round_trip_test.cc
index 39be93982b62f8288e7e2c165aed648252dbdbb3..62eadb72677883b5d62f978ef04a99cd336fe4de 100644
--- a/net/spdy/hpack_round_trip_test.cc
+++ b/net/spdy/hpack_round_trip_test.cc
@@ -47,8 +47,7 @@ class HpackRoundTripTest : public ::testing::Test {
}
size_t SampleExponential(size_t mean, size_t sanity_bound) {
- return std::min<size_t>(-std::log(base::RandDouble()) * mean,
- sanity_bound);
+ return std::min<size_t>(-std::log(base::RandDouble()) * mean, sanity_bound);
}
HpackEncoder encoder_;
@@ -79,7 +78,8 @@ TEST_F(HpackRoundTripTest, ResponseFixtures) {
headers["content-encoding"] = "gzip";
headers["date"] = "Mon, 21 Oct 2013 20:13:22 GMT";
headers["location"] = "https://www.example.com";
- headers["set-cookie"] = "foo=ASDJKHQKBZXOQWEOPIUAXQWEOIU;"
+ headers["set-cookie"] =
+ "foo=ASDJKHQKBZXOQWEOPIUAXQWEOIU;"
" max-age=3600; version=1";
EXPECT_TRUE(RoundTrip(headers));
}
@@ -157,8 +157,8 @@ TEST_F(HpackRoundTripTest, RandomizedExamples) {
name = names[name_index];
}
if (value_index >= values.size()) {
- values.push_back(base::RandBytesAsString(
- 1 + SampleExponential(15, 75)));
+ values.push_back(
+ base::RandBytesAsString(1 + SampleExponential(15, 75)));
value = values.back();
} else {
value = values[value_index];

Powered by Google App Engine
This is Rietveld 408576698