Adding a check to not show sync promo for incognito profiles.
commit56cd431f064ec4edd4b68a0d47eba03145f77fef
authorjwd@chromium.org <jwd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 12 Mar 2013 23:40:06 +0000 (12 23:40 +0000)
committerjwd@chromium.org <jwd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 12 Mar 2013 23:40:06 +0000 (12 23:40 +0000)
treeb6f04938ceda10a2c2da650f7827bb23b5d9b40e
parent75ad9a4f9a80c3965990d3860a803f819d5065b6
Adding a check to not show sync promo for incognito profiles.

This prevents the sync promo from being shown when chrome is launched into incognito. There may be an underlying reason why this was happening that isn't being addressed by this change.

BUG=180183

Review URL: https://chromiumcodereview.appspot.com/12623012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187700 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc