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

Unified Diff: public/platform/WebCredential.h

Issue 1162443006: Credential Management: Rename 'LocalCredential' to 'PasswordCredential' (1/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@add-type
Patch Set: Test. Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/exported/WebPasswordCredential.cpp ('k') | public/platform/WebLocalCredential.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebCredential.h
diff --git a/public/platform/WebCredential.h b/public/platform/WebCredential.h
index 46648b9f4070ca8cbee6a259ed7e8e5861044bfa..f40a3c159226da1d00bcfa0e8d69420d2f6b4884 100644
--- a/public/platform/WebCredential.h
+++ b/public/platform/WebCredential.h
@@ -28,9 +28,12 @@ public:
BLINK_PLATFORM_EXPORT WebURL avatarURL() const;
BLINK_PLATFORM_EXPORT WebString type() const;
- BLINK_PLATFORM_EXPORT bool isLocalCredential() const;
+ BLINK_PLATFORM_EXPORT bool isPasswordCredential() const;
BLINK_PLATFORM_EXPORT bool isFederatedCredential() const;
+ // TODO(mkwst): Drop this once Chromium is updated. https://crbug.com/494880
+ BLINK_PLATFORM_EXPORT bool isLocalCredential() const { return isPasswordCredential(); }
+
#if INSIDE_BLINK
BLINK_PLATFORM_EXPORT static WebCredential create(PlatformCredential*);
BLINK_PLATFORM_EXPORT WebCredential& operator=(PlatformCredential*);
« no previous file with comments | « Source/platform/exported/WebPasswordCredential.cpp ('k') | public/platform/WebLocalCredential.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698