summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/test/net/fake_external_tab.cc2
-rw-r--r--chrome_frame/test/net/fake_external_tab.h5
-rw-r--r--chrome_frame/test/test_server_test.cc6
3 files changed, 8 insertions, 5 deletions
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc
index 00f7659..99c9643 100644
--- a/chrome_frame/test/net/fake_external_tab.cc
+++ b/chrome_frame/test/net/fake_external_tab.cc
@@ -752,7 +752,7 @@ void CFUrlRequestUnittestRunner::OnInitializationTimeout() {
void CFUrlRequestUnittestRunner::OverrideHttpHost() {
override_http_host_.reset(
- new ScopedCustomUrlRequestTestHttpHost(
+ new net::ScopedCustomUrlRequestTestHttpHost(
chrome_frame_test::GetLocalIPv4Address()));
}
diff --git a/chrome_frame/test/net/fake_external_tab.h b/chrome_frame/test/net/fake_external_tab.h
index 18e24b0..43ae7246 100644
--- a/chrome_frame/test/net/fake_external_tab.h
+++ b/chrome_frame/test/net/fake_external_tab.h
@@ -23,7 +23,10 @@
class CommandLine;
class FakeBrowserProcessImpl;
class ProcessSingleton;
+
+namespace net {
class ScopedCustomUrlRequestTestHttpHost;
+} // namespace net
namespace content {
class NotificationService;
@@ -122,7 +125,7 @@ class CFUrlRequestUnittestRunner
base::ProcessHandle crash_service_;
DWORD test_thread_id_;
- scoped_ptr<ScopedCustomUrlRequestTestHttpHost> override_http_host_;
+ scoped_ptr<net::ScopedCustomUrlRequestTestHttpHost> override_http_host_;
scoped_ptr<test_server::SimpleWebServer> test_http_server_;
test_server::SimpleResponse chrome_frame_html_;
diff --git a/chrome_frame/test/test_server_test.cc b/chrome_frame/test/test_server_test.cc
index f3d7899..54f96a6 100644
--- a/chrome_frame/test/test_server_test.cc
+++ b/chrome_frame/test/test_server_test.cc
@@ -65,7 +65,7 @@ class TestURLRequest : public net::URLRequest {
public:
TestURLRequest(const GURL& url,
Delegate* delegate,
- TestURLRequestContext* context)
+ net::TestURLRequestContext* context)
: net::URLRequest(url, delegate, context) {
}
};
@@ -81,7 +81,7 @@ class UrlTaskChain {
MessageLoopForIO loop;
- TestURLRequestContext context;
+ net::TestURLRequestContext context;
TestURLRequest r(GURL(url_), &delegate_, &context);
r.Start();
EXPECT_TRUE(r.is_pending());
@@ -103,7 +103,7 @@ class UrlTaskChain {
protected:
std::string url_;
- TestDelegate delegate_;
+ net::TestDelegate delegate_;
UrlTaskChain* next_;
};