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

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

Issue 10501004: Refactor the guts of ResourceDispatcherHostImpl into a new class named (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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_RESOURCE_THROTTLE_CONTROLLER_H_
6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_THROTTLE_CONTROLLER_H_
7
8 namespace content {
9
10 // Used by ResourceThrottle implementations to either resume a deferred
11 // resource load or cancel a resource load at any time.
12 class ResourceThrottleController {
13 public:
14 virtual void Cancel() = 0;
15 virtual void Resume() = 0;
16 protected:
17 virtual ~ResourceThrottleController() {}
18 };
19
20 } // namespace content
21
22 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_THROTTLE_CONTROLLER_H_
OLDNEW
« content/browser/renderer_host/resource_loader.h ('K') | « content/public/browser/resource_throttle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698