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

Side by Side Diff: chrome/browser/autofill/test_autofill_manager_delegate.cc

Issue 12378055: Make autofill stop depending on InfoBarService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplify test Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "chrome/browser/autofill/test_autofill_manager_delegate.h" 5 #include "chrome/browser/autofill/test_autofill_manager_delegate.h"
6 6
7 namespace autofill { 7 namespace autofill {
8 8
9 TestAutofillManagerDelegate::TestAutofillManagerDelegate() {} 9 TestAutofillManagerDelegate::TestAutofillManagerDelegate() {}
10 TestAutofillManagerDelegate::~TestAutofillManagerDelegate() {} 10 TestAutofillManagerDelegate::~TestAutofillManagerDelegate() {}
11 11
12 InfoBarService* TestAutofillManagerDelegate::GetInfoBarService() {
13 return NULL;
14 }
15
16 PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() { 12 PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() {
17 return NULL; 13 return NULL;
18 } 14 }
19 15
20 PrefService* TestAutofillManagerDelegate::GetPrefs() { 16 PrefService* TestAutofillManagerDelegate::GetPrefs() {
21 return NULL; 17 return NULL;
22 } 18 }
23 19
24 ProfileSyncServiceBase* TestAutofillManagerDelegate::GetProfileSyncService() { 20 ProfileSyncServiceBase* TestAutofillManagerDelegate::GetProfileSyncService() {
25 return NULL; 21 return NULL;
26 } 22 }
27 23
28 void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {} 24 void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {}
29 25
30 bool TestAutofillManagerDelegate::IsSavingPasswordsEnabled() const { 26 bool TestAutofillManagerDelegate::IsSavingPasswordsEnabled() const {
31 return false; 27 return false;
32 } 28 }
33 29
34 void TestAutofillManagerDelegate::OnAutocheckoutError() {} 30 void TestAutofillManagerDelegate::OnAutocheckoutError() {}
35 31
36 void TestAutofillManagerDelegate::ShowAutofillSettings() {} 32 void TestAutofillManagerDelegate::ShowAutofillSettings() {}
37 33
34 void TestAutofillManagerDelegate::ConfirmImportCC(
35 const AutofillMetrics& metric_logger,
36 const CreditCard& credit_card,
37 const base::Closure& import_callback) {}
38
38 void TestAutofillManagerDelegate::ShowPasswordGenerationBubble( 39 void TestAutofillManagerDelegate::ShowPasswordGenerationBubble(
39 const gfx::Rect& bounds, 40 const gfx::Rect& bounds,
40 const content::PasswordForm& form, 41 const content::PasswordForm& form,
41 autofill::PasswordGenerator* generator) {} 42 autofill::PasswordGenerator* generator) {}
42 43
43 void TestAutofillManagerDelegate::ShowAutocheckoutBubble( 44 void TestAutofillManagerDelegate::ShowAutocheckoutBubble(
44 const gfx::RectF& bounding_box, 45 const gfx::RectF& bounding_box,
45 const gfx::NativeView& native_view, 46 const gfx::NativeView& native_view,
46 const base::Closure& callback) {} 47 const base::Closure& callback) {}
47 48
(...skipping 13 matching lines...) Expand all
61 const std::vector<string16>& labels, 62 const std::vector<string16>& labels,
62 const std::vector<string16>& icons, 63 const std::vector<string16>& icons,
63 const std::vector<int>& identifiers, 64 const std::vector<int>& identifiers,
64 AutofillPopupDelegate* delegate) {} 65 AutofillPopupDelegate* delegate) {}
65 66
66 void TestAutofillManagerDelegate::HideAutofillPopup() {} 67 void TestAutofillManagerDelegate::HideAutofillPopup() {}
67 68
68 void TestAutofillManagerDelegate::UpdateProgressBar(double value) {} 69 void TestAutofillManagerDelegate::UpdateProgressBar(double value) {}
69 70
70 } // namespace autofill 71 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698