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

Side by Side Diff: mojo/edk/embedder/system_impl_private_entrypoints.cc

Issue 1418043003: Remove mojo::system::Mutex's use of base::internal::LockImpl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | mojo/edk/system/mutex.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/logging.h"
5 #include "mojo/edk/embedder/embedder_internal.h" 6 #include "mojo/edk/embedder/embedder_internal.h"
6 #include "mojo/edk/system/core.h" 7 #include "mojo/edk/system/core.h"
7 #include "mojo/edk/system/dispatcher.h" 8 #include "mojo/edk/system/dispatcher.h"
8 #include "mojo/edk/system/ref_ptr.h" 9 #include "mojo/edk/system/ref_ptr.h"
9 #include "mojo/public/c/system/buffer.h" 10 #include "mojo/public/c/system/buffer.h"
10 #include "mojo/public/c/system/data_pipe.h" 11 #include "mojo/public/c/system/data_pipe.h"
11 #include "mojo/public/c/system/functions.h" 12 #include "mojo/public/c/system/functions.h"
12 #include "mojo/public/c/system/message_pipe.h" 13 #include "mojo/public/c/system/message_pipe.h"
13 #include "mojo/public/platform/native/system_impl_private.h" 14 #include "mojo/public/platform/native/system_impl_private.h"
14 15
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 MakeUserPointer(buffer), flags); 254 MakeUserPointer(buffer), flags);
254 } 255 }
255 256
256 MojoResult MojoSystemImplUnmapBuffer(MojoSystemImpl system, void* buffer) { 257 MojoResult MojoSystemImplUnmapBuffer(MojoSystemImpl system, void* buffer) {
257 mojo::system::Core* core = static_cast<mojo::system::Core*>(system); 258 mojo::system::Core* core = static_cast<mojo::system::Core*>(system);
258 DCHECK(core); 259 DCHECK(core);
259 return core->UnmapBuffer(MakeUserPointer(buffer)); 260 return core->UnmapBuffer(MakeUserPointer(buffer));
260 } 261 }
261 262
262 } // extern "C" 263 } // extern "C"
OLDNEW
« no previous file with comments | « no previous file | mojo/edk/system/mutex.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698