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

Side by Side Diff: mojo/system/shared_buffer_dispatcher.cc

Issue 339193005: Mojo: Rename (Mojo)WaitFlagsState -> (Mojo)HandleSignalsState. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 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 | Annotate | Revision Log
« no previous file with comments | « mojo/system/shared_buffer_dispatcher.h ('k') | mojo/system/simple_dispatcher.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 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/system/shared_buffer_dispatcher.h" 5 #include "mojo/system/shared_buffer_dispatcher.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 serialization->num_bytes = shared_buffer_->num_bytes(); 256 serialization->num_bytes = shared_buffer_->num_bytes();
257 serialization->platform_handle_index = platform_handles->size(); 257 serialization->platform_handle_index = platform_handles->size();
258 platform_handles->push_back(platform_handle.release()); 258 platform_handles->push_back(platform_handle.release());
259 *actual_size = sizeof(SerializedSharedBufferDispatcher); 259 *actual_size = sizeof(SerializedSharedBufferDispatcher);
260 260
261 shared_buffer_ = NULL; 261 shared_buffer_ = NULL;
262 262
263 return true; 263 return true;
264 } 264 }
265 265
266 WaitFlagsState SharedBufferDispatcher::GetWaitFlagsStateNoLock() const { 266 HandleSignalsState SharedBufferDispatcher::GetHandleSignalsStateNoLock() const {
267 // TODO(vtl): Add transferrable flag. 267 // TODO(vtl): Add transferrable flag.
268 return WaitFlagsState(); 268 return HandleSignalsState();
269 } 269 }
270 270
271 } // namespace system 271 } // namespace system
272 } // namespace mojo 272 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/system/shared_buffer_dispatcher.h ('k') | mojo/system/simple_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698