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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLResourcePreloaderTest.cpp

Issue 2941893002: DO NOT SUBMIT: results of old clang-format (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/html/parser/HTMLResourcePreloader.h" 5 #include "core/html/parser/HTMLResourcePreloader.h"
6 6
7 #include <memory>
7 #include "core/html/parser/PreloadRequest.h" 8 #include "core/html/parser/PreloadRequest.h"
8 #include "core/testing/DummyPageHolder.h" 9 #include "core/testing/DummyPageHolder.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 #include <memory>
11 11
12 namespace blink { 12 namespace blink {
13 13
14 struct PreconnectTestCase { 14 struct PreconnectTestCase {
15 const char* base_url; 15 const char* base_url;
16 const char* url; 16 const char* url;
17 bool is_cors; 17 bool is_cors;
18 bool is_https; 18 bool is_https;
19 }; 19 };
20 20
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 {"http://example.test", "//example.com", true, false}, 80 {"http://example.test", "//example.com", true, false},
81 {"https://example.test", "//example.com", false, true}, 81 {"https://example.test", "//example.com", false, true},
82 {"https://example.test", "//example.com", true, true}, 82 {"https://example.test", "//example.com", true, true},
83 }; 83 };
84 84
85 for (const auto& test_case : test_cases) 85 for (const auto& test_case : test_cases)
86 Test(test_case); 86 Test(test_case);
87 } 87 }
88 88
89 } // namespace blink 89 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698