OLD | NEW |
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 PlatformCredential_h | 5 #ifndef PlatformCredential_h |
6 #define PlatformCredential_h | 6 #define PlatformCredential_h |
7 | 7 |
8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
9 #include "platform/weborigin/KURL.h" | 9 #include "platform/weborigin/KURL.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 PLATFORM_EXPORT PlatformCredential | 14 class PLATFORM_EXPORT PlatformCredential |
15 : public GarbageCollectedFinalized<PlatformCredential> { | 15 : public GarbageCollectedFinalized<PlatformCredential> { |
16 WTF_MAKE_NONCOPYABLE(PlatformCredential); | 16 WTF_MAKE_NONCOPYABLE(PlatformCredential); |
17 | 17 |
18 public: | 18 public: |
19 static PlatformCredential* Create(const String& id, | 19 static PlatformCredential* Create(const String& id, |
20 const String& name, | 20 const String& name, |
(...skipping 20 matching lines...) Expand all Loading... |
41 private: | 41 private: |
42 String id_; | 42 String id_; |
43 String name_; | 43 String name_; |
44 KURL icon_url_; | 44 KURL icon_url_; |
45 String type_; | 45 String type_; |
46 }; | 46 }; |
47 | 47 |
48 } // namespace blink | 48 } // namespace blink |
49 | 49 |
50 #endif // PlatformCredential_h | 50 #endif // PlatformCredential_h |
OLD | NEW |