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

Unified Diff: components/test_runner/test_runner.cc

Issue 1162583003: Credential Management: Rename 'LocalCredential' to 'PasswordCredential' (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@drop
Patch Set: Fix. 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
Index: components/test_runner/test_runner.cc
diff --git a/components/test_runner/test_runner.cc b/components/test_runner/test_runner.cc
index 5293d49377f303a5568a978dc877b27c8e1b8367..bafbc2365cc30f6e510d3bdc2175e3a671379bcf 100644
--- a/components/test_runner/test_runner.cc
+++ b/components/test_runner/test_runner.cc
@@ -22,7 +22,7 @@
#include "third_party/WebKit/public/platform/WebBatteryStatus.h"
#include "third_party/WebKit/public/platform/WebCanvas.h"
#include "third_party/WebKit/public/platform/WebData.h"
-#include "third_party/WebKit/public/platform/WebLocalCredential.h"
+#include "third_party/WebKit/public/platform/WebPasswordCredential.h"
#include "third_party/WebKit/public/platform/WebPoint.h"
#include "third_party/WebKit/public/platform/WebServiceWorkerRegistration.h"
#include "third_party/WebKit/public/platform/WebURLResponse.h"
@@ -2901,10 +2901,10 @@ void TestRunner::AddMockCredentialManagerResponse(const std::string& id,
const std::string& avatar,
const std::string& password) {
proxy_->GetCredentialManagerClientMock()->SetResponse(
- new WebLocalCredential(WebString::fromUTF8(id),
- WebString::fromUTF8(name),
- WebURL(GURL(avatar)),
- WebString::fromUTF8(password)));
+ new WebPasswordCredential(WebString::fromUTF8(id),
+ WebString::fromUTF8(password),
+ WebString::fromUTF8(name),
+ WebURL(GURL(avatar))));
}
void TestRunner::AddWebPageOverlay() {
« no previous file with comments | « components/password_manager/core/common/credential_manager_types_unittest.cc ('k') | ios/web/public/web_state/credential.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698