Chromium Code Reviews| Index: chrome/browser/prefs/browser_prefs.cc |
| diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc |
| index f954807629df35883c88fcefd550948e42e9bc13..7d0e57e8c8ba728e8ad3a1b90d72768d30a55904 100644 |
| --- a/chrome/browser/prefs/browser_prefs.cc |
| +++ b/chrome/browser/prefs/browser_prefs.cc |
| @@ -71,8 +71,10 @@ |
| #include "chrome/browser/translate/translate_prefs.h" |
| #include "chrome/browser/ui/alternate_error_tab_observer.h" |
| #include "chrome/browser/ui/app_list/app_list_service.h" |
| -#include "chrome/browser/ui/autofill/autofill_credit_card_bubble_controller.h" |
| #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" |
| +#if !defined(OS_ANDROID) |
| +#include "chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h" |
|
Lei Zhang
2013/08/09 04:51:57
Do this down near line 157 instead.
Dan Beam
2013/08/09 18:56:54
Done.
|
| +#endif |
| #include "chrome/browser/ui/browser_ui_prefs.h" |
| #include "chrome/browser/ui/network_profile_bubble.h" |
| #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
| @@ -287,9 +289,11 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
| // User prefs. Please keep this list alphabetized. |
| AlternateErrorPageTabObserver::RegisterProfilePrefs(registry); |
| apps::RegisterProfilePrefs(registry); |
| - autofill::AutofillCreditCardBubbleController::RegisterUserPrefs(registry); |
| autofill::AutofillDialogControllerImpl::RegisterProfilePrefs(registry); |
| autofill::AutofillManager::RegisterProfilePrefs(registry); |
| +#if !defined(OS_ANDROID) |
| + autofill::GeneratedCreditCardBubbleController::RegisterUserPrefs(registry); |
| +#endif |
| BookmarkPromptPrefs::RegisterProfilePrefs(registry); |
| bookmark_utils::RegisterProfilePrefs(registry); |
| browser_sync::SyncPrefs::RegisterProfilePrefs(registry); |