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

Side by Side Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceLoaderOptionsTest.cpp

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try Created 3 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/fetch/ResourceLoaderOptions.h" 5 #include "platform/loader/fetch/ResourceLoaderOptions.h"
6 6
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 #include <type_traits> 8 #include <type_traits>
9 9
10 namespace blink { 10 namespace blink {
11 11
12 namespace { 12 namespace {
13 13
14 TEST(ResourceLoaderOptionsTest, DeepCopy) { 14 TEST(ResourceLoaderOptionsTest, DeepCopy) {
15 // Check that the fields of ResourceLoaderOptions are enums, except for 15 // Check that the fields of ResourceLoaderOptions are enums, except for
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 // FIXME: The checks for content equality/pointer inequality for 102 // FIXME: The checks for content equality/pointer inequality for
103 // securityOrigin here is not complete (i.e. m_filePath is not checked). A 103 // securityOrigin here is not complete (i.e. m_filePath is not checked). A
104 // unit test for SecurityOrigin::isolatedCopy() that covers these checks 104 // unit test for SecurityOrigin::isolatedCopy() that covers these checks
105 // should be added. 105 // should be added.
106 } 106 }
107 107
108 } // namespace 108 } // namespace
109 109
110 } // namespace blink 110 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698