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

Side by Side Diff: third_party/mojo/src/mojo/public/cpp/bindings/lib/bindings_serialization.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/public/cpp/bindings/lib/bindings_serialization.h" 5 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/bindings_serializati on.h"
6 6
7 #include "mojo/public/cpp/environment/logging.h" 7 #include "third_party/mojo/src/mojo/public/cpp/environment/logging.h"
8 8
9 namespace mojo { 9 namespace mojo {
10 namespace internal { 10 namespace internal {
11 11
12 namespace { 12 namespace {
13 13
14 const size_t kAlignment = 8; 14 const size_t kAlignment = 8;
15 15
16 template <typename T> 16 template <typename T>
17 T AlignImpl(T t) { 17 T AlignImpl(T t) {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void DecodeHandle(Interface_Data* data, std::vector<Handle>* handles) { 81 void DecodeHandle(Interface_Data* data, std::vector<Handle>* handles) {
82 DecodeHandle(&data->handle, handles); 82 DecodeHandle(&data->handle, handles);
83 } 83 }
84 84
85 void DecodeHandle(MojoHandle* handle, std::vector<Handle>* handles) { 85 void DecodeHandle(MojoHandle* handle, std::vector<Handle>* handles) {
86 DecodeHandle(reinterpret_cast<Handle*>(handle), handles); 86 DecodeHandle(reinterpret_cast<Handle*>(handle), handles);
87 } 87 }
88 88
89 } // namespace internal 89 } // namespace internal
90 } // namespace mojo 90 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698