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

Unified Diff: components/test_runner/test_runner.h

Issue 2373503003: Add clean up logic to navigator.credentials layout tests (Closed)
Patch Set: Created 4 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 | « no previous file | components/test_runner/test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_runner.h
diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h
index 9be952257a5662262c41614d365a5d201bd0fa7e..ac2ebd935dc57b3d32cf7d54b82bfe1b11ac8f5f 100644
--- a/components/test_runner/test_runner.h
+++ b/components/test_runner/test_runner.h
@@ -542,11 +542,12 @@ class TestRunner : public WebTestRunner {
// Credential Manager mock functions
// TODO(mkwst): Support FederatedCredential.
- void AddMockCredentialManagerResponse(const std::string& id,
+ void SetMockCredentialManagerResponse(const std::string& id,
const std::string& name,
const std::string& avatar,
const std::string& password);
- void AddMockCredentialManagerError(const std::string& error);
+ void ClearMockCredentialManagerResponse();
+ void SetMockCredentialManagerError(const std::string& error);
// Takes care of notifying the delegate after a change to layout test runtime
// flags.
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698