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

Side by Side Diff: mojo/public/cpp/bindings/lib/array_internal.cc

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (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 "third_party/mojo/src/mojo/public/cpp/bindings/lib/array_internal.h" 5 #include "mojo/public/cpp/bindings/lib/array_internal.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 namespace mojo { 9 namespace mojo {
10 namespace internal { 10 namespace internal {
11 11
12 std::string MakeMessageWithArrayIndex(const char* message, 12 std::string MakeMessageWithArrayIndex(const char* message,
13 size_t size, 13 size_t size,
14 size_t index) { 14 size_t index) {
15 std::ostringstream stream; 15 std::ostringstream stream;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 void ArraySerializationHelper<Handle, true>::DecodePointersAndHandles( 65 void ArraySerializationHelper<Handle, true>::DecodePointersAndHandles(
66 const ArrayHeader* header, 66 const ArrayHeader* header,
67 ElementType* elements, 67 ElementType* elements,
68 std::vector<Handle>* handles) { 68 std::vector<Handle>* handles) {
69 for (uint32_t i = 0; i < header->num_elements; ++i) 69 for (uint32_t i = 0; i < header->num_elements; ++i)
70 DecodeHandle(&elements[i], handles); 70 DecodeHandle(&elements[i], handles);
71 } 71 }
72 72
73 } // namespace internal 73 } // namespace internal
74 } // namespace mojo 74 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/lib/array_internal.h ('k') | mojo/public/cpp/bindings/lib/array_serialization.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698