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/platform/loader/fetch/FetchContext.h

Issue 2807533003: [WIP2] off-main-thread loading
Patch Set: rebase Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 Resource::Type, 169 Resource::Type,
170 const ResourceRequest&, 170 const ResourceRequest&,
171 const KURL&, 171 const KURL&,
172 const ResourceLoaderOptions&) const { 172 const ResourceLoaderOptions&) const {
173 return ResourceRequestBlockedReason::kOther; 173 return ResourceRequestBlockedReason::kOther;
174 } 174 }
175 175
176 virtual bool IsControlledByServiceWorker() const { return false; } 176 virtual bool IsControlledByServiceWorker() const { return false; }
177 virtual int64_t ServiceWorkerID() const { return -1; } 177 virtual int64_t ServiceWorkerID() const { return -1; }
178 178
179 virtual int ApplicationCacheHostID() const { return 0; }
180
179 virtual bool IsMainFrame() const { return true; } 181 virtual bool IsMainFrame() const { return true; }
180 virtual bool DefersLoading() const { return false; } 182 virtual bool DefersLoading() const { return false; }
181 virtual bool IsLoadComplete() const { return false; } 183 virtual bool IsLoadComplete() const { return false; }
182 virtual bool PageDismissalEventBeingDispatched() const { return false; } 184 virtual bool PageDismissalEventBeingDispatched() const { return false; }
183 virtual bool UpdateTimingInfoForIFrameNavigation(ResourceTimingInfo*) { 185 virtual bool UpdateTimingInfoForIFrameNavigation(ResourceTimingInfo*) {
184 return false; 186 return false;
185 } 187 }
186 virtual void SendImagePing(const KURL&); 188 virtual void SendImagePing(const KURL&);
187 virtual void AddConsoleMessage(const String&, 189 virtual void AddConsoleMessage(const String&,
188 LogMessageType = kLogErrorMessage) const; 190 LogMessageType = kLogErrorMessage) const;
(...skipping 29 matching lines...) Expand all
218 protected: 220 protected:
219 FetchContext(); 221 FetchContext();
220 222
221 private: 223 private:
222 Member<PlatformProbeSink> platform_probe_sink_; 224 Member<PlatformProbeSink> platform_probe_sink_;
223 }; 225 };
224 226
225 } // namespace blink 227 } // namespace blink
226 228
227 #endif 229 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698