SVN changes up to revision 186072
Omnibox: Use Keyword Search Engine Suggested Relevance Scores (if available)

Why?  Because some people like using keyword searches, and some keyword search engines (such as google) provide suggested relevance scores.  We should use these scores and thereby provide the users better results.

After submitting this, I plan to do a series of clean up / refactoring of SearchProvider.  Here's the plan:
1. submit this.
2. restructure the SuggestResult and NavigationResult types so they know how to score themselves (and roll back their scores if necessary).  Mostly this will probably be moving some scoring functions into those classes and adding some
member variables so they can work correctly.
3. if possible combine SuggestResult and NavigationResult into one list.  No more default_suggest_results_ and default_navigation_results_ parallel lists.
4. create a separate structure for storing suggest state so we can get rid of the parallel lists default_suggest_results_ and keyword_suggest_results, default_verbatim and keyword_verbatim, etc.  (An earlier version of this patch did precisely this but was premature.)
5. if possible, combine the Providers inner class with the suggest state class introduced in 4.

BUG=175595

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186073 0039d316-1c4b-4281-b951-d872f2087c98
Add some NULL checks for shared memory and AudioBus creation.

Seemingly we're getting a NULL ptr inside of the AudioBus used by
the AudioOutputDevice.  It looks like SharedMemory::Map() fails,
so I've added some CHECK()s to validate this case.

BUG=179986
TEST=media_unittests


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186074 0039d316-1c4b-4281-b951-d872f2087c98
Remove Android specific code for registering password datatype.

Android registers password datatype only when sync-keystore-encryption
flag is specified. Remove the Android specific check, so that the flag
can be flipped dynamically.

BUG=113164
TEST=Manual


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186075 0039d316-1c4b-4281-b951-d872f2087c98
cros: Forward kEnableBrowserPluginCompositing switch in restart request.

BUG=none.
TEST=Verify the switch is forwarded for guest and app mode.

R=zelidrag@chromium.org


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

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

We implement this by creating a local queue of entries we've received invalidations for and then immediately acknowledging to Tango. When InvalidationHandlers acknowledge that they've finished processing for an id, we erase their entry from the queue; otherwise, we send reminder invalidations on an exponentially increasing delay.

BUG=124149

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186079 0039d316-1c4b-4281-b951-d872f2087c98
Add StoragePartition::StorageMask for ClearData methods

Android WebView has some storage clear methods are based on different
conditions than what is exposed already in StoragePartition. But all
the underlying logic is already implemented. So just add a mask
parameter to the existing methods to for this flexibility.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186080 0039d316-1c4b-4281-b951-d872f2087c98
Fix GetBounds() and GetRestoredBounds() on NativeAppWindowGtk.

The functions were returning content bounds, not frame bounds.

R=estade@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186081 0039d316-1c4b-4281-b951-d872f2087c98
Webkit roll 144649:144673

http://trac.webkit.org/log/?rev=144673&stop_rev=144650&verbose=on

TBR=

BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186082 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186083 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 186082
SVN changes up to revision 186083
Reinstate files from a previous changelist that were reverted expirementally.

These files were LGTMed and checked in, but reverted speculatively to fix a
build problem.  The problem was not fixed by the revert, so the rest of the CL
got checked back in, but somehow these files got missed.

These files are test data for a disabled browser test (so they cannot affect
the current build or browser test in theory).


BUG=179442


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186085 0039d316-1c4b-4281-b951-d872f2087c98
Don't crash when the dconf settings backend can't connect to the session bus

When running the content module e.g. within a screen session, it's not possible
to connect to the dbus session bus. Don't crash when the corresponding warning
is logged.

BUG=179797
R=piman@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186086 0039d316-1c4b-4281-b951-d872f2087c98
Transfer data as ref counted memory, not as a file to avoid file operation when memory block is a source data.
Delete file immediately after reading, not on dialog close.

BUG=172554

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186087 0039d316-1c4b-4281-b951-d872f2087c98
Don't show newly-enabled hosts as out-of-date.

When enabling remote connections for the local system, the
host was being shown as out-of-date, because the dummy host
entry (created for the new host pending a heartbeat) didn't
have any version number set. This CL sets a version that is
new enough not to trigger the warning.


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186088 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 186088
Switched menu border to use same border as context help


BUG=179383
TEST=visual


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186089 0039d316-1c4b-4281-b951-d872f2087c98
Android: Use ObserverList to maintain a list of observers/listeners

Using ObserverList allows for observers adding/removing themselves/others while they are being notified, in a safe way

BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186090 0039d316-1c4b-4281-b951-d872f2087c98