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

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

Issue 2657005: Get rid of DISALLOW_EVIL_CONSTRUCTORS macro usage in our code base. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: added the macro back Created 10 years, 6 months 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
« no previous file with comments | « net/tools/fetch/http_session.h ('k') | net/url_request/url_request_file_dir_job.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) 2009 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_BASE_HTTPS_PROBER_H_ 5 #ifndef NET_BASE_HTTPS_PROBER_H_
6 #define NET_BASE_HTTPS_PROBER_H_ 6 #define NET_BASE_HTTPS_PROBER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 private: 60 private:
61 void Success(URLRequest* request); 61 void Success(URLRequest* request);
62 void Failure(URLRequest* request); 62 void Failure(URLRequest* request);
63 void DoCallback(URLRequest* request, bool result); 63 void DoCallback(URLRequest* request, bool result);
64 64
65 std::map<std::string, HTTPSProberDelegate*> inflight_probes_; 65 std::map<std::string, HTTPSProberDelegate*> inflight_probes_;
66 std::set<std::string> probed_; 66 std::set<std::string> probed_;
67 67
68 friend struct DefaultSingletonTraits<HTTPSProber>; 68 friend struct DefaultSingletonTraits<HTTPSProber>;
69 DISALLOW_EVIL_CONSTRUCTORS(HTTPSProber); 69 DISALLOW_COPY_AND_ASSIGN(HTTPSProber);
70 }; 70 };
71 71
72 } // namespace net 72 } // namespace net
73 #endif 73 #endif
OLDNEW
« no previous file with comments | « net/tools/fetch/http_session.h ('k') | net/url_request/url_request_file_dir_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698