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

Side by Side Diff: chrome/renderer/autofill/fake_password_manager_client.cc

Issue 2352533003: [Autofill] Migrate ChromePasswordManagerClient<-->PasswordGenerationAgent IPCs to mojo. (Closed)
Patch Set: browser_tests partly 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/renderer/autofill/fake_password_manager_client.h"
6
7 FakePasswordManagerClient::FakePasswordManagerClient() : binding_(this) {}
8
9 FakePasswordManagerClient::~FakePasswordManagerClient() {}
10
11 void FakePasswordManagerClient::BindRequest(
12 autofill::mojom::PasswordManagerClientAssociatedRequest request) {
13 binding_.Bind(std::move(request));
14 }
15
16 // autofill::mojom::PasswordManagerClient:
17 void FakePasswordManagerClient::ShowPasswordGenerationPopup(
18 const gfx::RectF& bounds,
19 int max_length,
20 const base::string16& generation_element,
21 bool is_manually_triggered,
22 const autofill::PasswordForm& form) {
23 called_show_pw_generation_popup_ = true;
24 }
25
26 void FakePasswordManagerClient::ShowPasswordEditingPopup(
27 const gfx::RectF& bounds,
28 const autofill::PasswordForm& form) {}
29
30 void FakePasswordManagerClient::GenerationAvailableForForm(
31 const autofill::PasswordForm& form) {}
32
33 void FakePasswordManagerClient::HidePasswordGenerationPopup() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698