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

Side by Side Diff: third_party/mojo/src/mojo/public/cpp/bindings/lib/template_util.h

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 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_TEMPLATE_UTIL_H_ 5 #ifndef THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_TEMPLATE_UTIL_H_
6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_TEMPLATE_UTIL_H_ 6 #define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_TEMPLATE_UTIL_H_
7 7
8 namespace mojo { 8 namespace mojo {
9 namespace internal { 9 namespace internal {
10 10
11 template <class T, T v> 11 template <class T, T v>
12 struct IntegralConstant { 12 struct IntegralConstant {
13 static const T value = v; 13 static const T value = v;
14 }; 14 };
15 15
16 template <class T, T v> 16 template <class T, T v>
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 }; 120 };
121 121
122 template <typename T, typename F> 122 template <typename T, typename F>
123 struct Conditional<false, T, F> { 123 struct Conditional<false, T, F> {
124 typedef F type; 124 typedef F type;
125 }; 125 };
126 126
127 } // namespace internal 127 } // namespace internal
128 } // namespace mojo 128 } // namespace mojo
129 129
130 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_TEMPLATE_UTIL_H_ 130 #endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_TEMPLATE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698