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

Side by Side Diff: content/public/common/resource_request_body.h

Issue 2038813003: Making ResourceRequestBody part of //content's public API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698