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

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

Issue 18054009: Use a direct include of time headers in net/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
« no previous file with comments | « net/base/upload_data_stream_unittest.cc ('k') | net/base/upload_file_element_reader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ELEMENT_H_ 5 #ifndef NET_BASE_UPLOAD_ELEMENT_H_
6 #define NET_BASE_UPLOAD_ELEMENT_H_ 6 #define NET_BASE_UPLOAD_ELEMENT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/time.h" 12 #include "base/time/time.h"
13 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 // A class representing an element contained by UploadData. 17 // A class representing an element contained by UploadData.
18 class NET_EXPORT UploadElement { 18 class NET_EXPORT UploadElement {
19 public: 19 public:
20 enum Type { 20 enum Type {
21 TYPE_BYTES, 21 TYPE_BYTES,
22 TYPE_FILE, 22 TYPE_FILE,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 inline bool operator!=(const UploadElement& a, 102 inline bool operator!=(const UploadElement& a,
103 const UploadElement& b) { 103 const UploadElement& b) {
104 return !(a == b); 104 return !(a == b);
105 } 105 }
106 #endif // defined(UNIT_TEST) 106 #endif // defined(UNIT_TEST)
107 107
108 } // namespace net 108 } // namespace net
109 109
110 #endif // NET_BASE_UPLOAD_ELEMENT_H_ 110 #endif // NET_BASE_UPLOAD_ELEMENT_H_
OLDNEW
« no previous file with comments | « net/base/upload_data_stream_unittest.cc ('k') | net/base/upload_file_element_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698