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

Side by Side Diff: content/common/net_adapters.h

Issue 2906543002: Add support for reading blobs when using the network service. (Closed)
Patch Set: fix threading issue with weakptr Created 3 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
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/net_adapters.cc » ('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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 CONTENT_NETWORK_NET_ADAPTERS_ 5 #ifndef CONTENT_COMMON_NET_ADAPTERS_
6 #define CONTENT_NETWORK_NET_ADAPTERS_ 6 #define CONTENT_COMMON_NET_ADAPTERS_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "mojo/public/cpp/system/data_pipe.h" 11 #include "mojo/public/cpp/system/data_pipe.h"
12 #include "net/base/io_buffer.h" 12 #include "net/base/io_buffer.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 // These adapters are used to transfer data between a Mojo pipe and the net 16 // These adapters are used to transfer data between a Mojo pipe and the net
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 public: 61 public:
62 explicit NetToMojoIOBuffer(NetToMojoPendingBuffer* pending_buffer); 62 explicit NetToMojoIOBuffer(NetToMojoPendingBuffer* pending_buffer);
63 63
64 private: 64 private:
65 ~NetToMojoIOBuffer() override; 65 ~NetToMojoIOBuffer() override;
66 scoped_refptr<NetToMojoPendingBuffer> pending_buffer_; 66 scoped_refptr<NetToMojoPendingBuffer> pending_buffer_;
67 }; 67 };
68 68
69 } // namespace content 69 } // namespace content
70 70
71 #endif // CONTENT_NETWORK_NET_ADAPTERS_ 71 #endif // CONTENT_COMMON_NET_ADAPTERS_
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/net_adapters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698