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

Unified Diff: Source/modules/credentialmanager/Credential.cpp

Issue 1321683009: Remove unused 'Credential::create' methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/credentialmanager/Credential.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/credentialmanager/Credential.cpp
diff --git a/Source/modules/credentialmanager/Credential.cpp b/Source/modules/credentialmanager/Credential.cpp
index b865e122ebe1d0864ad55cd43d53a5d21c6aa43e..48414333671156aa66e920cb7d9d68d83d29b198 100644
--- a/Source/modules/credentialmanager/Credential.cpp
+++ b/Source/modules/credentialmanager/Credential.cpp
@@ -10,19 +10,6 @@
namespace blink {
-Credential* Credential::create(const String& id, const String& name, const KURL& icon)
-{
- return new Credential(id, name, icon);
-}
-
-Credential* Credential::create(const String& id, const String& name, const String& icon, ExceptionState& exceptionState)
-{
- KURL iconURL = parseStringAsURL(icon, exceptionState);
- if (exceptionState.hadException())
- return nullptr;
- return new Credential(id, name, iconURL);
-}
-
Credential::Credential(PlatformCredential* credential)
: m_platformCredential(credential)
{
« no previous file with comments | « Source/modules/credentialmanager/Credential.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698