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

Side by Side Diff: public/platform/WebCredential.h

Issue 1208193003: Remove the obsolete avatarURL method from the credential manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@rename1
Patch Set: Created 5 years, 5 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 | « no previous file | no next file » | 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 WebCredential_h 5 #ifndef WebCredential_h
6 #define WebCredential_h 6 #define WebCredential_h
7 7
8 #include "public/platform/WebCommon.h" 8 #include "public/platform/WebCommon.h"
9 #include "public/platform/WebPrivatePtr.h" 9 #include "public/platform/WebPrivatePtr.h"
10 #include "public/platform/WebString.h" 10 #include "public/platform/WebString.h"
(...skipping 13 matching lines...) Expand all
24 BLINK_PLATFORM_EXPORT void reset(); 24 BLINK_PLATFORM_EXPORT void reset();
25 25
26 BLINK_PLATFORM_EXPORT WebString id() const; 26 BLINK_PLATFORM_EXPORT WebString id() const;
27 BLINK_PLATFORM_EXPORT WebString name() const; 27 BLINK_PLATFORM_EXPORT WebString name() const;
28 BLINK_PLATFORM_EXPORT WebURL iconURL() const; 28 BLINK_PLATFORM_EXPORT WebURL iconURL() const;
29 BLINK_PLATFORM_EXPORT WebString type() const; 29 BLINK_PLATFORM_EXPORT WebString type() const;
30 30
31 BLINK_PLATFORM_EXPORT bool isPasswordCredential() const; 31 BLINK_PLATFORM_EXPORT bool isPasswordCredential() const;
32 BLINK_PLATFORM_EXPORT bool isFederatedCredential() const; 32 BLINK_PLATFORM_EXPORT bool isFederatedCredential() const;
33 33
34 // TODO(mkwst, msramek): Drop this once Chromium is updated. https://crbug.c om/494880 34 // TODO(mkwst): Drop this once Chromium is updated. https://crbug.com/494880
35 BLINK_PLATFORM_EXPORT bool isLocalCredential() const { return isPasswordCred ential(); } 35 BLINK_PLATFORM_EXPORT bool isLocalCredential() const { return isPasswordCred ential(); }
36 BLINK_PLATFORM_EXPORT WebURL avatarURL() const { return iconURL(); }
37 36
38 #if INSIDE_BLINK 37 #if INSIDE_BLINK
39 BLINK_PLATFORM_EXPORT static WebCredential create(PlatformCredential*); 38 BLINK_PLATFORM_EXPORT static WebCredential create(PlatformCredential*);
40 BLINK_PLATFORM_EXPORT WebCredential& operator=(PlatformCredential*); 39 BLINK_PLATFORM_EXPORT WebCredential& operator=(PlatformCredential*);
41 BLINK_PLATFORM_EXPORT PlatformCredential* platformCredential() const { retur n m_platformCredential.get(); } 40 BLINK_PLATFORM_EXPORT PlatformCredential* platformCredential() const { retur n m_platformCredential.get(); }
42 #endif 41 #endif
43 42
44 protected: 43 protected:
45 #if INSIDE_BLINK 44 #if INSIDE_BLINK
46 BLINK_PLATFORM_EXPORT WebCredential(PlatformCredential*); 45 BLINK_PLATFORM_EXPORT WebCredential(PlatformCredential*);
47 #endif 46 #endif
48 47
49 WebPrivatePtr<PlatformCredential> m_platformCredential; 48 WebPrivatePtr<PlatformCredential> m_platformCredential;
50 }; 49 };
51 50
52 } // namespace blink 51 } // namespace blink
53 52
54 #endif // WebCredential_h 53 #endif // WebCredential_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698