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

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceLoaderOptions.h

Issue 2125003002: Move CrossThreadCopier from platform/ to wtf/ Base URL: https://chromium.googlesource.com/chromium/src.git@TRV_RemoveTupleInBind
Patch Set: Rebase Created 4 years, 5 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/core/fetch/ResourceLoaderOptions.h
diff --git a/third_party/WebKit/Source/core/fetch/ResourceLoaderOptions.h b/third_party/WebKit/Source/core/fetch/ResourceLoaderOptions.h
index 1fb9193f63b0a72f7e64d934da2510144dc513b4..6d5b451fa448d0885f545139f46e44dbed606461 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceLoaderOptions.h
+++ b/third_party/WebKit/Source/core/fetch/ResourceLoaderOptions.h
@@ -32,9 +32,9 @@
#define ResourceLoaderOptions_h
#include "core/fetch/FetchInitiatorInfo.h"
-#include "platform/CrossThreadCopier.h"
#include "platform/weborigin/SecurityOrigin.h"
#include "wtf/Allocator.h"
+#include "wtf/CrossThreadCopier.h"
namespace blink {
@@ -184,15 +184,19 @@ struct CrossThreadResourceLoaderOptionsData {
String contentSecurityPolicyNonce;
};
+} // namespace blink
+
+namespace WTF {
+
template <>
-struct CrossThreadCopier<ResourceLoaderOptions> {
- using Type = CrossThreadResourceLoaderOptionsData;
- static Type copy(const ResourceLoaderOptions& options)
+struct CrossThreadCopier<blink::ResourceLoaderOptions> {
+ using Type = blink::CrossThreadResourceLoaderOptionsData;
+ static Type copy(const blink::ResourceLoaderOptions& options)
{
- return CrossThreadResourceLoaderOptionsData(options);
+ return blink::CrossThreadResourceLoaderOptionsData(options);
}
};
-} // namespace blink
+} // namespace WTF
#endif // ResourceLoaderOptions_h

Powered by Google App Engine
This is Rietveld 408576698