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

Side by Side Diff: net/base/upload_file_element_reader.h

Issue 1108083002: Create blobs from Disk Cache entries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NULL --> nullptr Created 5 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) 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 #ifndef NET_BASE_UPLOAD_FILE_ELEMENT_READER_H_ 5 #ifndef NET_BASE_UPLOAD_FILE_ELEMENT_READER_H_
6 #define NET_BASE_UPLOAD_FILE_ELEMENT_READER_H_ 6 #define NET_BASE_UPLOAD_FILE_ELEMENT_READER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/files/file.h" 9 #include "base/files/file.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/time/time.h" 15 #include "base/time/time.h"
16 #include "net/base/net_export.h"
16 #include "net/base/upload_element_reader.h" 17 #include "net/base/upload_element_reader.h"
17 18
18 namespace base { 19 namespace base {
19 class TaskRunner; 20 class TaskRunner;
20 } 21 }
21 22
22 namespace net { 23 namespace net {
23 24
24 class FileStream; 25 class FileStream;
25 26
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 uint64_t content_length_; 85 uint64_t content_length_;
85 uint64_t bytes_remaining_; 86 uint64_t bytes_remaining_;
86 base::WeakPtrFactory<UploadFileElementReader> weak_ptr_factory_; 87 base::WeakPtrFactory<UploadFileElementReader> weak_ptr_factory_;
87 88
88 DISALLOW_COPY_AND_ASSIGN(UploadFileElementReader); 89 DISALLOW_COPY_AND_ASSIGN(UploadFileElementReader);
89 }; 90 };
90 91
91 } // namespace net 92 } // namespace net
92 93
93 #endif // NET_BASE_UPLOAD_FILE_ELEMENT_READER_H_ 94 #endif // NET_BASE_UPLOAD_FILE_ELEMENT_READER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698