Adds a MemoryPressureListener to sql::Connection.

This will allow SQLite database to reduce their page cache memory on systems
which provide a MemoryPressureListener signal.

BUG=243769

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212374 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/sql/connection.h b/sql/connection.h
index ab80a6c..3ee91ef 100644
--- a/sql/connection.h
+++ b/sql/connection.h
@@ -190,6 +190,12 @@
   // generally exist either.
   void Preload();
 
+  // Try to trim the cache memory used by the database.  If |aggressively| is
+  // true, this function will try to free all of the cache memory it can. If
+  // |aggressively| is false, this function will try to cut cache memory
+  // usage by half.
+  void TrimMemory(bool aggressively);
+
   // Raze the database to the ground.  This approximates creating a
   // fresh database from scratch, within the constraints of SQLite's
   // locking protocol (locks and open handles can make doing this with