AppListWin: Pass view_size parameter by reference.

Also refactor some logic to avoid else-after-return.

BUG=317944

Review URL: https://codereview.chromium.org/110603004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239973 0039d316-1c4b-4281-b951-d872f2087c98
Add UMA stats for when we show the profile corruption dialog.
Currently the profile corruption dialog is shown from 5 different places, with no way for us to know what the reason for showing it was. This CL adds a enum that identifies each of the calling locations and adds an UMA stat which records the value of this enum. This should help us narrow down on the various profile corruption dialogs that we're seeing randomly on ChromeOS (and possibly on other platforms).

Owners reviews requested,
c/b/prefs - mnissler@
c/b/history - sky@
c/b/ui - pkasting@
c/b/webdata - pkasting@
t/m/histograms - isherman@

R=isherman@chromium.org, mnissler@chromium.org, pkasting@chromium.org, sky@chromium.org
BUG=318471

Review URL: https://codereview.chromium.org/110763002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239974 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 239974