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

Side by Side Diff: Source/platform/credentialmanager/PlatformCredential.h

Issue 524773004: Clean up forward declarations in Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 years, 3 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
« no previous file with comments | « Source/platform/clipboard/ClipboardUtilities.h ('k') | Source/platform/fonts/Font.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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 "wtf/text/WTFString.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class WebPlatformCredential;
15
16 class PLATFORM_EXPORT PlatformCredential : public GarbageCollectedFinalized<Plat formCredential> { 14 class PLATFORM_EXPORT PlatformCredential : public GarbageCollectedFinalized<Plat formCredential> {
17 WTF_MAKE_NONCOPYABLE(PlatformCredential); 15 WTF_MAKE_NONCOPYABLE(PlatformCredential);
18 public: 16 public:
19 static PlatformCredential* create(const String& id, const String& name, cons t KURL& avatarURL); 17 static PlatformCredential* create(const String& id, const String& name, cons t KURL& avatarURL);
20 virtual ~PlatformCredential(); 18 virtual ~PlatformCredential();
21 19
22 const String& id() const { return m_id; } 20 const String& id() const { return m_id; }
23 const String& name() const { return m_name; } 21 const String& name() const { return m_name; }
24 const KURL& avatarURL() const { return m_avatarURL; } 22 const KURL& avatarURL() const { return m_avatarURL; }
25 23
26 virtual void trace(Visitor*) { } 24 virtual void trace(Visitor*) { }
27 25
28 protected: 26 protected:
29 PlatformCredential(const String& id, const String& name, const KURL& avatarU RL); 27 PlatformCredential(const String& id, const String& name, const KURL& avatarU RL);
30 28
31 private: 29 private:
32 String m_id; 30 String m_id;
33 String m_name; 31 String m_name;
34 KURL m_avatarURL; 32 KURL m_avatarURL;
35 }; 33 };
36 34
37 } // namespace blink 35 } // namespace blink
38 36
39 #endif // PlatformCredential_h 37 #endif // PlatformCredential_h
OLDNEW
« no previous file with comments | « Source/platform/clipboard/ClipboardUtilities.h ('k') | Source/platform/fonts/Font.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698