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

Side by Side Diff: third_party/WebKit/Source/platform/loader/fetch/FetchRequest.h

Issue 2746113002: platform/loader: move network/Resource* to loader/fetch (Closed)
Patch Set: git rebase master Created 3 years, 9 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 /* 1 /*
2 * Copyright (C) 2012 Google, Inc. All rights reserved. 2 * Copyright (C) 2012 Google, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 14 matching lines...) Expand all
25 25
26 #ifndef FetchRequest_h 26 #ifndef FetchRequest_h
27 #define FetchRequest_h 27 #define FetchRequest_h
28 28
29 #include "platform/CrossOriginAttributeValue.h" 29 #include "platform/CrossOriginAttributeValue.h"
30 #include "platform/PlatformExport.h" 30 #include "platform/PlatformExport.h"
31 #include "platform/loader/fetch/ClientHintsPreferences.h" 31 #include "platform/loader/fetch/ClientHintsPreferences.h"
32 #include "platform/loader/fetch/FetchInitiatorInfo.h" 32 #include "platform/loader/fetch/FetchInitiatorInfo.h"
33 #include "platform/loader/fetch/IntegrityMetadata.h" 33 #include "platform/loader/fetch/IntegrityMetadata.h"
34 #include "platform/loader/fetch/ResourceLoaderOptions.h" 34 #include "platform/loader/fetch/ResourceLoaderOptions.h"
35 #include "platform/network/ResourceRequest.h" 35 #include "platform/loader/fetch/ResourceRequest.h"
36 #include "wtf/Allocator.h" 36 #include "wtf/Allocator.h"
37 #include "wtf/text/AtomicString.h" 37 #include "wtf/text/AtomicString.h"
38 38
39 namespace blink { 39 namespace blink {
40 class SecurityOrigin; 40 class SecurityOrigin;
41 41
42 // A FetchRequest is a "parameter object" for ResourceFetcher::requestResource 42 // A FetchRequest is a "parameter object" for ResourceFetcher::requestResource
43 // to avoid the method having too many arguments. 43 // to avoid the method having too many arguments.
44 class PLATFORM_EXPORT FetchRequest { 44 class PLATFORM_EXPORT FetchRequest {
45 STACK_ALLOCATED(); 45 STACK_ALLOCATED();
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 DeferOption m_defer; 162 DeferOption m_defer;
163 OriginRestriction m_originRestriction; 163 OriginRestriction m_originRestriction;
164 ResourceWidth m_resourceWidth; 164 ResourceWidth m_resourceWidth;
165 ClientHintsPreferences m_clientHintPreferences; 165 ClientHintsPreferences m_clientHintPreferences;
166 PlaceholderImageRequestType m_placeholderImageRequestType; 166 PlaceholderImageRequestType m_placeholderImageRequestType;
167 }; 167 };
168 168
169 } // namespace blink 169 } // namespace blink
170 170
171 #endif 171 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698