OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/signin/signin_promo.h" | 5 #include "chrome/browser/signin/signin_promo.h" |
6 | 6 |
| 7 #include <limits.h> |
| 8 |
7 #include "base/prefs/pref_service.h" | 9 #include "base/prefs/pref_service.h" |
8 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
9 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
10 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
11 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
12 #include "build/build_config.h" | 14 #include "build/build_config.h" |
13 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
14 #include "chrome/browser/extensions/signin/gaia_auth_extension_loader.h" | 16 #include "chrome/browser/extensions/signin/gaia_auth_extension_loader.h" |
15 #include "chrome/browser/first_run/first_run.h" | 17 #include "chrome/browser/first_run/first_run.h" |
16 #include "chrome/browser/google/google_brand.h" | 18 #include "chrome/browser/google/google_brand.h" |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 | 347 |
346 void RegisterProfilePrefs( | 348 void RegisterProfilePrefs( |
347 user_prefs::PrefRegistrySyncable* registry) { | 349 user_prefs::PrefRegistrySyncable* registry) { |
348 registry->RegisterIntegerPref(prefs::kSignInPromoStartupCount, 0); | 350 registry->RegisterIntegerPref(prefs::kSignInPromoStartupCount, 0); |
349 registry->RegisterBooleanPref(prefs::kSignInPromoUserSkipped, false); | 351 registry->RegisterBooleanPref(prefs::kSignInPromoUserSkipped, false); |
350 registry->RegisterBooleanPref(prefs::kSignInPromoShowOnFirstRunAllowed, true); | 352 registry->RegisterBooleanPref(prefs::kSignInPromoShowOnFirstRunAllowed, true); |
351 registry->RegisterBooleanPref(prefs::kSignInPromoShowNTPBubble, false); | 353 registry->RegisterBooleanPref(prefs::kSignInPromoShowNTPBubble, false); |
352 } | 354 } |
353 | 355 |
354 } // namespace signin | 356 } // namespace signin |
OLD | NEW |