From d29efa8261b6b0472ea262dadc48a2808f7fdf39 Mon Sep 17 00:00:00 2001
From: "jsbell@chromium.org"
 <jsbell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Thu, 30 May 2013 16:53:14 +0000
Subject: Migrate the IndexedDB backend from Blink to Chromium

To get the IDB backend off the (deprecated) WebKit thread, remove
intermediate proxying, and let us take advantage of base utilities,
we're moving the code from Blink to Chromium.

This patch is basically a glorified copy/paste of the Blink IDB
backend code, with Chromium coding style applied, WTF dependencies
replaced with STL and base/, redundant classes removed, etc. It
introduces some new temporary proxy classes
(content/browser/webidb*_impl.*) to allow us build both the old and
new backends.

The new backend is currently disabled by default. It can be enabled
using a new (and temporary) command line switch: --new-indexeddb Once
we've done some further cleanup and are confident that the new backend
is stable, and the bots have moved from DumpRenderTree to
content_shell, we'll switch to the new backend by default. Once that
has survived through a dev channel release, we'll delete the Blink
code and eliminate unnecessary proxy classes.

BUG=234278
R=alecflett@chromium.org, dgrogan@chromium.org, piman@chromium.org

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202215

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202604

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203164 0039d316-1c4b-4281-b951-d872f2087c98
---
 android_webview/tools/third_party_files_whitelist.txt | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'android_webview')

diff --git a/android_webview/tools/third_party_files_whitelist.txt b/android_webview/tools/third_party_files_whitelist.txt
index 4f67aee..b135b85 100644
--- a/android_webview/tools/third_party_files_whitelist.txt
+++ b/android_webview/tools/third_party_files_whitelist.txt
@@ -73,6 +73,10 @@ chrome_frame/CFInstance.js
 chrome/tools/test/generate_mime_tests.pl
 # Copyright Alf Watt; BSD license. Not used on Android.
 content/browser/geolocation/osx_wifi.h
+# Copyright The Chromium Authors and Apple Inc. Taken from Blink.
+content/browser/indexed_db/leveldb/avltree.h
+# Copyright The Chromium Authors and Apple Inc. Taken from Blink.
+content/browser/indexed_db/leveldb/fixed_array.h
 # Copyright The Chromium Authors, Apple Inc and Graham Dennis; BSD license. Not
 # used on Android.
 content/browser/renderer_host/render_widget_host_view_mac.mm
-- 
cgit v1.1