Leave apps running on Windows and Linux when quitting Chrome.

Previously, when Chrome was quit from the wrench menu or the background mode
tray icon, all browser and app windows were closed. Now, all browser windows
are closed and background mode is suspended, but apps are left running. Other
quits, such as restarts, are not affected by this change.

BUG=130457

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231284 0039d316-1c4b-4281-b951-d872f2087c98
Enable Entity Suggestions in Chrome omnibox - Part 1

Google Search Engine can provide additional details for certain suggestions to
enable more informative display, and include more specific query parameters.
This data will be available in OpenSearch format to Chrome in the (last) element
of JSON response under google:suggestdetail key. It also identifies the
suggestion with a different type (google:suggesttype).

This CL implements following changes
SearchProvider
- Parse "google:suggestdetail" JSON array and pass the data to
   AutocompleteMatch.
- For entity details, we make the following changes
     - Original suggestion from the JSON response becomes the display query,
        and is used to fill into the |contents| of the match.
     - An annotation is appended to the |contents| of the match.
     - A disambiguating query replaces the original suggestion as the "search
        terms" will be queried. It also represents the text that will be placed into the
        omnibox when the suggestion is selected. (|match.fill_into_edit|)
     - Additional query parameters are passed to SearchTermsArgs as
        |suggest_query_params|.

Since there can be multiple suggestions with the same "search terms" and different
query params, the disambiguation of suggestions is now based on the combination
of the two. (Test included.)

In case, there is a conflict between SEARCH_HISTORY suggestion and
SEARCH_SUGGEST suggestion, we try to copy over the additional query params if
the suggestions are of different type, and the lower ranked one has query
params, and the higher ranked one doesn't.  Note that if the SEARCH_HISTORY
suggestion is ranked higher, it will suppress all SEARCH_SUGGEST suggestions
with the identical query terms. 


BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231285 0039d316-1c4b-4281-b951-d872f2087c98
chromeos: Remove SystemSaltGetter::GetSystemSaltSync

Make CryptohomeClient::GetSystemSalt asynchronous

BUG=141009

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231286 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 231285
Cleanup mojo_shell and sample_app a bit

This CL contains a number of cleanups now that the structure of mojo_shell is
clearer. Specifically,

1) I've moved sample_app.cc from mojo/shell to mojo/examples/sample_app. The
   sample_app isn't part of the mojo_shell. It's an example app that runs on
   top of the shell.

2) I've merged mojo/loader into mojo/shell. Originally, I thought it would be
   better to keep the loader separate, but we had to introduce a direct
   dependency from mojo/shell to net anyway, so we might as well merge these
   two directories. We'll probably pull them apart again when we can make the
   loader into a Mojo service.

   As part of this cleanup, I've also removed the Job/JobImpl split because
   that existed only to avoid leaking net headers. This ended up simplifying
   the code a bit.

3) I've renamed mojo/shell/android/shell_apk to mojo/shell/android/apk to
   remove some of the stutter from the directory name.

4) Finally, I've added a Quit task to run.cc in the error case so that we exit
   the main loop when we hit this error instead of spinning forever. This
   change is the only behavior change in this CL.

R=darin@chromium.org

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

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