OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "chrome/browser/prefs/browser_prefs.h" | 5 #include "chrome/browser/prefs/browser_prefs.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/debug/trace_event.h" | 9 #include "base/debug/trace_event.h" |
10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 #endif | 136 #endif |
137 | 137 |
138 #if defined(ENABLE_PLUGIN_INSTALLATION) | 138 #if defined(ENABLE_PLUGIN_INSTALLATION) |
139 #include "chrome/browser/plugins/plugins_resource_service.h" | 139 #include "chrome/browser/plugins/plugins_resource_service.h" |
140 #endif | 140 #endif |
141 | 141 |
142 #if defined(OS_ANDROID) | 142 #if defined(OS_ANDROID) |
143 #include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h" | 143 #include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h" |
144 #include "chrome/browser/android/new_tab_page_prefs.h" | 144 #include "chrome/browser/android/new_tab_page_prefs.h" |
145 #else | 145 #else |
146 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service.h" | |
147 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" | 146 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" |
148 #include "chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h" | 147 #include "chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h" |
149 #endif | 148 #endif |
150 | 149 |
151 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 150 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
152 #include "chrome/browser/signin/signin_promo.h" | 151 #include "chrome/browser/signin/signin_promo.h" |
153 #endif | 152 #endif |
154 | 153 |
155 #if defined(OS_CHROMEOS) | 154 #if defined(OS_CHROMEOS) |
156 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" | 155 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 host_zoom_dictionary, false /* sanitize_partition_host_zoom_levels */); | 702 host_zoom_dictionary, false /* sanitize_partition_host_zoom_levels */); |
704 | 703 |
705 // We're done migrating the profile per-host zoom level values, so we clear | 704 // We're done migrating the profile per-host zoom level values, so we clear |
706 // them all. | 705 // them all. |
707 DictionaryPrefUpdate host_zoom_dictionary_update( | 706 DictionaryPrefUpdate host_zoom_dictionary_update( |
708 prefs, prefs::kPerHostZoomLevelsDeprecated); | 707 prefs, prefs::kPerHostZoomLevelsDeprecated); |
709 host_zoom_dictionary_update->Clear(); | 708 host_zoom_dictionary_update->Clear(); |
710 } | 709 } |
711 | 710 |
712 } // namespace chrome | 711 } // namespace chrome |
OLD | NEW |