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

Side by Side Diff: mojo/services/network/public/cpp/udp_socket_wrapper.cc

Issue 830593003: Update mojo sdk to rev 9fbbc4f0fef1187312316c0ed992342474e139f1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cherry-pick mojo 9d3b8dd17f12d20035a14737fdc38dd926890ff8 Created 5 years, 11 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "mojo/services/network/public/cpp/udp_socket_wrapper.h" 5 #include "network/public/cpp/udp_socket_wrapper.h"
6 6
7 #include <assert.h> 7 #include <assert.h>
8 8
9 #include "mojo/public/cpp/environment/logging.h" 9 #include "mojo/public/cpp/environment/logging.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 namespace { 12 namespace {
13 13
14 const uint32_t kDefaultReceiveQueueSlots = 32; 14 const uint32_t kDefaultReceiveQueueSlots = 32;
15 15
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 request->dest_addr.Pass(), request->data.Pass(), 198 request->dest_addr.Pass(), request->data.Pass(),
199 ErrorCallback(static_cast<ErrorCallback::Runnable*>( 199 ErrorCallback(static_cast<ErrorCallback::Runnable*>(
200 new SendCallbackHandler(this, request->callback)))); 200 new SendCallbackHandler(this, request->callback))));
201 201
202 delete request; 202 delete request;
203 203
204 return true; 204 return true;
205 } 205 }
206 206
207 } // namespace mojo 207 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/network/public/cpp/udp_socket_wrapper.h ('k') | mojo/services/network/public/cpp/web_socket_read_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698