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

Side by Side Diff: components/password_manager/content/browser/credential_manager_impl.h

Issue 2083433002: Mojo: Remove url type converters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_I MPL_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_I MPL_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_I MPL_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_I MPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 void BindRequest(mojom::CredentialManagerRequest request); 50 void BindRequest(mojom::CredentialManagerRequest request);
51 51
52 // mojom::CredentialManager methods: 52 // mojom::CredentialManager methods:
53 void Store(mojom::CredentialInfoPtr credential, 53 void Store(mojom::CredentialInfoPtr credential,
54 const StoreCallback& callback) override; 54 const StoreCallback& callback) override;
55 void RequireUserMediation( 55 void RequireUserMediation(
56 const RequireUserMediationCallback& callback) override; 56 const RequireUserMediationCallback& callback) override;
57 void Get(bool zero_click_only, 57 void Get(bool zero_click_only,
58 bool include_passwords, 58 bool include_passwords,
59 mojo::Array<mojo::String> federations, 59 mojo::Array<GURL> federations,
60 const GetCallback& callback) override; 60 const GetCallback& callback) override;
61 61
62 // CredentialManagerPendingRequestTaskDelegate: 62 // CredentialManagerPendingRequestTaskDelegate:
63 bool IsZeroClickAllowed() const override; 63 bool IsZeroClickAllowed() const override;
64 GURL GetOrigin() const override; 64 GURL GetOrigin() const override;
65 void SendCredential(const SendCredentialCallback& send_callback, 65 void SendCredential(const SendCredentialCallback& send_callback,
66 const CredentialInfo& info) override; 66 const CredentialInfo& info) override;
67 void SendPasswordForm(const SendCredentialCallback& send_callback, 67 void SendPasswordForm(const SendCredentialCallback& send_callback,
68 const autofill::PasswordForm* form) override; 68 const autofill::PasswordForm* form) override;
69 PasswordManagerClient* client() const override; 69 PasswordManagerClient* client() const override;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 mojo::BindingSet<mojom::CredentialManager> bindings_; 117 mojo::BindingSet<mojom::CredentialManager> bindings_;
118 118
119 base::WeakPtrFactory<CredentialManagerImpl> weak_factory_; 119 base::WeakPtrFactory<CredentialManagerImpl> weak_factory_;
120 120
121 DISALLOW_COPY_AND_ASSIGN(CredentialManagerImpl); 121 DISALLOW_COPY_AND_ASSIGN(CredentialManagerImpl);
122 }; 122 };
123 123
124 } // namespace password_manager 124 } // namespace password_manager
125 125
126 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGE R_IMPL_H_ 126 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGE R_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698