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

Side by Side Diff: third_party/WebKit/public/platform/WebFrameScheduler.h

Issue 2125273002: Fix a problem with duplicate calls to FrameFetchContext::dispatchDidFail (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename the set Created 4 years, 5 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 | « third_party/WebKit/Source/core/loader/FrameFetchContext.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebFrameScheduler_h 5 #ifndef WebFrameScheduler_h
6 #define WebFrameScheduler_h 6 #define WebFrameScheduler_h
7 7
8 #include "WebCommon.h" 8 #include "WebCommon.h"
9 9
10 #include <string> 10 #include <string>
(...skipping 29 matching lines...) Expand all
40 // are known should be posted to this task runner; for example user 40 // are known should be posted to this task runner; for example user
41 // JavaScript is discouraged. WebFrameScheduler owns the returned 41 // JavaScript is discouraged. WebFrameScheduler owns the returned
42 // WebTaskRunner. 42 // WebTaskRunner.
43 virtual WebTaskRunner* unthrottledTaskRunner() { return nullptr; } 43 virtual WebTaskRunner* unthrottledTaskRunner() { return nullptr; }
44 44
45 // Returns the parent WebViewScheduler. 45 // Returns the parent WebViewScheduler.
46 virtual WebViewScheduler* webViewScheduler() { return nullptr; } 46 virtual WebViewScheduler* webViewScheduler() { return nullptr; }
47 47
48 // Tells the scheduler a resource load has started. The scheduler may make 48 // Tells the scheduler a resource load has started. The scheduler may make
49 // policy decisions based on this. 49 // policy decisions based on this.
50 virtual void incrementPendingResourceLoadCount() { } 50 virtual void didStartLoading(unsigned long identifier) { }
51 51
52 // Tells the scheduler a resource load has started. The scheduler may make 52 // Tells the scheduler a resource load has stopped. The scheduler may make
53 // policy decisions based on this. 53 // policy decisions based on this.
54 virtual void decrementPendingResourceLoadCount() { } 54 virtual void didStopLoading(unsigned long identifier) { }
55 }; 55 };
56 56
57 } // namespace blink 57 } // namespace blink
58 58
59 #endif // WebFrameScheduler_h 59 #endif // WebFrameScheduler_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameFetchContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698