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

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

Issue 219023010: Mojo: RawSharedBuffer::Mapping -> RawSharedBufferMapping. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win Created 6 years, 8 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/raw_shared_buffer_win.cc ('k') | mojo/system/shared_buffer_dispatcher.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 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 #ifndef MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ 5 #ifndef MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_
6 #define MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ 6 #define MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/system/raw_shared_buffer.h" 9 #include "mojo/system/raw_shared_buffer.h"
10 #include "mojo/system/simple_dispatcher.h" 10 #include "mojo/system/simple_dispatcher.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual void CloseImplNoLock() OVERRIDE; 44 virtual void CloseImplNoLock() OVERRIDE;
45 virtual scoped_refptr<Dispatcher> 45 virtual scoped_refptr<Dispatcher>
46 CreateEquivalentDispatcherAndCloseImplNoLock() OVERRIDE; 46 CreateEquivalentDispatcherAndCloseImplNoLock() OVERRIDE;
47 virtual MojoResult DuplicateBufferHandleImplNoLock( 47 virtual MojoResult DuplicateBufferHandleImplNoLock(
48 const MojoDuplicateBufferHandleOptions* options, 48 const MojoDuplicateBufferHandleOptions* options,
49 scoped_refptr<Dispatcher>* new_dispatcher) OVERRIDE; 49 scoped_refptr<Dispatcher>* new_dispatcher) OVERRIDE;
50 virtual MojoResult MapBufferImplNoLock( 50 virtual MojoResult MapBufferImplNoLock(
51 uint64_t offset, 51 uint64_t offset,
52 uint64_t num_bytes, 52 uint64_t num_bytes,
53 MojoMapBufferFlags flags, 53 MojoMapBufferFlags flags,
54 scoped_ptr<RawSharedBuffer::Mapping>* mapping) OVERRIDE; 54 scoped_ptr<RawSharedBufferMapping>* mapping) OVERRIDE;
55 55
56 // |SimpleDispatcher| methods: 56 // |SimpleDispatcher| methods:
57 virtual MojoWaitFlags SatisfiedFlagsNoLock() const OVERRIDE; 57 virtual MojoWaitFlags SatisfiedFlagsNoLock() const OVERRIDE;
58 virtual MojoWaitFlags SatisfiableFlagsNoLock() const OVERRIDE; 58 virtual MojoWaitFlags SatisfiableFlagsNoLock() const OVERRIDE;
59 59
60 scoped_refptr<RawSharedBuffer> shared_buffer_; 60 scoped_refptr<RawSharedBuffer> shared_buffer_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(SharedBufferDispatcher); 62 DISALLOW_COPY_AND_ASSIGN(SharedBufferDispatcher);
63 }; 63 };
64 64
65 } // namespace system 65 } // namespace system
66 } // namespace mojo 66 } // namespace mojo
67 67
68 #endif // MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ 68 #endif // MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_
OLDNEW
« no previous file with comments | « mojo/system/raw_shared_buffer_win.cc ('k') | mojo/system/shared_buffer_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698