| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
BUG=338338
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/259083002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267345 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
where they'll be needed.
BUG=108012
Review URL: https://codereview.chromium.org/229623002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263693 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
passed around together.
This includes a convenience method CreateConnection in IndexedDBDatabase.cc that's not strictly needed for this change, but makes the merge of other related CLs easier later.
BUG=108012
R=cmumford,jsbell
Review URL: https://codereview.chromium.org/198223002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257568 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is part of attempting to get rid of MessageLoop::Type enum.
BUG=none
TEST=none
R=darin@chromium.org
Review URL: https://codereview.chromium.org/136683004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244996 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
First implementation contained a memory leak in the test due to a
missing scoped_ptr.
BUG=259564
Review URL: https://codereview.chromium.org/93873017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244369 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> IndexedDBFactory now ForceCloses databases.
>
> Also, IndexedDBContextImpl used to maintain a map of open
> connections. This change also deletes this map, and instead
> relies on one which already exists in IndexedDBFactory.
>
> BUG=259564
>
> Review URL: https://codereview.chromium.org/93873017
TBR=cmumford@chromium.org
Review URL: https://codereview.chromium.org/134503003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244273 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also, IndexedDBContextImpl used to maintain a map of open
connections. This change also deletes this map, and instead
relies on one which already exists in IndexedDBFactory.
BUG=259564
Review URL: https://codereview.chromium.org/93873017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244240 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=330556
TEST=no change
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/121033002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242483 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Noticed by code inspection: if an open call fails because the specified
version is too low, the IndexedDBDatabase instance is retained in the
IndexedDBFactory's map since there's no connection to later release it.
Predicate adding a database to the map on a connection being added.
Also, make factory state test helpers private and use FRIEND_TEST_...()
R=dgrogan@chromium.org
BUG=326264
Review URL: https://codereview.chromium.org/107693004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240185 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://codereview.chromium.org/100573002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238446 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
A failed write by leveldb can indicates either a transient I/O error by the foreground thread or that the background compaction thread has hit an error (I/O or corruption) which will make all future operations fail.
In lieu of being able to distinguish these for now, treat the write operation as fatal and force-close the backing store so that if the error was transient the store is not wedged until a browser restart. A well-behaved web app would be able to detect the close and re-open the connection.
BUG=251870
Review URL: https://codereview.chromium.org/48833005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231974 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
No new tests, just code shuffle.
TBR=jochen@chromium.org
R=dgrogan@chromium.org
Review URL: https://codereview.chromium.org/28903007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229676 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Once a database connection object is closed it doesn't
need to hold a database reference. This can be used to
detect the case where a request arrives from a renderer
after a connection is forcibly closed by the back end,
and drop the request.
In most cases the request would be associated with a
transaction that would have been aborted/removed from
the database's list and hence the request would just
be dropped. The CreateTransaction() and Close() requests
aren't, so they need this check. In the other cases
this will just exit earlier and let the database object
be released.
BUG=308699
Review URL: https://codereview.chromium.org/26454005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229627 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
Rather than just blowing away the directory, use leveldb's dedicated
DestroyDB() to remove backing stores, which attempts to grab a lock.
Review URL: https://codereview.chromium.org/27048003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228768 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
to the base namespace.
TBR=sky
Review URL: https://codereview.chromium.org/19052005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211675 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
scoped_refptr<T> with implicitly cast to T* so most explicit .get()
calls can be removed. Most of these are from the Blink migration.
Review URL: https://chromiumcodereview.appspot.com/18147009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209939 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Simplify what was a proxy class with a little bit of state to just the state, and reveal its true nature as the object that binds a db callback to a database - i.e. the actual connection object. Track this, rather than the db callback, in the database itself so that the a database can operate on connections (e.g. force close them all in case of backing store error)
BUG=234278
R=dgrogan@chromium.org
TBR=jam@chromium.org
Review URL: https://chromiumcodereview.appspot.com/18221003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209886 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes a number of cases either not caught by the automated tool or that have
recently regressed.
BUG=206189
TBR=darin
Review URL: https://chromiumcodereview.appspot.com/17948002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208882 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=234279
Review URL: https://chromiumcodereview.appspot.com/17518004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208544 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This switches over to using the logic added in r206815 for database id /
origin identification instead of WebSecurityOrigin. I'll delete the old code
after this has landed.
BUG=243095
TBR=thakis
Review URL: https://chromiumcodereview.appspot.com/16879013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207191 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://chromiumcodereview.appspot.com/17060009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206510 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://chromiumcodereview.appspot.com/16573003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205132 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=234278
R=alecflett@chromium.org,dgrogan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/16005006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204065 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203164
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203257
Review URL: https://codereview.chromium.org/15564008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203443 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 71c1cbb0f63b371bc4167c9735e400457b376df2.
Landed the wrong patch.
BUG=
TBR=jsbell
Review URL: https://codereview.chromium.org/15853013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203258 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203164
Review URL: https://codereview.chromium.org/15564008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203257 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit d29efa8261b6b0472ea262dadc48a2808f7fdf39.
Failure for "memory test: content" on "Chromium Mac (valgrind)(2)".
BUG=234278
TBR=motownavi@chromium.org
Review URL: https://codereview.chromium.org/15701012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203187 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL includes:
- Move webkit/quota/quota_{types.{h,cc},callbacks.h} webkit/common/quota/,
- Move other webkit/quota/ files to webkit/browser/quota/,
- #include and include guard fix for the move,
- Split webkit/quota/webkit_quota.gypi to webkit/{browser,common}/quota,
- Change DEPS to allow #include webkit/common from chrome/browser.
BUG=244363
TEST=should build successfully and should pass deps check.
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/16010007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203082 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These headers have moved from Source/Platform/chromium/public to
public/platform. This CL updates content's references to the old location to
point to the new location. After this CL lands, I'll remove the forwarding
headers that are letting these references still work.
TBR=jamesr@chromium.org
BUG=239545
Review URL: https://chromiumcodereview.appspot.com/15822010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203047 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 4d9d3bc75c7e6598f8c3b3341f8b9d05afcb821d.
BUG=234278
TBR=caitkp
Review URL: https://codereview.chromium.org/15659013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202633 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Review URL: https://codereview.chromium.org/15564008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202604 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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
>
> Review URL: https://codereview.chromium.org/15564008
TBR=jsbell@chromium.org
Review URL: https://codereview.chromium.org/15870003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202302 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Review URL: https://codereview.chromium.org/15564008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202215 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DatabaseUtil::GetOriginFromIdentifier
- Combine fileapi::GetOriginURLFromIdentifier() and
DatabaseUtil::GetOriginFromIdentifier() into webkit_base::GetOriginURLFromIdentifier().
- Combine fileapi::GetOriginIdentifierFromURL() and
DatabaseUtil::GetOriginIdentifier() into webkit_base::GetOriginIdentifierFromURL().
BUG=116476
R=dgrogan@chromium.org,kinuko@chromium.org
TBR=sky@chromium.org # for content/browser/renderer_host/
Review URL: https://chromiumcodereview.appspot.com/14651010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199370 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=236029
R=avi@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14335017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198316 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This will allow chrome to fully implement the WebIDB* interfaces.
BUG=233361
TBR=tsepez
Review URL: https://chromiumcodereview.appspot.com/14694004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197849 0039d316-1c4b-4281-b951-d872f2087c98
|
|
This is mostly cosmetic, but this is the main export from
this directory and this means consumers don't look like they
are \#include'ing webkit stuff.
BUG=
Review URL: https://chromiumcodereview.appspot.com/13233002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191561 0039d316-1c4b-4281-b951-d872f2087c98
|