OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 | 7 |
8 #include <string> | |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "base/file_path.h" | 10 #include "base/file_path.h" |
12 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
13 | 12 |
14 namespace net { | 13 namespace net { |
15 | 14 |
16 class UploadData : public base::RefCounted<UploadData> { | 15 class UploadData : public base::RefCounted<UploadData> { |
17 public: | 16 public: |
18 UploadData() : identifier_(0) {} | 17 UploadData() : identifier_(0) {} |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 int64 identifier() const { return identifier_; } | 102 int64 identifier() const { return identifier_; } |
104 | 103 |
105 private: | 104 private: |
106 std::vector<Element> elements_; | 105 std::vector<Element> elements_; |
107 int64 identifier_; | 106 int64 identifier_; |
108 }; | 107 }; |
109 | 108 |
110 } // namespace net | 109 } // namespace net |
111 | 110 |
112 #endif // NET_BASE_UPLOAD_DATA_H_ | 111 #endif // NET_BASE_UPLOAD_DATA_H_ |
OLD | NEW |