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

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

Issue 457683002: Credential Manager: Add platform-exposed Credential objects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Feedback Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PlatformCredential_h
6 #define PlatformCredential_h
7
8 #include "platform/heap/Handle.h"
9 #include "wtf/text/WTFString.h"
10
11 namespace blink {
12
13 class WebPlatformCredential;
14
15 class PLATFORM_EXPORT PlatformCredential : public GarbageCollectedFinalized<Plat formCredential> {
16 WTF_MAKE_NONCOPYABLE(PlatformCredential);
17 public:
18 static PlatformCredential* create(const String& id, const String& name, cons t String& avatarURL);
19 virtual ~PlatformCredential();
20
21 const String& id() const { return m_id; }
22 const String& name() const { return m_name; }
23 const String& avatarURL() const { return m_avatarURL; }
24
25 virtual void trace(Visitor*) { }
26
27 protected:
28 PlatformCredential(const String& id, const String& name, const String& avata rURL);
29
30 private:
31 String m_id;
32 String m_name;
33 String m_avatarURL;
34 };
35
36 } // namespace blink
37
38 #endif // PlatformCredential_h
OLDNEW
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | Source/platform/credentialmanager/PlatformCredential.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698