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

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

Issue 2260303002: Sending an async GET request for doc.written blocked scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Windows compile error for GetResourcePriority return type fixed. Created 4 years, 3 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 24 matching lines...) Expand all
35 #include "platform/network/ResourceRequest.h" 35 #include "platform/network/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 class CORE_EXPORT FetchRequest { 42 class CORE_EXPORT FetchRequest {
43 STACK_ALLOCATED(); 43 STACK_ALLOCATED();
44 public: 44 public:
45 enum DeferOption { NoDefer, LazyLoad }; 45 enum DeferOption { NoDefer,
46 LazyLoad,
47 IdleLoad };
46 enum OriginRestriction { UseDefaultOriginRestrictionForType, RestrictToSameO rigin, NoOriginRestriction }; 48 enum OriginRestriction { UseDefaultOriginRestrictionForType, RestrictToSameO rigin, NoOriginRestriction };
47 49
48 struct ResourceWidth { 50 struct ResourceWidth {
49 DISALLOW_NEW(); 51 DISALLOW_NEW();
50 float width; 52 float width;
51 bool isSet; 53 bool isSet;
52 54
53 ResourceWidth() 55 ResourceWidth()
54 : width(0) 56 : width(0)
55 , isSet(false) 57 , isSet(false)
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 double m_preloadDiscoveryTime; 110 double m_preloadDiscoveryTime;
109 DeferOption m_defer; 111 DeferOption m_defer;
110 OriginRestriction m_originRestriction; 112 OriginRestriction m_originRestriction;
111 ResourceWidth m_resourceWidth; 113 ResourceWidth m_resourceWidth;
112 ClientHintsPreferences m_clientHintPreferences; 114 ClientHintsPreferences m_clientHintPreferences;
113 }; 115 };
114 116
115 } // namespace blink 117 } // namespace blink
116 118
117 #endif 119 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698