OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/guid.h" | 5 #include "base/guid.h" |
6 #include "base/memory/scoped_ptr.h" | 6 #include "base/memory/scoped_ptr.h" |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "base/prefs/pref_service.h" | 8 #include "base/prefs/pref_service.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" | 10 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 virtual void UpdateAccountChooser() OVERRIDE {} | 48 virtual void UpdateAccountChooser() OVERRIDE {} |
49 virtual void UpdateButtonStrip() OVERRIDE {} | 49 virtual void UpdateButtonStrip() OVERRIDE {} |
50 virtual void UpdateSection(DialogSection section, UserInputAction action) | 50 virtual void UpdateSection(DialogSection section, UserInputAction action) |
51 OVERRIDE {} | 51 OVERRIDE {} |
52 virtual void GetUserInput(DialogSection section, DetailOutputMap* output) | 52 virtual void GetUserInput(DialogSection section, DetailOutputMap* output) |
53 OVERRIDE { | 53 OVERRIDE { |
54 *output = outputs_[section]; | 54 *output = outputs_[section]; |
55 } | 55 } |
56 | 56 |
57 virtual string16 GetCvc() OVERRIDE { return string16(); } | 57 virtual string16 GetCvc() OVERRIDE { return string16(); } |
58 virtual bool UseBillingForShipping() OVERRIDE { return false; } | |
59 virtual bool SaveDetailsLocally() OVERRIDE { return true; } | 58 virtual bool SaveDetailsLocally() OVERRIDE { return true; } |
60 virtual const content::NavigationController* ShowSignIn() OVERRIDE { | 59 virtual const content::NavigationController* ShowSignIn() OVERRIDE { |
61 return NULL; | 60 return NULL; |
62 } | 61 } |
63 virtual void HideSignIn() OVERRIDE {} | 62 virtual void HideSignIn() OVERRIDE {} |
64 virtual void UpdateProgressBar(double value) OVERRIDE {} | 63 virtual void UpdateProgressBar(double value) OVERRIDE {} |
65 virtual void SubmitForTesting() OVERRIDE {} | 64 virtual void SubmitForTesting() OVERRIDE {} |
66 virtual void CancelForTesting() OVERRIDE {} | 65 virtual void CancelForTesting() OVERRIDE {} |
67 | 66 |
68 MOCK_METHOD0(ModelChanged, void()); | 67 MOCK_METHOD0(ModelChanged, void()); |
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
790 wallet_items->AddAddress(wallet::GetTestShippingAddress()); | 789 wallet_items->AddAddress(wallet::GetTestShippingAddress()); |
791 controller()->OnDidGetWalletItems(wallet_items.Pass()); | 790 controller()->OnDidGetWalletItems(wallet_items.Pass()); |
792 | 791 |
793 EXPECT_TRUE(NotificationsOfType( | 792 EXPECT_TRUE(NotificationsOfType( |
794 DialogNotification::EXPLANATORY_MESSAGE).empty()); | 793 DialogNotification::EXPLANATORY_MESSAGE).empty()); |
795 EXPECT_TRUE(NotificationsOfType( | 794 EXPECT_TRUE(NotificationsOfType( |
796 DialogNotification::WALLET_USAGE_CONFIRMATION).empty()); | 795 DialogNotification::WALLET_USAGE_CONFIRMATION).empty()); |
797 } | 796 } |
798 | 797 |
799 } // namespace autofill | 798 } // namespace autofill |
OLD | NEW |