[sync] Limit DirectoryBackingStore database cache size.

SQLite allocates more than 1MB cache for the DB. We should limit
the cache size to a few hundred KBs like other tables.

BUG=280909

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234900 0039d316-1c4b-4281-b951-d872f2087c98
Remove 4 static initializers on linux.

clang doesn't need static initializers for TimeDeltas, but gcc does. This
accounts for 2 initializers.  Also move two constants to the header which are
used in the initialization of other constants ("const int kB = kA + 10"). This
accounts for the other 2 (one of them being introduced in the aura switch.)

BUG=317171,94925
R=erg@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234901 0039d316-1c4b-4281-b951-d872f2087c98
Adds the speech recognition button to the app-list searchbox.

BUG=313904
R=xiyuan@chromium.org
TBR=jamescook@chromium.org
TEST=manually

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234902 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 234901
Make thread checking in DomDistillerDatabase::LevelDB more flexible

This replaces the ThreadChecker with a ThreadCollisionWarner.

The LevelDB does not actually need to be run on a single thread,
instead it just needs its function calls to be sequenced in some
way.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234903 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 234903
Extensions: Fix a NULL pointer crash for when --load-extension fails.

BUG=318630
TEST=launch with --load-extension=/tmp/non_existent_path does not cause a crash.

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

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