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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_unittest.cc

Issue 10492009: Move test headers from content\test to content\public\test. This way we can enforce that internal c… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 7 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/browser/renderer_host/resource_dispatcher_host_unittest.cc
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host_unittest.cc (revision 140250)
+++ content/browser/renderer_host/resource_dispatcher_host_unittest.cc (working copy)
@@ -23,7 +23,7 @@
#include "content/public/browser/resource_dispatcher_host_delegate.h"
#include "content/public/browser/resource_throttle.h"
#include "content/public/common/resource_response.h"
-#include "content/test/test_browser_context.h"
+#include "content/public/test/test_browser_context.h"
#include "net/base/net_errors.h"
#include "net/base/upload_data.h"
#include "net/http/http_util.h"
@@ -354,7 +354,7 @@
io_thread_(BrowserThread::IO, &message_loop_),
old_factory_(NULL),
resource_type_(ResourceType::SUB_RESOURCE) {
- browser_context_.reset(new TestBrowserContext());
+ browser_context_.reset(new content::TestBrowserContext());
BrowserContext::EnsureResourceContextInitialized(browser_context_.get());
message_loop_.RunAllPending();
filter_ = new ForwardingFilter(
@@ -481,7 +481,7 @@
BrowserThreadImpl file_thread_;
BrowserThreadImpl cache_thread_;
BrowserThreadImpl io_thread_;
- scoped_ptr<TestBrowserContext> browser_context_;
+ scoped_ptr<content::TestBrowserContext> browser_context_;
scoped_refptr<ForwardingFilter> filter_;
ResourceDispatcherHostImpl host_;
ResourceIPCAccumulator accum_;

Powered by Google App Engine
This is Rietveld 408576698