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

Side by Side Diff: net/url_request/url_request_job_manager.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
OLDNEW
1 // Copyright (c) 2006-2008 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_URL_REQUEST_JOB_MANAGER_H__ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_MANAGER_H__
6 #define NET_URL_REQUEST_URL_REQUEST_JOB_MANAGER_H__ 6 #define NET_URL_REQUEST_URL_REQUEST_JOB_MANAGER_H__
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/lock.h" 11 #include "base/lock.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // always returned true. The above code that's turned off is the correct 90 // always returned true. The above code that's turned off is the correct
91 // code, but causes the tree to turn red because some caller isn't 91 // code, but causes the tree to turn red because some caller isn't
92 // respecting our thread requirements. We're turning off the check for now; 92 // respecting our thread requirements. We're turning off the check for now;
93 // bug http://b/issue?id=1338969 has been filed to fix things and turn the 93 // bug http://b/issue?id=1338969 has been filed to fix things and turn the
94 // check back on. 94 // check back on.
95 return true; 95 return true;
96 #endif 96 #endif
97 } 97 }
98 #endif 98 #endif
99 99
100 DISALLOW_EVIL_CONSTRUCTORS(URLRequestJobManager); 100 DISALLOW_COPY_AND_ASSIGN(URLRequestJobManager);
101 }; 101 };
102 102
103 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_MANAGER_H__ 103 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_MANAGER_H__
OLDNEW
« no previous file with comments | « net/url_request/url_request_filter.h ('k') | third_party/libjingle/overrides/talk/base/logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698