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

Side by Side Diff: webkit/blob/blob_url_request_job.cc

Issue 14307012: webkit: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "webkit/blob/blob_url_request_job.h" 5 #include "webkit/blob/blob_url_request_job.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 } // namespace 62 } // namespace
63 63
64 BlobURLRequestJob::BlobURLRequestJob( 64 BlobURLRequestJob::BlobURLRequestJob(
65 net::URLRequest* request, 65 net::URLRequest* request,
66 net::NetworkDelegate* network_delegate, 66 net::NetworkDelegate* network_delegate,
67 BlobData* blob_data, 67 BlobData* blob_data,
68 fileapi::FileSystemContext* file_system_context, 68 fileapi::FileSystemContext* file_system_context,
69 base::MessageLoopProxy* file_thread_proxy) 69 base::MessageLoopProxy* file_thread_proxy)
70 : net::URLRequestJob(request, network_delegate), 70 : net::URLRequestJob(request, network_delegate),
71 ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)), 71 weak_factory_(this),
72 blob_data_(blob_data), 72 blob_data_(blob_data),
73 file_system_context_(file_system_context), 73 file_system_context_(file_system_context),
74 file_thread_proxy_(file_thread_proxy), 74 file_thread_proxy_(file_thread_proxy),
75 total_size_(0), 75 total_size_(0),
76 remaining_bytes_(0), 76 remaining_bytes_(0),
77 pending_get_file_info_count_(0), 77 pending_get_file_info_count_(0),
78 current_item_index_(0), 78 current_item_index_(0),
79 current_item_offset_(0), 79 current_item_offset_(0),
80 error_(false), 80 error_(false),
81 headers_set_(false), 81 headers_set_(false),
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 item.expected_modification_time()).release(); 598 item.expected_modification_time()).release();
599 break; 599 break;
600 default: 600 default:
601 NOTREACHED(); 601 NOTREACHED();
602 } 602 }
603 DCHECK(reader); 603 DCHECK(reader);
604 index_to_reader_[index] = reader; 604 index_to_reader_[index] = reader;
605 } 605 }
606 606
607 } // namespace webkit_blob 607 } // namespace webkit_blob
OLDNEW
« no previous file with comments | « webkit/appcache/web_application_cache_host_impl.cc ('k') | webkit/blob/local_file_stream_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698