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

Side by Side Diff: mojo/services/files/c/lib/template_util.h

Issue 1388413005: Move //mojo/services/X/public/... to //mojo/services/X/... (part 1). (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 | « mojo/services/files/c/lib/singletons.cc ('k') | mojo/services/files/c/lib/util.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 #ifndef SERVICES_FILES_C_LIB_TEMPLATE_UTIL_H_ 5 #ifndef SERVICES_FILES_C_LIB_TEMPLATE_UTIL_H_
6 #define SERVICES_FILES_C_LIB_TEMPLATE_UTIL_H_ 6 #define SERVICES_FILES_C_LIB_TEMPLATE_UTIL_H_
7 7
8 namespace mojio { 8 namespace mojio {
9 9
10 // TODO(vtl): Stuff copied from mojo/public/cpp/bindings/lib/template_util.h. 10 // TODO(vtl): Stuff copied from mojo/public/cpp/bindings/lib/template_util.h.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 mojo::Callback<void(T1, T2)> Capture(T1* t1, T2* t2) { 70 mojo::Callback<void(T1, T2)> Capture(T1* t1, T2* t2) {
71 return [t1, t2](T1 got_t1, T2 got_t2) { 71 return [t1, t2](T1 got_t1, T2 got_t2) {
72 *t1 = Forward(got_t1); 72 *t1 = Forward(got_t1);
73 *t2 = Forward(got_t2); 73 *t2 = Forward(got_t2);
74 }; 74 };
75 } 75 }
76 76
77 } // namespace mojio 77 } // namespace mojio
78 78
79 #endif // SERVICES_FILES_C_LIB_TEMPLATE_UTIL_H_ 79 #endif // SERVICES_FILES_C_LIB_TEMPLATE_UTIL_H_
OLDNEW
« no previous file with comments | « mojo/services/files/c/lib/singletons.cc ('k') | mojo/services/files/c/lib/util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698