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

Unified Diff: content/public/browser/resource_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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/resource_controller.h
===================================================================
--- content/public/browser/resource_controller.h (revision 139974)
+++ content/public/browser/resource_controller.h (working copy)
@@ -2,21 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_THROTTLE_CONTROLLER_H_
-#define CONTENT_PUBLIC_BROWSER_RESOURCE_THROTTLE_CONTROLLER_H_
+#ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_CONTROLLER_H_
+#define CONTENT_PUBLIC_BROWSER_RESOURCE_CONTROLLER_H_
namespace content {
-// Used by ResourceThrottle implementations to either resume a deferred
-// resource load or cancel a resource load at any time.
-class ResourceThrottleController {
+// Used to either resume a deferred resource load or cancel a resource load at
+// any time.
+class ResourceController {
public:
virtual void Cancel() = 0;
virtual void Resume() = 0;
protected:
- virtual ~ResourceThrottleController() {}
+ virtual ~ResourceController() {}
};
} // namespace content
-#endif // CONTENT_PUBLIC_BROWSER_RESOURCE_THROTTLE_CONTROLLER_H_
+#endif // CONTENT_PUBLIC_BROWSER_RESOURCE_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698