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

Unified Diff: chrome/browser/extensions/user_script_listener_unittest.cc

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: chrome/browser/extensions/user_script_listener_unittest.cc
===================================================================
--- chrome/browser/extensions/user_script_listener_unittest.cc (revision 141889)
+++ chrome/browser/extensions/user_script_listener_unittest.cc (working copy)
@@ -14,15 +14,15 @@
#include "chrome/common/extensions/extension_file_util.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/browser/notification_service.h"
+#include "content/public/browser/resource_controller.h"
#include "content/public/browser/resource_throttle.h"
-#include "content/public/browser/resource_throttle_controller.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_test_job.h"
#include "net/url_request/url_request_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
+using content::ResourceController;
using content::ResourceThrottle;
-using content::ResourceThrottleController;
using extensions::Extension;
namespace {
@@ -32,7 +32,7 @@
const char kTestData[] = "Hello, World!";
class ThrottleController : public base::SupportsUserData::Data,
- public ResourceThrottleController {
+ public ResourceController {
public:
ThrottleController(net::URLRequest* request, ResourceThrottle* throttle)
: request_(request),
@@ -40,7 +40,7 @@
throttle_->set_controller_for_testing(this);
}
- // ResourceThrottleController implementation:
+ // ResourceController implementation:
virtual void Resume() {
request_->Start();
}

Powered by Google App Engine
This is Rietveld 408576698