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

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

Issue 1879793003: Remove DeferredByClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Resource_load
Patch Set: Add UpdateForcedReload check for the m_loadingImageDocument special case Created 4 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/FontResource.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 25 matching lines...) Expand all
36 #include "platform/network/ResourceRequest.h" 36 #include "platform/network/ResourceRequest.h"
37 #include "wtf/Allocator.h" 37 #include "wtf/Allocator.h"
38 #include "wtf/text/AtomicString.h" 38 #include "wtf/text/AtomicString.h"
39 39
40 namespace blink { 40 namespace blink {
41 class SecurityOrigin; 41 class SecurityOrigin;
42 42
43 class CORE_EXPORT FetchRequest { 43 class CORE_EXPORT FetchRequest {
44 STACK_ALLOCATED(); 44 STACK_ALLOCATED();
45 public: 45 public:
46 enum DeferOption { NoDefer, LazyLoad, DeferredByClient }; 46 enum DeferOption { NoDefer, LazyLoad };
47 enum OriginRestriction { UseDefaultOriginRestrictionForType, RestrictToSameO rigin, NoOriginRestriction }; 47 enum OriginRestriction { UseDefaultOriginRestrictionForType, RestrictToSameO rigin, NoOriginRestriction };
48 48
49 struct ResourceWidth { 49 struct ResourceWidth {
50 DISALLOW_NEW(); 50 DISALLOW_NEW();
51 float width; 51 float width;
52 bool isSet; 52 bool isSet;
53 53
54 ResourceWidth() 54 ResourceWidth()
55 : width(0) 55 : width(0)
56 , isSet(false) 56 , isSet(false)
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 DeferOption m_defer; 107 DeferOption m_defer;
108 OriginRestriction m_originRestriction; 108 OriginRestriction m_originRestriction;
109 ResourceWidth m_resourceWidth; 109 ResourceWidth m_resourceWidth;
110 ClientHintsPreferences m_clientHintPreferences; 110 ClientHintsPreferences m_clientHintPreferences;
111 IntegrityMetadataSet m_integrityMetadata; 111 IntegrityMetadataSet m_integrityMetadata;
112 }; 112 };
113 113
114 } // namespace blink 114 } // namespace blink
115 115
116 #endif 116 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/FontResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698