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/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 | 369 |
370 #if BUILDFLAG(ENABLE_EXTENSIONS) | 370 #if BUILDFLAG(ENABLE_EXTENSIONS) |
371 EasyUnlockService::RegisterPrefs(registry); | 371 EasyUnlockService::RegisterPrefs(registry); |
372 #endif | 372 #endif |
373 | 373 |
374 #if BUILDFLAG(ENABLE_PLUGINS) | 374 #if BUILDFLAG(ENABLE_PLUGINS) |
375 PluginFinder::RegisterPrefs(registry); | 375 PluginFinder::RegisterPrefs(registry); |
376 PluginsResourceService::RegisterPrefs(registry); | 376 PluginsResourceService::RegisterPrefs(registry); |
377 #endif | 377 #endif |
378 | 378 |
| 379 #if defined(OS_ANDROID) |
| 380 ::android::RegisterPrefs(registry); |
| 381 #endif |
| 382 |
379 #if !defined(OS_ANDROID) | 383 #if !defined(OS_ANDROID) |
380 task_manager::TaskManagerInterface::RegisterPrefs(registry); | 384 task_manager::TaskManagerInterface::RegisterPrefs(registry); |
381 #endif // !defined(OS_ANDROID) | 385 #endif // !defined(OS_ANDROID) |
382 | 386 |
383 #if BUILDFLAG(ENABLE_BACKGROUND) | 387 #if BUILDFLAG(ENABLE_BACKGROUND) |
384 BackgroundModeManager::RegisterPrefs(registry); | 388 BackgroundModeManager::RegisterPrefs(registry); |
385 #endif | 389 #endif |
386 | 390 |
387 #if !defined(OS_ANDROID) | 391 #if !defined(OS_ANDROID) |
388 RegisterBrowserPrefs(registry); | 392 RegisterBrowserPrefs(registry); |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 if (distro_dict && | 791 if (distro_dict && |
788 distro_dict->GetInteger(kDistroRlzPingDelay, &rlz_ping_delay)) { | 792 distro_dict->GetInteger(kDistroRlzPingDelay, &rlz_ping_delay)) { |
789 profile_prefs->SetInteger(prefs::kRlzPingDelaySeconds, rlz_ping_delay); | 793 profile_prefs->SetInteger(prefs::kRlzPingDelaySeconds, rlz_ping_delay); |
790 } | 794 } |
791 #endif // BUILDFLAG(ENABLE_RLZ) | 795 #endif // BUILDFLAG(ENABLE_RLZ) |
792 profile_prefs->ClearPref(kDistroDict); | 796 profile_prefs->ClearPref(kDistroDict); |
793 } | 797 } |
794 } | 798 } |
795 | 799 |
796 } // namespace chrome | 800 } // namespace chrome |
OLD | NEW |