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

Unified Diff: components/password_manager/core/browser/credential_manager_pending_signed_out_task.h

Issue 1159323003: Credential Management: Rename 'notifySignedOut' to 'requireUserMediation' (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename-password
Patch Set: Rebase. Created 5 years, 6 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/core/browser/credential_manager_pending_signed_out_task.h
diff --git a/components/password_manager/core/browser/credential_manager_pending_signed_out_task.h b/components/password_manager/core/browser/credential_manager_pending_signed_out_task.h
deleted file mode 100644
index 5012e0d1e0671e1a3dc99b31bd6e88a76a13e4e3..0000000000000000000000000000000000000000
--- a/components/password_manager/core/browser/credential_manager_pending_signed_out_task.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2015 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.
-
-#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_CREDENTIAL_MANAGER_PENDING_SIGNED_OUT_TASK_H_
-#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_CREDENTIAL_MANAGER_PENDING_SIGNED_OUT_TASK_H_
-
-#include <set>
-#include <string>
-
-#include "base/memory/scoped_vector.h"
-#include "components/password_manager/core/browser/password_store_consumer.h"
-
-class GURL;
-
-namespace autofill {
-struct PasswordForm;
-} // namespace autofill
-
-namespace password_manager {
-
-class PasswordStore;
-
-// Handles sign-out completion and retrieves embedder-dependent services.
-class CredentialManagerPendingSignedOutTaskDelegate {
- public:
- // Retrieves the PasswordStore.
- virtual PasswordStore* GetPasswordStore() = 0;
-
- // Finishes sign-out tasks.
- virtual void DoneSigningOut() = 0;
-};
-
-// Notifies the password store that a list of origins have been signed out.
-class CredentialManagerPendingSignedOutTask : public PasswordStoreConsumer {
- public:
- CredentialManagerPendingSignedOutTask(
- CredentialManagerPendingSignedOutTaskDelegate* delegate,
- const GURL& origin);
- ~CredentialManagerPendingSignedOutTask() override;
-
- // Adds an origin to be signed out.
- void AddOrigin(const GURL& origin);
-
- // PasswordStoreConsumer implementation.
- void OnGetPasswordStoreResults(
- ScopedVector<autofill::PasswordForm> results) override;
-
- private:
- CredentialManagerPendingSignedOutTaskDelegate* const delegate_; // Weak.
- std::set<std::string> origins_;
-
- DISALLOW_COPY_AND_ASSIGN(CredentialManagerPendingSignedOutTask);
-};
-
-} // namespace password_manager
-
-#endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_CREDENTIAL_MANAGER_PENDING_SIGNED_OUT_TASK_H_

Powered by Google App Engine
This is Rietveld 408576698