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

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

Issue 1931043002: Remove requestAutocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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/chrome_jni_registrar.cc ('k') | chrome/browser/ui/BUILD.gn » ('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/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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 #include "components/startup_metric_utils/browser/startup_metric_utils.h" 92 #include "components/startup_metric_utils/browser/startup_metric_utils.h"
93 #include "components/sync_driver/sync_prefs.h" 93 #include "components/sync_driver/sync_prefs.h"
94 #include "components/syncable_prefs/pref_service_syncable.h" 94 #include "components/syncable_prefs/pref_service_syncable.h"
95 #include "components/translate/core/browser/translate_prefs.h" 95 #include "components/translate/core/browser/translate_prefs.h"
96 #include "components/update_client/update_client.h" 96 #include "components/update_client/update_client.h"
97 #include "components/variations/service/variations_service.h" 97 #include "components/variations/service/variations_service.h"
98 #include "components/web_resource/promo_resource_service.h" 98 #include "components/web_resource/promo_resource_service.h"
99 #include "content/public/browser/render_process_host.h" 99 #include "content/public/browser/render_process_host.h"
100 #include "net/http/http_server_properties_manager.h" 100 #include "net/http/http_server_properties_manager.h"
101 101
102 #if defined(ENABLE_AUTOFILL_DIALOG)
103 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h"
104 #endif
105
106 #if BUILDFLAG(ENABLE_BACKGROUND) 102 #if BUILDFLAG(ENABLE_BACKGROUND)
107 #include "chrome/browser/background/background_mode_manager.h" 103 #include "chrome/browser/background/background_mode_manager.h"
108 #endif 104 #endif
109 105
110 #if defined(ENABLE_EXTENSIONS) 106 #if defined(ENABLE_EXTENSIONS)
111 #include "chrome/browser/accessibility/animation_policy_prefs.h" 107 #include "chrome/browser/accessibility/animation_policy_prefs.h"
112 #include "chrome/browser/apps/drive/drive_app_mapping.h" 108 #include "chrome/browser/apps/drive/drive_app_mapping.h"
113 #include "chrome/browser/apps/shortcut_manager.h" 109 #include "chrome/browser/apps/shortcut_manager.h"
114 #include "chrome/browser/extensions/activity_log/activity_log.h" 110 #include "chrome/browser/extensions/activity_log/activity_log.h"
115 #include "chrome/browser/extensions/api/commands/command_service.h" 111 #include "chrome/browser/extensions/api/commands/command_service.h"
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 ProfileInfoCache::RegisterPrefs(registry); 307 ProfileInfoCache::RegisterPrefs(registry);
312 profiles::RegisterPrefs(registry); 308 profiles::RegisterPrefs(registry);
313 rappor::RapporService::RegisterPrefs(registry); 309 rappor::RapporService::RegisterPrefs(registry);
314 RegisterScreenshotPrefs(registry); 310 RegisterScreenshotPrefs(registry);
315 SigninManagerFactory::RegisterPrefs(registry); 311 SigninManagerFactory::RegisterPrefs(registry);
316 ssl_config::SSLConfigServiceManager::RegisterPrefs(registry); 312 ssl_config::SSLConfigServiceManager::RegisterPrefs(registry);
317 startup_metric_utils::RegisterPrefs(registry); 313 startup_metric_utils::RegisterPrefs(registry);
318 update_client::RegisterPrefs(registry); 314 update_client::RegisterPrefs(registry);
319 web_resource::PromoResourceService::RegisterPrefs(registry); 315 web_resource::PromoResourceService::RegisterPrefs(registry);
320 316
321 #if defined(ENABLE_AUTOFILL_DIALOG)
322 autofill::AutofillDialogController::RegisterPrefs(registry);
323 #endif
324
325 policy::BrowserPolicyConnector::RegisterPrefs(registry); 317 policy::BrowserPolicyConnector::RegisterPrefs(registry);
326 policy::PolicyStatisticsCollector::RegisterPrefs(registry); 318 policy::PolicyStatisticsCollector::RegisterPrefs(registry);
327 319
328 #if defined(ENABLE_EXTENSIONS) 320 #if defined(ENABLE_EXTENSIONS)
329 EasyUnlockService::RegisterPrefs(registry); 321 EasyUnlockService::RegisterPrefs(registry);
330 #endif 322 #endif
331 323
332 #if defined(ENABLE_PLUGINS) 324 #if defined(ENABLE_PLUGINS)
333 PluginFinder::RegisterPrefs(registry); 325 PluginFinder::RegisterPrefs(registry);
334 #endif 326 #endif
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 SessionStartupPref::RegisterProfilePrefs(registry); 441 SessionStartupPref::RegisterProfilePrefs(registry);
450 TemplateURLPrepopulateData::RegisterProfilePrefs(registry); 442 TemplateURLPrepopulateData::RegisterProfilePrefs(registry);
451 translate::TranslatePrefs::RegisterProfilePrefs(registry); 443 translate::TranslatePrefs::RegisterProfilePrefs(registry);
452 web_resource::PromoResourceService::RegisterProfilePrefs(registry); 444 web_resource::PromoResourceService::RegisterProfilePrefs(registry);
453 ZeroSuggestProvider::RegisterProfilePrefs(registry); 445 ZeroSuggestProvider::RegisterProfilePrefs(registry);
454 446
455 #if defined(ENABLE_APP_LIST) 447 #if defined(ENABLE_APP_LIST)
456 app_list::AppListPrefs::RegisterProfilePrefs(registry); 448 app_list::AppListPrefs::RegisterProfilePrefs(registry);
457 #endif 449 #endif
458 450
459 #if defined(ENABLE_AUTOFILL_DIALOG)
460 autofill::AutofillDialogController::RegisterProfilePrefs(registry);
461 #endif
462
463 policy::URLBlacklistManager::RegisterProfilePrefs(registry); 451 policy::URLBlacklistManager::RegisterProfilePrefs(registry);
464 452
465 #if defined(ENABLE_EXTENSIONS) 453 #if defined(ENABLE_EXTENSIONS)
466 EasyUnlockService::RegisterProfilePrefs(registry); 454 EasyUnlockService::RegisterProfilePrefs(registry);
467 ExtensionWebUI::RegisterProfilePrefs(registry); 455 ExtensionWebUI::RegisterProfilePrefs(registry);
468 RegisterAnimationPolicyPrefs(registry); 456 RegisterAnimationPolicyPrefs(registry);
469 ToolbarActionsBar::RegisterProfilePrefs(registry); 457 ToolbarActionsBar::RegisterProfilePrefs(registry);
470 extensions::ActivityLog::RegisterProfilePrefs(registry); 458 extensions::ActivityLog::RegisterProfilePrefs(registry);
471 extensions::ComponentMigrationHelper::RegisterPrefs(registry); 459 extensions::ComponentMigrationHelper::RegisterPrefs(registry);
472 extensions::CopresenceService::RegisterProfilePrefs(registry); 460 extensions::CopresenceService::RegisterProfilePrefs(registry);
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 metrics_service 681 metrics_service
694 ? base::Time::FromTimeT(metrics_service->GetInstallDate()) 682 ? base::Time::FromTimeT(metrics_service->GetInstallDate())
695 : base::Time::Now(); 683 : base::Time::Now();
696 profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined, 684 profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined,
697 install_time.ToInternalValue()); 685 install_time.ToInternalValue());
698 } 686 }
699 profile_prefs->ClearPref(kCheckDefaultBrowser); 687 profile_prefs->ClearPref(kCheckDefaultBrowser);
700 } 688 }
701 689
702 } // namespace chrome 690 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698