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

Side by Side Diff: sky/engine/bindings/core/v8/Nullable.h

Issue 736373003: Fix sky include guards to match Chromium style (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Reran script after fixing missing break Created 6 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 Nullable_h 5 #ifndef SKY_ENGINE_BINDINGS_CORE_V8_NULLABLE_H_
6 #define Nullable_h 6 #define SKY_ENGINE_BINDINGS_CORE_V8_NULLABLE_H_
7 7
8 #include "sky/engine/platform/heap/Handle.h" 8 #include "sky/engine/platform/heap/Handle.h"
9 #include "sky/engine/wtf/Assertions.h" 9 #include "sky/engine/wtf/Assertions.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 template <typename T> 13 template <typename T>
14 class Nullable { 14 class Nullable {
15 DISALLOW_ALLOCATION(); 15 DISALLOW_ALLOCATION();
16 public: 16 public:
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 return (m_isNull && other.m_isNull) || (!m_isNull && !other.m_isNull && m_value == other.m_value); 51 return (m_isNull && other.m_isNull) || (!m_isNull && !other.m_isNull && m_value == other.m_value);
52 } 52 }
53 53
54 private: 54 private:
55 T m_value; 55 T m_value;
56 bool m_isNull; 56 bool m_isNull;
57 }; 57 };
58 58
59 } // namespace blink 59 } // namespace blink
60 60
61 #endif // Nullable_h 61 #endif // SKY_ENGINE_BINDINGS_CORE_V8_NULLABLE_H_
OLDNEW
« no previous file with comments | « sky/engine/bindings/core/v8/ExceptionStatePlaceholder.h ('k') | sky/engine/bindings/core/v8/RetainedDOMInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698