new tab creation can also fail right after we log in.

This is most likely a fallout of crrev.com/239532

Timeout for SyncRequest is 60 sec, which is too long for the initial tab creation/navigation which could fail. 

Also catch TabCrashExceptions for TabListBackend.New()

BUG=331940
TEST=manual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244920 0039d316-1c4b-4281-b951-d872f2087c98
Remembering the order of running applications for different users in multi profile mode

In multi profile mode we share the shelf view / windows between all users. As such we have to save and restore the shelf icon positions when switching users. Pinned applications are automatically handled with the given sync data. The order of running applications does not get synced and therefore does not get properly restored to the previous state when switching between users.

This CL does remember the order of running (and not pinned) applications and restores them when switching back to the user in question. Applications which get closed while the user is "invisible" will properly disappear and applications which automatically start in the background will be appended at the end of the list of running applications.

BUG=309029
TEST=unit tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244921 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244920
Files.app: Update the preview panel when its visibility type is changed.

Previously the preview panel is not updated when the its visibility type is
changed. This CL adds a method call to update the panel.

BUG=332646
TEST=manually

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

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