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

Unified Diff: components/password_manager/content/public/interfaces/credential_manager.mojom

Issue 1872133002: Revert of Reland: Switch components/password_manager code from IPC messages to Mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: components/password_manager/content/public/interfaces/credential_manager.mojom
diff --git a/components/password_manager/content/public/interfaces/credential_manager.mojom b/components/password_manager/content/public/interfaces/credential_manager.mojom
deleted file mode 100644
index cc9492bb68aaf65b10ed77f8426d2cebddd7f7f7..0000000000000000000000000000000000000000
--- a/components/password_manager/content/public/interfaces/credential_manager.mojom
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module password_manager.mojom;
-
-import "url/mojo/origin.mojom";
-
-enum CredentialType {
- EMPTY,
- PASSWORD,
- FEDERATED
-};
-
-enum CredentialManagerError {
- SUCCESS,
- DISABLED,
- PENDINGREQUEST,
- PASSWORDSTOREUNAVAILABLE,
- UNKNOWN
-};
-
-struct CredentialInfo {
- CredentialType type = EMPTY;
- string id = "";
- string name = "";
- string icon = "";
- string password = "";
- url.mojom.Origin federation;
-};
-
-interface CredentialManager {
- // Store credential. For navigator.credentials.store().
- Store(CredentialInfo credential) => ();
-
- // Require user mediation. For navigator.credentials.requireUserMediation().
- RequireUserMediation() => ();
-
- // Get Credential. For navigator.credentials.get().
- // The result callback will return a non-null and valid CredentialInfo
- // if succeeded, or null with a CredentialManagerError if failed.
- Get(bool zero_click_only, bool include_passwords, array<string> federations)
- => (CredentialManagerError error, CredentialInfo? credential);
-};
« no previous file with comments | « components/password_manager/content/public/interfaces/OWNERS ('k') | components/password_manager/content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698