OLD | NEW |
1 // Copyright (c) 2010 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_UPLOAD_DATA_H_ | 5 #ifndef NET_BASE_UPLOAD_DATA_H_ |
6 #define NET_BASE_UPLOAD_DATA_H_ | 6 #define NET_BASE_UPLOAD_DATA_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/logging.h" | |
15 #include "base/ref_counted.h" | 14 #include "base/ref_counted.h" |
16 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
17 #include "net/base/file_stream.h" | 16 #include "net/base/file_stream.h" |
18 #include "base/time.h" | 17 #include "base/time.h" |
19 | 18 |
20 namespace net { | 19 namespace net { |
21 | 20 |
22 class UploadData : public base::RefCounted<UploadData> { | 21 class UploadData : public base::RefCounted<UploadData> { |
23 public: | 22 public: |
24 UploadData() : identifier_(0) {} | 23 UploadData() : identifier_(0) {} |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 168 |
170 ~UploadData() {} | 169 ~UploadData() {} |
171 | 170 |
172 std::vector<Element> elements_; | 171 std::vector<Element> elements_; |
173 int64 identifier_; | 172 int64 identifier_; |
174 }; | 173 }; |
175 | 174 |
176 } // namespace net | 175 } // namespace net |
177 | 176 |
178 #endif // NET_BASE_UPLOAD_DATA_H_ | 177 #endif // NET_BASE_UPLOAD_DATA_H_ |
OLD | NEW |