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

Side by Side Diff: net/url_request/url_request_file_dir_job.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/url_request/https_prober.h ('k') | net/url_request/url_request_filter.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) 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_FILE_DIR_JOB_H__ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_FILE_DIR_JOB_H__
6 #define NET_URL_REQUEST_URL_REQUEST_FILE_DIR_JOB_H__ 6 #define NET_URL_REQUEST_URL_REQUEST_FILE_DIR_JOB_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Indicates whether we have written the HTML header 56 // Indicates whether we have written the HTML header
57 bool wrote_header_; 57 bool wrote_header_;
58 58
59 // To simulate Async IO, we hold onto the Reader's buffer while 59 // To simulate Async IO, we hold onto the Reader's buffer while
60 // we wait for IO to complete. When done, we fill the buffer 60 // we wait for IO to complete. When done, we fill the buffer
61 // manually. 61 // manually.
62 bool read_pending_; 62 bool read_pending_;
63 scoped_refptr<net::IOBuffer> read_buffer_; 63 scoped_refptr<net::IOBuffer> read_buffer_;
64 int read_buffer_length_; 64 int read_buffer_length_;
65 65
66 DISALLOW_EVIL_CONSTRUCTORS(URLRequestFileDirJob); 66 DISALLOW_COPY_AND_ASSIGN(URLRequestFileDirJob);
67 }; 67 };
68 68
69 #endif // NET_URL_REQUEST_URL_REQUEST_FILE_DIR_JOB_H__ 69 #endif // NET_URL_REQUEST_URL_REQUEST_FILE_DIR_JOB_H__
OLDNEW
« no previous file with comments | « net/url_request/https_prober.h ('k') | net/url_request/url_request_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698