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

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

Issue 20378: Reduce the amount of included header files. Vast change like in "Oh God! This... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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) 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> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.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() {} 17 UploadData() {}
19 18
20 enum Type { 19 enum Type {
21 TYPE_BYTES, 20 TYPE_BYTES,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void set_elements(const std::vector<Element>& elements) { 90 void set_elements(const std::vector<Element>& elements) {
92 elements_ = elements; 91 elements_ = elements;
93 } 92 }
94 93
95 private: 94 private:
96 std::vector<Element> elements_; 95 std::vector<Element> elements_;
97 }; 96 };
98 97
99 } // namespace net 98 } // namespace net
100 99
101 #endif // NET_BASE_UPLOAD_DATA_H__ 100 #endif // NET_BASE_UPLOAD_DATA_H_
102
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698