| 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/metrics/histogram_macros.h" | 9 #include "base/metrics/histogram_macros.h" |
| 10 #include "base/trace_event/trace_event.h" | 10 #include "base/trace_event/trace_event.h" |
| (...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 component_updater::RegisterProfilePrefsForSwReporter(registry); | 561 component_updater::RegisterProfilePrefsForSwReporter(registry); |
| 562 NetworkProfileBubble::RegisterProfilePrefs(registry); | 562 NetworkProfileBubble::RegisterProfilePrefs(registry); |
| 563 #endif | 563 #endif |
| 564 | 564 |
| 565 #if defined(TOOLKIT_VIEWS) | 565 #if defined(TOOLKIT_VIEWS) |
| 566 RegisterBrowserViewProfilePrefs(registry); | 566 RegisterBrowserViewProfilePrefs(registry); |
| 567 RegisterInvertBubbleUserPrefs(registry); | 567 RegisterInvertBubbleUserPrefs(registry); |
| 568 #endif | 568 #endif |
| 569 | 569 |
| 570 #if defined(USE_ASH) | 570 #if defined(USE_ASH) |
| 571 ash::RegisterChromeLauncherUserPrefs(registry); | 571 ash::launcher::RegisterChromeLauncherUserPrefs(registry); |
| 572 #endif | 572 #endif |
| 573 | 573 |
| 574 #if !defined(OS_ANDROID) | 574 #if !defined(OS_ANDROID) |
| 575 browser_sync::ForeignSessionHandler::RegisterProfilePrefs(registry); | 575 browser_sync::ForeignSessionHandler::RegisterProfilePrefs(registry); |
| 576 #endif | 576 #endif |
| 577 | 577 |
| 578 // Preferences registered only for migration (clearing or moving to a new key) | 578 // Preferences registered only for migration (clearing or moving to a new key) |
| 579 // go here. | 579 // go here. |
| 580 | 580 |
| 581 #if defined(OS_WIN) | 581 #if defined(OS_WIN) |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined, | 701 profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined, |
| 702 install_time.ToInternalValue()); | 702 install_time.ToInternalValue()); |
| 703 } | 703 } |
| 704 profile_prefs->ClearPref(kCheckDefaultBrowser); | 704 profile_prefs->ClearPref(kCheckDefaultBrowser); |
| 705 | 705 |
| 706 // Added 5/2016. | 706 // Added 5/2016. |
| 707 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); | 707 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); |
| 708 } | 708 } |
| 709 | 709 |
| 710 } // namespace chrome | 710 } // namespace chrome |
| OLD | NEW |