summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/test/net/test_automation_provider.cc7
-rw-r--r--chrome_frame/test/net/test_automation_provider.h1
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome_frame/test/net/test_automation_provider.cc b/chrome_frame/test/net/test_automation_provider.cc
index ef5528a..db89bc2 100644
--- a/chrome_frame/test/net/test_automation_provider.cc
+++ b/chrome_frame/test/net/test_automation_provider.cc
@@ -38,7 +38,8 @@ TestAutomationProvider::TestAutomationProvider(
TestAutomationProvider::Factory);
URLRequest::RegisterProtocolFactory("https",
TestAutomationProvider::Factory);
- filter_ = new TestAutomationResourceMessageFilter(this);
+ automation_resource_message_filter_ =
+ new TestAutomationResourceMessageFilter(this);
g_provider_instance_ = this;
}
@@ -47,7 +48,7 @@ TestAutomationProvider::~TestAutomationProvider() {
}
void TestAutomationProvider::OnMessageReceived(const IPC::Message& msg) {
- if (filter_->OnMessageReceived(msg))
+ if (automation_resource_message_filter_->OnMessageReceived(msg))
return; // Message handled by the filter.
__super::OnMessageReceived(msg);
@@ -89,7 +90,7 @@ URLRequestJob* TestAutomationProvider::Factory(URLRequest* request,
static int new_id = 0x00100000;
URLRequestAutomationJob* job = new URLRequestAutomationJob(request,
g_provider_instance_->tab_handle_, new_id++,
- g_provider_instance_->filter_, false);
+ g_provider_instance_->automation_resource_message_filter_, false);
return job;
}
}
diff --git a/chrome_frame/test/net/test_automation_provider.h b/chrome_frame/test/net/test_automation_provider.h
index 9e52b3b..d462108 100644
--- a/chrome_frame/test/net/test_automation_provider.h
+++ b/chrome_frame/test/net/test_automation_provider.h
@@ -47,7 +47,6 @@ class TestAutomationProvider
TestAutomationProviderDelegate* delegate);
protected:
- scoped_refptr<TestAutomationResourceMessageFilter> filter_;
int tab_handle_;
TestAutomationProviderDelegate* delegate_;