| 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 RelatedApplication_h | 5 #ifndef RelatedApplication_h |
| 6 #define RelatedApplication_h | 6 #define RelatedApplication_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "platform/heap/GarbageCollected.h" | 9 #include "platform/heap/GarbageCollected.h" |
| 10 #include "wtf/text/WTFString.h" | 10 #include "platform/wtf/text/WTFString.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class RelatedApplication final | 14 class RelatedApplication final |
| 15 : public GarbageCollectedFinalized<RelatedApplication>, | 15 : public GarbageCollectedFinalized<RelatedApplication>, |
| 16 public ScriptWrappable { | 16 public ScriptWrappable { |
| 17 DEFINE_WRAPPERTYPEINFO(); | 17 DEFINE_WRAPPERTYPEINFO(); |
| 18 | 18 |
| 19 public: | 19 public: |
| 20 static RelatedApplication* Create(const String& platform, | 20 static RelatedApplication* Create(const String& platform, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 38 : platform_(platform), url_(url), id_(id) {} | 38 : platform_(platform), url_(url), id_(id) {} |
| 39 | 39 |
| 40 const String platform_; | 40 const String platform_; |
| 41 const String url_; | 41 const String url_; |
| 42 const String id_; | 42 const String id_; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace blink | 45 } // namespace blink |
| 46 | 46 |
| 47 #endif // RelatedApplication_h | 47 #endif // RelatedApplication_h |
| OLD | NEW |