| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 Maybe_h | 5 #ifndef Maybe_h |
| 6 #define Maybe_h | 6 #define Maybe_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/inspector_protocol/String16.h" |
| 10 |
| 11 #include "wtf/Assertions.h" |
| 12 #include <memory> |
| 9 | 13 |
| 10 namespace blink { | 14 namespace blink { |
| 11 namespace protocol { | 15 namespace protocol { |
| 12 | 16 |
| 13 class String16; | 17 class String16; |
| 14 | 18 |
| 15 template<typename T> | 19 template<typename T> |
| 16 class Maybe { | 20 class Maybe { |
| 17 public: | 21 public: |
| 18 Maybe() { } | 22 Maybe() { } |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 public: | 83 public: |
| 80 Maybe() { } | 84 Maybe() { } |
| 81 Maybe(const String16& value) : MaybeBase(value) { } | 85 Maybe(const String16& value) : MaybeBase(value) { } |
| 82 using MaybeBase::operator=; | 86 using MaybeBase::operator=; |
| 83 }; | 87 }; |
| 84 | 88 |
| 85 } // namespace platform | 89 } // namespace platform |
| 86 } // namespace blink | 90 } // namespace blink |
| 87 | 91 |
| 88 #endif // !defined(Maybe_h) | 92 #endif // !defined(Maybe_h) |
| OLD | NEW |