| Index: chrome/browser/signin/signin_promo.cc
|
| diff --git a/chrome/browser/signin/signin_promo.cc b/chrome/browser/signin/signin_promo.cc
|
| index 80315d409b21b2fdb491519e6e3c761c47214864..5089c97f8368a332aec1d51c5d37da718a0b6608 100644
|
| --- a/chrome/browser/signin/signin_promo.cc
|
| +++ b/chrome/browser/signin/signin_promo.cc
|
| @@ -36,7 +36,6 @@
|
| #include "content/public/browser/web_ui_data_source.h"
|
| #include "google_apis/gaia/gaia_urls.h"
|
| #include "net/base/escape.h"
|
| -#include "net/base/network_change_notifier.h"
|
| #include "net/base/url_util.h"
|
| #include "url/gurl.h"
|
|
|
| @@ -83,29 +82,6 @@ bool HasUserSkippedPromo(Profile* profile) {
|
|
|
| namespace signin {
|
|
|
| -bool ShouldShowPromo(Profile* profile) {
|
| -#if defined(OS_CHROMEOS)
|
| - // There's no need to show the sign in promo on cros since cros users are
|
| - // already logged in.
|
| - return false;
|
| -#else
|
| -
|
| - // Don't bother if we don't have any kind of network connection.
|
| - if (net::NetworkChangeNotifier::IsOffline())
|
| - return false;
|
| -
|
| - // Don't show for supervised profiles.
|
| - if (profile->IsSupervised())
|
| - return false;
|
| -
|
| - // Display the signin promo if the user is not signed in.
|
| - SigninManager* signin = SigninManagerFactory::GetForProfile(
|
| - profile->GetOriginalProfile());
|
| - return !signin->AuthInProgress() && signin->IsSigninAllowed() &&
|
| - !signin->IsAuthenticated();
|
| -#endif
|
| -}
|
| -
|
| bool ShouldShowPromoAtStartup(Profile* profile, bool is_new_profile) {
|
| DCHECK(profile);
|
|
|
|
|