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

Side by Side Diff: content/public/browser/loader_io_thread_notifier.h

Issue 1542743002: [RDHI] Refactored blocked_loaders_map_ to key by render frame route id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_BROWSER_IO_THREAD_NOTIFIER_H_
6 #define CONTENT_PUBLIC_BROWSER_IO_THREAD_NOTIFIER_H_
7
8 #include "content/common/content_export.h"
9
10 namespace content {
11
12 class RenderFrameHost;
13
14 // This class is responsible for notifying the IO thread (specifically, the
15 // ResourceDispatcherHostImpl) of frame events. It also contains static methods
16 // to aid in letting consumers send notifications.
17 class CONTENT_EXPORT LoaderIOThreadNotifier {
18 public:
19 virtual ~LoaderIOThreadNotifier() {}
20 static void BlockRequestsForFrame(RenderFrameHost* frame_host);
21 static void ResumeBlockedRequestsForFrame(RenderFrameHost* frame_host);
22 };
23
24 } // namespace content
25
26 #endif // CONTENT_PUBLIC_BROWSER_IO_THREAD_NOTIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698