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

Side by Side Diff: Source/core/fetch/FetchContext.h

Issue 1246493002: Fix Resource Priorities and Scheduling (Blink Side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated comment Created 5 years, 4 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 virtual bool pageDismissalEventBeingDispatched() const { return false; } 101 virtual bool pageDismissalEventBeingDispatched() const { return false; }
102 virtual bool updateTimingInfoForIFrameNavigation(ResourceTimingInfo*) { retu rn false; } 102 virtual bool updateTimingInfoForIFrameNavigation(ResourceTimingInfo*) { retu rn false; }
103 virtual void sendImagePing(const KURL&); 103 virtual void sendImagePing(const KURL&);
104 virtual void addConsoleMessage(const String&) const; 104 virtual void addConsoleMessage(const String&) const;
105 virtual SecurityOrigin* securityOrigin() const { return nullptr; } 105 virtual SecurityOrigin* securityOrigin() const { return nullptr; }
106 virtual void upgradeInsecureRequest(FetchRequest&); 106 virtual void upgradeInsecureRequest(FetchRequest&);
107 virtual void addClientHintsIfNecessary(FetchRequest&); 107 virtual void addClientHintsIfNecessary(FetchRequest&);
108 virtual void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&); 108 virtual void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&);
109 virtual bool isLowPriorityIframe() const { return false; } 109 virtual bool isLowPriorityIframe() const { return false; }
110 110
111 virtual bool fetchDeferLateScripts() const { return false; }
112 virtual bool fetchIncreaseFontPriority() const { return false; }
113 virtual bool fetchIncreaseAsyncScriptPriority() const { return false; }
114 virtual bool fetchIncreasePriorities() const { return false; }
Nate Chapin 2015/08/11 17:41:56 This name is really vague. What priorities are bei
Pat Meenan 2015/08/11 18:50:10 ResourceFetcher.cpp has a comment describing the f
Nate Chapin 2015/08/12 21:13:47 A comment in Settings.in is probably a good idea.
Pat Meenan 2015/08/12 21:48:22 Done. The plan is to pull all of the experiment c
115
111 protected: 116 protected:
112 FetchContext() { } 117 FetchContext() { }
113 }; 118 };
114 119
115 } 120 }
116 121
117 #endif 122 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698