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

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

Issue 1435063002: Eliminate third_party/mojo/src from all targets' include paths (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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/edk/system/shared_buffer_dispatcher.h" 5 #include "mojo/edk/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"
11 #include "mojo/edk/embedder/embedder_internal.h" 11 #include "mojo/edk/embedder/embedder_internal.h"
12 #include "mojo/edk/embedder/platform_support.h" 12 #include "mojo/edk/embedder/platform_support.h"
13 #include "mojo/edk/system/configuration.h" 13 #include "mojo/edk/system/configuration.h"
14 #include "mojo/edk/system/options_validation.h" 14 #include "mojo/edk/system/options_validation.h"
15 #include "mojo/public/c/system/macros.h" 15 #include "third_party/mojo/src/mojo/public/c/system/macros.h"
16 16
17 namespace mojo { 17 namespace mojo {
18 namespace edk { 18 namespace edk {
19 19
20 namespace { 20 namespace {
21 21
22 struct MOJO_ALIGNAS(8) SerializedSharedBufferDispatcher { 22 struct MOJO_ALIGNAS(8) SerializedSharedBufferDispatcher {
23 size_t num_bytes; 23 size_t num_bytes;
24 size_t platform_handle_index; 24 size_t platform_handle_index;
25 }; 25 };
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 *actual_size = sizeof(SerializedSharedBufferDispatcher); 259 *actual_size = sizeof(SerializedSharedBufferDispatcher);
260 260
261 shared_buffer_ = nullptr; 261 shared_buffer_ = nullptr;
262 262
263 return true; 263 return true;
264 } 264 }
265 265
266 266
267 } // namespace edk 267 } // namespace edk
268 } // namespace mojo 268 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/shared_buffer_dispatcher.h ('k') | mojo/edk/system/shared_buffer_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698