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

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

Issue 2612243002: Rename NewTabPagePrefs to RecentTabsPagePrefs. (Closed)
Patch Set: alphabetize Created 3 years, 11 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
« no previous file with comments | « chrome/browser/android/ntp/recent_tabs_page_prefs.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 #include "chrome/browser/supervised_user/supervised_user_service.h" 149 #include "chrome/browser/supervised_user/supervised_user_service.h"
150 #include "chrome/browser/supervised_user/supervised_user_whitelist_service.h" 150 #include "chrome/browser/supervised_user/supervised_user_whitelist_service.h"
151 #endif 151 #endif
152 152
153 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) 153 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
154 #include "chrome/browser/ui/webui/local_discovery/local_discovery_ui.h" 154 #include "chrome/browser/ui/webui/local_discovery/local_discovery_ui.h"
155 #endif 155 #endif
156 156
157 #if BUILDFLAG(ANDROID_JAVA_UI) 157 #if BUILDFLAG(ANDROID_JAVA_UI)
158 #include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h" 158 #include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h"
159 #include "chrome/browser/android/ntp/new_tab_page_prefs.h" 159 #include "chrome/browser/android/ntp/recent_tabs_page_prefs.h"
160 #include "components/ntp_tiles/popular_sites_impl.h" 160 #include "components/ntp_tiles/popular_sites_impl.h"
161 #else 161 #else
162 #include "chrome/browser/ui/startup/startup_browser_creator.h" 162 #include "chrome/browser/ui/startup/startup_browser_creator.h"
163 #include "chrome/browser/upgrade_detector.h" 163 #include "chrome/browser/upgrade_detector.h"
164 #endif 164 #endif
165 165
166 #if defined(OS_ANDROID) 166 #if defined(OS_ANDROID)
167 #include "chrome/browser/android/ntp/content_suggestions_notifier_service.h" 167 #include "chrome/browser/android/ntp/content_suggestions_notifier_service.h"
168 #include "chrome/browser/android/preferences/browser_prefs_android.h" 168 #include "chrome/browser/android/preferences/browser_prefs_android.h"
169 #include "chrome/browser/ntp_snippets/download_suggestions_provider.h" 169 #include "chrome/browser/ntp_snippets/download_suggestions_provider.h"
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 #if !defined(OS_ANDROID) 561 #if !defined(OS_ANDROID)
562 SupervisedUserSharedSettingsService::RegisterProfilePrefs(registry); 562 SupervisedUserSharedSettingsService::RegisterProfilePrefs(registry);
563 SupervisedUserSyncService::RegisterProfilePrefs(registry); 563 SupervisedUserSyncService::RegisterProfilePrefs(registry);
564 #endif 564 #endif
565 ChildAccountService::RegisterProfilePrefs(registry); 565 ChildAccountService::RegisterProfilePrefs(registry);
566 SupervisedUserService::RegisterProfilePrefs(registry); 566 SupervisedUserService::RegisterProfilePrefs(registry);
567 SupervisedUserWhitelistService::RegisterProfilePrefs(registry); 567 SupervisedUserWhitelistService::RegisterProfilePrefs(registry);
568 #endif 568 #endif
569 569
570 #if BUILDFLAG(ANDROID_JAVA_UI) 570 #if BUILDFLAG(ANDROID_JAVA_UI)
571 ntp_tiles::PopularSitesImpl::RegisterProfilePrefs(registry);
571 variations::VariationsService::RegisterProfilePrefs(registry); 572 variations::VariationsService::RegisterProfilePrefs(registry);
572 ntp_tiles::PopularSitesImpl::RegisterProfilePrefs(registry);
573 NewTabPagePrefs::RegisterProfilePrefs(registry);
574 PartnerBookmarksShim::RegisterProfilePrefs(registry); 573 PartnerBookmarksShim::RegisterProfilePrefs(registry);
574 RecentTabsPagePrefs::RegisterProfilePrefs(registry);
575 #else 575 #else
576 AppShortcutManager::RegisterProfilePrefs(registry); 576 AppShortcutManager::RegisterProfilePrefs(registry);
577 DeviceIDFetcher::RegisterProfilePrefs(registry); 577 DeviceIDFetcher::RegisterProfilePrefs(registry);
578 DevToolsWindow::RegisterProfilePrefs(registry); 578 DevToolsWindow::RegisterProfilePrefs(registry);
579 #if BUILDFLAG(ENABLE_APP_LIST) 579 #if BUILDFLAG(ENABLE_APP_LIST)
580 DriveAppMapping::RegisterProfilePrefs(registry); 580 DriveAppMapping::RegisterProfilePrefs(registry);
581 app_list::AppListSyncableService::RegisterProfilePrefs(registry); 581 app_list::AppListSyncableService::RegisterProfilePrefs(registry);
582 #endif 582 #endif
583 extensions::CommandService::RegisterProfilePrefs(registry); 583 extensions::CommandService::RegisterProfilePrefs(registry);
584 extensions::ExtensionSettingsHandler::RegisterProfilePrefs(registry); 584 extensions::ExtensionSettingsHandler::RegisterProfilePrefs(registry);
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 // Added 8/2016. 797 // Added 8/2016.
798 profile_prefs->ClearPref(kStaticEncodings); 798 profile_prefs->ClearPref(kStaticEncodings);
799 profile_prefs->ClearPref(kRecentlySelectedEncoding); 799 profile_prefs->ClearPref(kRecentlySelectedEncoding);
800 800
801 // Added 9/2016. 801 // Added 9/2016.
802 profile_prefs->ClearPref(kWebKitUsesUniversalDetector); 802 profile_prefs->ClearPref(kWebKitUsesUniversalDetector);
803 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent); 803 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent);
804 } 804 }
805 805
806 } // namespace chrome 806 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/android/ntp/recent_tabs_page_prefs.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698