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

Side by Side Diff: content/browser/resolve_proxy_msg_helper.h

Issue 8587009: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_ 5 #ifndef CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_
6 #define CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_ 6 #define CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <string> 10 #include <string>
(...skipping 24 matching lines...) Expand all
35 explicit ResolveProxyMsgHelper(net::URLRequestContextGetter* getter); 35 explicit ResolveProxyMsgHelper(net::URLRequestContextGetter* getter);
36 // Constructor used by unittests. 36 // Constructor used by unittests.
37 explicit ResolveProxyMsgHelper(net::ProxyService* proxy_service); 37 explicit ResolveProxyMsgHelper(net::ProxyService* proxy_service);
38 38
39 // Destruction cancels the current outstanding request, and clears the 39 // Destruction cancels the current outstanding request, and clears the
40 // pending queue. 40 // pending queue.
41 virtual ~ResolveProxyMsgHelper(); 41 virtual ~ResolveProxyMsgHelper();
42 42
43 // BrowserMessageFilter implementation 43 // BrowserMessageFilter implementation
44 virtual bool OnMessageReceived(const IPC::Message& message, 44 virtual bool OnMessageReceived(const IPC::Message& message,
45 bool* message_was_ok); 45 bool* message_was_ok) OVERRIDE;
46 46
47 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg); 47 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg);
48 48
49 private: 49 private:
50 // Callback for the ProxyService (bound to |callback_|). 50 // Callback for the ProxyService (bound to |callback_|).
51 void OnResolveProxyCompleted(int result); 51 void OnResolveProxyCompleted(int result);
52 52
53 // Starts the first pending request. 53 // Starts the first pending request.
54 void StartPendingRequest(); 54 void StartPendingRequest();
55 55
(...skipping 19 matching lines...) Expand all
75 75
76 // FIFO queue of pending requests. The first entry is always the current one. 76 // FIFO queue of pending requests. The first entry is always the current one.
77 typedef std::deque<PendingRequest> PendingRequestList; 77 typedef std::deque<PendingRequest> PendingRequestList;
78 PendingRequestList pending_requests_; 78 PendingRequestList pending_requests_;
79 79
80 scoped_refptr<net::URLRequestContextGetter> context_getter_; 80 scoped_refptr<net::URLRequestContextGetter> context_getter_;
81 net::ProxyService* proxy_service_; 81 net::ProxyService* proxy_service_;
82 }; 82 };
83 83
84 #endif // CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_ 84 #endif // CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/x509_user_cert_resource_handler.h ('k') | content/browser/site_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698