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

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

Issue 2430753002: Discard unused AppListPrefs code. (Closed)
Patch Set: update Created 4 years, 2 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 | « no previous file | chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc » ('j') | 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "chrome/browser/profiles/profile.h" 46 #include "chrome/browser/profiles/profile.h"
47 #include "chrome/browser/profiles/profile_impl.h" 47 #include "chrome/browser/profiles/profile_impl.h"
48 #include "chrome/browser/profiles/profile_info_cache.h" 48 #include "chrome/browser/profiles/profile_info_cache.h"
49 #include "chrome/browser/profiles/profiles_state.h" 49 #include "chrome/browser/profiles/profiles_state.h"
50 #include "chrome/browser/push_messaging/push_messaging_app_identifier.h" 50 #include "chrome/browser/push_messaging/push_messaging_app_identifier.h"
51 #include "chrome/browser/renderer_host/pepper/device_id_fetcher.h" 51 #include "chrome/browser/renderer_host/pepper/device_id_fetcher.h"
52 #include "chrome/browser/search/search.h" 52 #include "chrome/browser/search/search.h"
53 #include "chrome/browser/signin/signin_manager_factory.h" 53 #include "chrome/browser/signin/signin_manager_factory.h"
54 #include "chrome/browser/task_manager/task_manager_interface.h" 54 #include "chrome/browser/task_manager/task_manager_interface.h"
55 #include "chrome/browser/tracing/chrome_tracing_delegate.h" 55 #include "chrome/browser/tracing/chrome_tracing_delegate.h"
56 #include "chrome/browser/ui/app_list/app_list_prefs.h"
57 #include "chrome/browser/ui/app_list/app_list_service.h" 56 #include "chrome/browser/ui/app_list/app_list_service.h"
58 #include "chrome/browser/ui/browser_ui_prefs.h" 57 #include "chrome/browser/ui/browser_ui_prefs.h"
59 #include "chrome/browser/ui/navigation_correction_tab_observer.h" 58 #include "chrome/browser/ui/navigation_correction_tab_observer.h"
60 #include "chrome/browser/ui/network_profile_bubble.h" 59 #include "chrome/browser/ui/network_profile_bubble.h"
61 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" 60 #include "chrome/browser/ui/prefs/prefs_tab_helper.h"
62 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" 61 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h"
63 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" 62 #include "chrome/browser/ui/tabs/pinned_tab_codec.h"
64 #include "chrome/browser/ui/webui/flags_ui.h" 63 #include "chrome/browser/ui/webui/flags_ui.h"
65 #include "chrome/browser/ui/webui/instant_ui.h" 64 #include "chrome/browser/ui/webui/instant_ui.h"
66 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" 65 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); 497 ProtocolHandlerRegistry::RegisterProfilePrefs(registry);
499 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); 498 PushMessagingAppIdentifier::RegisterProfilePrefs(registry);
500 RegisterBrowserUserPrefs(registry); 499 RegisterBrowserUserPrefs(registry);
501 SessionStartupPref::RegisterProfilePrefs(registry); 500 SessionStartupPref::RegisterProfilePrefs(registry);
502 TemplateURLPrepopulateData::RegisterProfilePrefs(registry); 501 TemplateURLPrepopulateData::RegisterProfilePrefs(registry);
503 translate::LanguageModel::RegisterProfilePrefs(registry); 502 translate::LanguageModel::RegisterProfilePrefs(registry);
504 translate::TranslatePrefs::RegisterProfilePrefs(registry); 503 translate::TranslatePrefs::RegisterProfilePrefs(registry);
505 ZeroSuggestProvider::RegisterProfilePrefs(registry); 504 ZeroSuggestProvider::RegisterProfilePrefs(registry);
506 browsing_data::prefs::RegisterBrowserUserPrefs(registry); 505 browsing_data::prefs::RegisterBrowserUserPrefs(registry);
507 506
508 #if BUILDFLAG(ENABLE_APP_LIST)
509 app_list::AppListPrefs::RegisterProfilePrefs(registry);
510 #endif
511
512 policy::URLBlacklistManager::RegisterProfilePrefs(registry); 507 policy::URLBlacklistManager::RegisterProfilePrefs(registry);
513 certificate_transparency::CTPolicyManager::RegisterPrefs(registry); 508 certificate_transparency::CTPolicyManager::RegisterPrefs(registry);
514 509
515 #if defined(ENABLE_EXTENSIONS) 510 #if defined(ENABLE_EXTENSIONS)
516 EasyUnlockService::RegisterProfilePrefs(registry); 511 EasyUnlockService::RegisterProfilePrefs(registry);
517 ExtensionWebUI::RegisterProfilePrefs(registry); 512 ExtensionWebUI::RegisterProfilePrefs(registry);
518 RegisterAnimationPolicyPrefs(registry); 513 RegisterAnimationPolicyPrefs(registry);
519 ToolbarActionsBar::RegisterProfilePrefs(registry); 514 ToolbarActionsBar::RegisterProfilePrefs(registry);
520 extensions::ActivityLog::RegisterProfilePrefs(registry); 515 extensions::ActivityLog::RegisterProfilePrefs(registry);
521 extensions::ComponentMigrationHelper::RegisterPrefs(registry); 516 extensions::ComponentMigrationHelper::RegisterPrefs(registry);
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 // Added 8/2016. 772 // Added 8/2016.
778 profile_prefs->ClearPref(kStaticEncodings); 773 profile_prefs->ClearPref(kStaticEncodings);
779 profile_prefs->ClearPref(kRecentlySelectedEncoding); 774 profile_prefs->ClearPref(kRecentlySelectedEncoding);
780 775
781 // Added 9/2016. 776 // Added 9/2016.
782 profile_prefs->ClearPref(kWebKitUsesUniversalDetector); 777 profile_prefs->ClearPref(kWebKitUsesUniversalDetector);
783 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent); 778 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent);
784 } 779 }
785 780
786 } // namespace chrome 781 } // namespace chrome
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698