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

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

Issue 2487553002: Moving new First Run to use per-profile value, rather than simply checking IsChromeFirstRun. (Closed)
Patch Set: Addressing pkasting feedback Created 4 years, 1 month 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/profiles/profile_manager.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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 NewTabUI::RegisterProfilePrefs(registry); 581 NewTabUI::RegisterProfilePrefs(registry);
582 PepperFlashSettingsManager::RegisterProfilePrefs(registry); 582 PepperFlashSettingsManager::RegisterProfilePrefs(registry);
583 PinnedTabCodec::RegisterProfilePrefs(registry); 583 PinnedTabCodec::RegisterProfilePrefs(registry);
584 signin::RegisterProfilePrefs(registry); 584 signin::RegisterProfilePrefs(registry);
585 #endif 585 #endif
586 586
587 #if !defined(OS_ANDROID) 587 #if !defined(OS_ANDROID)
588 browser_sync::ForeignSessionHandler::RegisterProfilePrefs(registry); 588 browser_sync::ForeignSessionHandler::RegisterProfilePrefs(registry);
589 gcm::GCMChannelStatusSyncer::RegisterProfilePrefs(registry); 589 gcm::GCMChannelStatusSyncer::RegisterProfilePrefs(registry);
590 gcm::RegisterProfilePrefs(registry); 590 gcm::RegisterProfilePrefs(registry);
591 StartupBrowserCreator::RegisterProfilePrefs(registry);
591 #endif 592 #endif
592 593
593 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) 594 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
594 default_apps::RegisterProfilePrefs(registry); 595 default_apps::RegisterProfilePrefs(registry);
595 #endif 596 #endif
596 597
597 #if defined(OS_CHROMEOS) 598 #if defined(OS_CHROMEOS)
598 arc::ArcSessionManager::RegisterProfilePrefs(registry); 599 arc::ArcSessionManager::RegisterProfilePrefs(registry);
599 arc::ArcPolicyBridge::RegisterProfilePrefs(registry); 600 arc::ArcPolicyBridge::RegisterProfilePrefs(registry);
600 chromeos::first_run::RegisterProfilePrefs(registry); 601 chromeos::first_run::RegisterProfilePrefs(registry);
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 // Added 8/2016. 782 // Added 8/2016.
782 profile_prefs->ClearPref(kStaticEncodings); 783 profile_prefs->ClearPref(kStaticEncodings);
783 profile_prefs->ClearPref(kRecentlySelectedEncoding); 784 profile_prefs->ClearPref(kRecentlySelectedEncoding);
784 785
785 // Added 9/2016. 786 // Added 9/2016.
786 profile_prefs->ClearPref(kWebKitUsesUniversalDetector); 787 profile_prefs->ClearPref(kWebKitUsesUniversalDetector);
787 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent); 788 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent);
788 } 789 }
789 790
790 } // namespace chrome 791 } // namespace chrome
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698