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

Unified Diff: content/shell/renderer/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: oops. 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: content/shell/renderer/test_runner/test_runner.cc
diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc
index e32f79ec837cfcd6ee865f8162672da68cffddf9..0dfbbeae2b3db7ea3ce965ad5ec8e1dac2ddd569 100644
--- a/content/shell/renderer/test_runner/test_runner.cc
+++ b/content/shell/renderer/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"
@@ -2900,10 +2900,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() {

Powered by Google App Engine
This is Rietveld 408576698