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

Unified Diff: third_party/WebKit/Source/platform/network/HTTPParsersTest.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/platform/network/HTTPParsersTest.cpp
diff --git a/third_party/WebKit/Source/platform/network/HTTPParsersTest.cpp b/third_party/WebKit/Source/platform/network/HTTPParsersTest.cpp
index 1e5fe82882feeb64783a412a342ee0d47e1b4c89..d98d0e9ba45394a105701104d463767b9b4e1d42 100644
--- a/third_party/WebKit/Source/platform/network/HTTPParsersTest.cpp
+++ b/third_party/WebKit/Source/platform/network/HTTPParsersTest.cpp
@@ -160,35 +160,42 @@ TEST(HTTPParsersTest, ExtractMIMETypeFromMediaType) {
const AtomicString textHtml("text/html");
EXPECT_EQ(textHtml, extractMIMETypeFromMediaType(AtomicString("text/html")));
- EXPECT_EQ(textHtml, extractMIMETypeFromMediaType(
- AtomicString("text/html; charset=iso-8859-1")));
+ EXPECT_EQ(textHtml,
+ extractMIMETypeFromMediaType(
+ AtomicString("text/html; charset=iso-8859-1")));
// Quoted charset parameter
- EXPECT_EQ(textHtml, extractMIMETypeFromMediaType(
- AtomicString("text/html; charset=\"quoted\"")));
+ EXPECT_EQ(textHtml,
+ extractMIMETypeFromMediaType(
+ AtomicString("text/html; charset=\"quoted\"")));
// Multiple parameters
- EXPECT_EQ(textHtml, extractMIMETypeFromMediaType(
- AtomicString("text/html; charset=x; foo=bar")));
+ EXPECT_EQ(textHtml,
+ extractMIMETypeFromMediaType(
+ AtomicString("text/html; charset=x; foo=bar")));
// OWSes are trimmed.
EXPECT_EQ(textHtml,
extractMIMETypeFromMediaType(AtomicString(" text/html ")));
EXPECT_EQ(textHtml,
extractMIMETypeFromMediaType(AtomicString("\ttext/html \t")));
- EXPECT_EQ(textHtml, extractMIMETypeFromMediaType(
- AtomicString("text/html ; charset=iso-8859-1")));
+ EXPECT_EQ(textHtml,
+ extractMIMETypeFromMediaType(
+ AtomicString("text/html ; charset=iso-8859-1")));
// Non-standard multiple type/subtype listing using a comma as a separator
// is accepted.
EXPECT_EQ(textHtml,
extractMIMETypeFromMediaType(AtomicString("text/html,text/plain")));
- EXPECT_EQ(textHtml, extractMIMETypeFromMediaType(
- AtomicString("text/html , text/plain")));
- EXPECT_EQ(textHtml, extractMIMETypeFromMediaType(
- AtomicString("text/html\t,\ttext/plain")));
- EXPECT_EQ(textHtml, extractMIMETypeFromMediaType(AtomicString(
- "text/html,text/plain;charset=iso-8859-1")));
+ EXPECT_EQ(
+ textHtml,
+ extractMIMETypeFromMediaType(AtomicString("text/html , text/plain")));
+ EXPECT_EQ(
+ textHtml,
+ extractMIMETypeFromMediaType(AtomicString("text/html\t,\ttext/plain")));
+ EXPECT_EQ(textHtml,
+ extractMIMETypeFromMediaType(
+ AtomicString("text/html,text/plain;charset=iso-8859-1")));
// Preserves case.
EXPECT_EQ("tExt/hTMl",

Powered by Google App Engine
This is Rietveld 408576698