Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Side by Side Diff: chrome/browser/prefs/browser_prefs.cc

Issue 2705113005: Update AutoImport to import nothing by default (in absence of policy and master_prefs). (Closed)
Patch Set: update comment in chrome_browser_main.cc Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 ContentSuggestionsNotifierService::RegisterProfilePrefs(registry); 574 ContentSuggestionsNotifierService::RegisterProfilePrefs(registry);
575 DownloadSuggestionsProvider::RegisterProfilePrefs(registry); 575 DownloadSuggestionsProvider::RegisterProfilePrefs(registry);
576 ntp_snippets::ClickBasedCategoryRanker::RegisterProfilePrefs(registry); 576 ntp_snippets::ClickBasedCategoryRanker::RegisterProfilePrefs(registry);
577 ntp_snippets::PhysicalWebPageSuggestionsProvider::RegisterProfilePrefs( 577 ntp_snippets::PhysicalWebPageSuggestionsProvider::RegisterProfilePrefs(
578 registry); 578 registry);
579 ntp_snippets::RecentTabSuggestionsProvider::RegisterProfilePrefs(registry); 579 ntp_snippets::RecentTabSuggestionsProvider::RegisterProfilePrefs(registry);
580 #endif // defined(OS_ANDROID) 580 #endif // defined(OS_ANDROID)
581 581
582 #if !defined(OS_ANDROID) 582 #if !defined(OS_ANDROID)
583 browser_sync::ForeignSessionHandler::RegisterProfilePrefs(registry); 583 browser_sync::ForeignSessionHandler::RegisterProfilePrefs(registry);
584 first_run::RegisterProfilePrefs(registry);
584 gcm::GCMChannelStatusSyncer::RegisterProfilePrefs(registry); 585 gcm::GCMChannelStatusSyncer::RegisterProfilePrefs(registry);
585 gcm::RegisterProfilePrefs(registry); 586 gcm::RegisterProfilePrefs(registry);
586 StartupBrowserCreator::RegisterProfilePrefs(registry); 587 StartupBrowserCreator::RegisterProfilePrefs(registry);
587 #endif 588 #endif
588 589
589 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) 590 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
590 default_apps::RegisterProfilePrefs(registry); 591 default_apps::RegisterProfilePrefs(registry);
591 #endif 592 #endif
592 593
593 #if defined(OS_CHROMEOS) 594 #if defined(OS_CHROMEOS)
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 if (distro_dict && 784 if (distro_dict &&
784 distro_dict->GetInteger(kDistroRlzPingDelay, &rlz_ping_delay)) { 785 distro_dict->GetInteger(kDistroRlzPingDelay, &rlz_ping_delay)) {
785 profile_prefs->SetInteger(prefs::kRlzPingDelaySeconds, rlz_ping_delay); 786 profile_prefs->SetInteger(prefs::kRlzPingDelaySeconds, rlz_ping_delay);
786 } 787 }
787 #endif // BUILDFLAG(ENABLE_RLZ) 788 #endif // BUILDFLAG(ENABLE_RLZ)
788 profile_prefs->ClearPref(kDistroDict); 789 profile_prefs->ClearPref(kDistroDict);
789 } 790 }
790 } 791 }
791 792
792 } // namespace chrome 793 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/first_run/first_run_browsertest.cc ('k') | chrome/browser/ui/browser_ui_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698