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

Unified Diff: third_party/WebKit/Source/modules/credentialmanager/SiteBoundCredential.cpp

Issue 1880393002: CREDENTIAL: Implement 'SiteBoundCredential'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ugh. Created 4 years, 8 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
Index: third_party/WebKit/Source/modules/credentialmanager/SiteBoundCredential.cpp
diff --git a/third_party/WebKit/Source/platform/geometry/IntPoint.cpp b/third_party/WebKit/Source/modules/credentialmanager/SiteBoundCredential.cpp
similarity index 54%
copy from third_party/WebKit/Source/platform/geometry/IntPoint.cpp
copy to third_party/WebKit/Source/modules/credentialmanager/SiteBoundCredential.cpp
index 96b2add70b77a695436834267841ed42cab1fe4b..2bbbc4c6bbf64f84faf88d07bd69a9d375e42968 100644
--- a/third_party/WebKit/Source/platform/geometry/IntPoint.cpp
+++ b/third_party/WebKit/Source/modules/credentialmanager/SiteBoundCredential.cpp
@@ -2,17 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "platform/geometry/IntPoint.h"
-
-#include "wtf/text/WTFString.h"
+#include "modules/credentialmanager/SiteBoundCredential.h"
namespace blink {
-#ifndef NDEBUG
-String IntPoint::toString() const
+SiteBoundCredential::SiteBoundCredential(PlatformCredential* platformCredential)
+ : Credential(platformCredential)
{
- return String::format("%d,%d", x(), y());
}
-#endif
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698