summaryrefslogtreecommitdiffstats
path: root/content/browser/resolve_proxy_msg_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/resolve_proxy_msg_helper.h')
-rw-r--r--content/browser/resolve_proxy_msg_helper.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/content/browser/resolve_proxy_msg_helper.h b/content/browser/resolve_proxy_msg_helper.h
index ebdbdaa..8dd45eb 100644
--- a/content/browser/resolve_proxy_msg_helper.h
+++ b/content/browser/resolve_proxy_msg_helper.h
@@ -19,6 +19,8 @@ namespace net {
class URLRequestContextGetter;
}
+namespace content {
+
// Responds to ChildProcessHostMsg_ResolveProxy, kicking off a ProxyResolve
// request on the IO thread using the specified proxy service. Completion is
// notified through the delegate. If multiple requests are started at the same
@@ -29,14 +31,13 @@ class URLRequestContextGetter;
// the stored IPC::Message pointers for pending requests.
//
// This object is expected to live on the IO thread.
-class CONTENT_EXPORT ResolveProxyMsgHelper
- : public content::BrowserMessageFilter {
+class CONTENT_EXPORT ResolveProxyMsgHelper : public BrowserMessageFilter {
public:
explicit ResolveProxyMsgHelper(net::URLRequestContextGetter* getter);
// Constructor used by unittests.
explicit ResolveProxyMsgHelper(net::ProxyService* proxy_service);
- // content::BrowserMessageFilter implementation
+ // BrowserMessageFilter implementation
virtual bool OnMessageReceived(const IPC::Message& message,
bool* message_was_ok) OVERRIDE;
@@ -81,4 +82,6 @@ class CONTENT_EXPORT ResolveProxyMsgHelper
net::ProxyService* proxy_service_;
};
+} // namespace content
+
#endif // CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_