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

Side by Side Diff: chrome/browser/ui/browser_ui_prefs.cc

Issue 15969017: Warn by default when certain DLL conflicts exist on XP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for try servers Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/ui/browser_ui_prefs.h" 5 #include "chrome/browser/ui/browser_ui_prefs.h"
6 6
7 #include "base/prefs/pref_registry_simple.h" 7 #include "base/prefs/pref_registry_simple.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "chrome/browser/first_run/first_run.h" 9 #include "chrome/browser/first_run/first_run.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 false, 72 false,
73 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); 73 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
74 registry->RegisterIntegerPref( 74 registry->RegisterIntegerPref(
75 prefs::kDeleteTimePeriod, 75 prefs::kDeleteTimePeriod,
76 0, 76 0,
77 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); 77 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
78 registry->RegisterInt64Pref( 78 registry->RegisterInt64Pref(
79 prefs::kLastClearBrowsingDataTime, 79 prefs::kLastClearBrowsingDataTime,
80 0, 80 0,
81 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); 81 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
82 registry->RegisterIntegerPref(prefs::kModuleConflictBubbleShown,
83 0,
84 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
82 registry->RegisterBooleanPref( 85 registry->RegisterBooleanPref(
83 prefs::kCheckDefaultBrowser, 86 prefs::kCheckDefaultBrowser,
84 true, 87 true,
85 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); 88 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
86 #if defined(OS_WIN) 89 #if defined(OS_WIN)
87 // As with Mac-spacific code above, it should be in a platform-specific 90 // As with Mac-spacific code above, it should be in a platform-specific
88 // section somewhere, but there is no good place for it. 91 // section somewhere, but there is no good place for it.
89 registry->RegisterBooleanPref( 92 registry->RegisterBooleanPref(
90 prefs::kSuppressSwitchToMetroModeOnSetDefault, 93 prefs::kSuppressSwitchToMetroModeOnSetDefault,
91 false, 94 false,
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 scoped_refptr<user_prefs::PrefRegistrySyncable> registry( 236 scoped_refptr<user_prefs::PrefRegistrySyncable> registry(
234 static_cast<user_prefs::PrefRegistrySyncable*>( 237 static_cast<user_prefs::PrefRegistrySyncable*>(
235 prefs->DeprecatedGetPrefRegistry())); 238 prefs->DeprecatedGetPrefRegistry()));
236 registry->RegisterDictionaryPref( 239 registry->RegisterDictionaryPref(
237 window_pref.c_str(), user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); 240 window_pref.c_str(), user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
238 } 241 }
239 } 242 }
240 243
241 244
242 } // namespace chrome 245 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698