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

Side by Side Diff: net/url_request/https_prober.h

Issue 5270010: Revert 67662 - FBTF: Remove unneeded headers from base/ (part 10)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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
« no previous file with comments | « net/socket_stream/socket_stream.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 NET_URL_REQUEST_HTTPS_PROBER_H_ 5 #ifndef NET_BASE_HTTPS_PROBER_H_
6 #define NET_URL_REQUEST_HTTPS_PROBER_H_ 6 #define NET_BASE_HTTPS_PROBER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 12
13 #include "base/singleton.h" 13 #include "base/singleton.h"
14 #include "base/task.h"
14 #include "net/url_request/url_request.h" 15 #include "net/url_request/url_request.h"
15 16
16 class URLRequestContext; 17 class URLRequestContext;
17 18
18 namespace net { 19 namespace net {
19 20
20 // This should be scoped inside HTTPSProber, but VC cannot compile 21 // This should be scoped inside HTTPSProber, but VC cannot compile
21 // HTTPProber::Delegate when HTTPSProber also inherits from 22 // HTTPProber::Delegate when HTTPSProber also inherits from
22 // URLRequest::Delegate. 23 // URLRequest::Delegate.
23 class HTTPSProberDelegate { 24 class HTTPSProberDelegate {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 void DoCallback(URLRequest* request, bool result); 67 void DoCallback(URLRequest* request, bool result);
67 68
68 std::map<std::string, HTTPSProberDelegate*> inflight_probes_; 69 std::map<std::string, HTTPSProberDelegate*> inflight_probes_;
69 std::set<std::string> probed_; 70 std::set<std::string> probed_;
70 71
71 friend struct DefaultSingletonTraits<HTTPSProber>; 72 friend struct DefaultSingletonTraits<HTTPSProber>;
72 DISALLOW_COPY_AND_ASSIGN(HTTPSProber); 73 DISALLOW_COPY_AND_ASSIGN(HTTPSProber);
73 }; 74 };
74 75
75 } // namespace net 76 } // namespace net
76 #endif // NET_URL_REQUEST_HTTPS_PROBER_H_ 77 #endif
OLDNEW
« no previous file with comments | « net/socket_stream/socket_stream.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698