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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/Nullable.h

Issue 2804753005: Rewrite references to "wtf/" to "platform/wtf/" in bindings. (Closed)
Patch Set: Created 3 years, 8 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
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 Nullable_h 5 #ifndef Nullable_h
6 #define Nullable_h 6 #define Nullable_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 #include "wtf/Assertions.h" 9 #include "platform/wtf/Assertions.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 enum class UnionTypeConversionMode { 13 enum class UnionTypeConversionMode {
14 Nullable, 14 Nullable,
15 NotNullable, 15 NotNullable,
16 }; 16 };
17 17
18 template <typename T> 18 template <typename T>
19 class Nullable { 19 class Nullable {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 DEFINE_INLINE_TRACE() { TraceIfNeeded<T>::trace(visitor, m_value); } 71 DEFINE_INLINE_TRACE() { TraceIfNeeded<T>::trace(visitor, m_value); }
72 72
73 private: 73 private:
74 T m_value; 74 T m_value;
75 bool m_isNull; 75 bool m_isNull;
76 }; 76 };
77 77
78 } // namespace blink 78 } // namespace blink
79 79
80 #endif // Nullable_h 80 #endif // Nullable_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698