OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_PUBLIC_COMMON_RESOURCE_REQUEST_BODY_H_ | |
6 #define CONTENT_PUBLIC_COMMON_RESOURCE_REQUEST_BODY_H_ | |
7 | |
8 #include <stdint.h> | |
9 | |
10 #include <vector> | |
11 | |
12 #include "base/macros.h" | |
13 #include "base/memory/ref_counted.h" | |
14 #include "content/common/content_export.h" | |
15 | |
16 namespace content { | |
17 | |
18 // ResourceRequestBody represents body (i.e. upload data) of a HTTP request. | |
Charlie Reis
2016/06/07 22:21:01
nit: the body
Maybe also mention that this is inte
Łukasz Anforowicz
2016/06/08 16:51:56
Done? You're right - we should explicitly documen
Charlie Reis
2016/06/08 22:43:19
Looks great-- those are useful to know for underst
| |
19 class CONTENT_EXPORT ResourceRequestBody | |
20 : public base::RefCountedThreadSafe<ResourceRequestBody> { | |
21 protected: | |
22 ResourceRequestBody(); | |
23 virtual ~ResourceRequestBody(); | |
24 | |
25 private: | |
26 friend class base::RefCountedThreadSafe<ResourceRequestBody>; | |
27 DISALLOW_COPY_AND_ASSIGN(ResourceRequestBody); | |
28 }; | |
29 | |
30 } // namespace content | |
31 | |
32 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_REQUEST_BODY_H_ | |
OLD | NEW |