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

Unified Diff: content/test/mock_resource_context.h

Issue 10299002: Stop refcounting URLRequestContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes Created 8 years, 8 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/test/mock_resource_context.h
diff --git a/content/test/mock_resource_context.h b/content/test/mock_resource_context.h
index d25bcd62048dbba86b29cbda7612dd5c645ecdfa..3eb13c993c540a0a48ce543982c8703b70e1c412 100644
--- a/content/test/mock_resource_context.h
+++ b/content/test/mock_resource_context.h
@@ -8,7 +8,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
-#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
eroman 2012/05/04 04:27:02 Is this header needed?
#include "content/public/browser/resource_context.h"
namespace content {
@@ -28,7 +28,7 @@ class MockResourceContext : public ResourceContext {
virtual net::URLRequestContext* GetRequestContext() OVERRIDE;
private:
- scoped_refptr<net::URLRequestContext> test_request_context_;
+ net::URLRequestContext* test_request_context_;
DISALLOW_COPY_AND_ASSIGN(MockResourceContext);
};

Powered by Google App Engine
This is Rietveld 408576698