| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
RunAllPending() is deprecated and we should switch to RunUntilIdle().
BUG=131220
TBR=darin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11595003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173357 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is blocking https://bugs.webkit.org/show_bug.cgi?id=102726 since
QuotaStatusCode hard codes the values which prevents us from changing those
values.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11434107
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171133 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
NOTRY=true
R=darin@chromium.org
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11308132
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168978 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Also add to base namespace.
BUG=
Review URL: https://codereview.chromium.org/11359217
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168281 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
function to convert enum to error strings.
BUG=156791
TBR=benwells@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11363098
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166188 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This could cause mysterious errors in usage cache in quota_manager
(usage_tracker)
BUG=none
Review URL: https://codereview.chromium.org/11358063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165906 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove webkit/database/quota_table* since it's not used.
Merge 'database' and 'quota' to 'webkit_storage'.
Add WEBKIT_STORAGE_EXPORT(_PRIVATE) when necessary.
BUG=155242
TEST=build
TBR=jam@chromium.org for trivial gyp changes
Review URL: https://chromiumcodereview.appspot.com/11274003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164329 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
free space.
BUG=153501
Review URL: https://chromiumcodereview.appspot.com/11189055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162673 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=green bots
Review URL: https://codereview.chromium.org/11112012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161550 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
superclasses GetOriginsTaskBase, HelperTask. Also deleted QuotaTaskThread class as nothing references that anymore.
BUG=139270
Review URL: https://chromiumcodereview.appspot.com/11091042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161307 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Original review: http://codereview.chromium.org/11096022/
Changes from the original review: added file_system_context.h include in
webkit/fileapi/file_system_operation_context.h (as it needs the definition
for implicit copy constructor)
BUG=none
TEST=green bots
TBR=tzik@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11091041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161095 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[Build failure on Windows.]
BUG=none
TEST=none
Review URL: https://codereview.chromium.org/11096022
TBR=kinuko@chromium.org
Review URL: https://codereview.chromium.org/11028109
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161057 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: https://codereview.chromium.org/11096022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161054 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=139270
Review URL: https://chromiumcodereview.appspot.com/11096019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161052 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=143646
Review URL: https://chromiumcodereview.appspot.com/11094029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161031 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TBR=ben,brettw,oshima,rdsmith
Review URL: https://chromiumcodereview.appspot.com/11087021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160999 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
PostTaskAndReply(). These are the last two references to QuotaThreadTask in webkit/fileapi.
BUG=139270
Review URL: https://chromiumcodereview.appspot.com/11045018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160326 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=148900
Review URL: https://chromiumcodereview.appspot.com/10958032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158547 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
- to share the single implementation in existing tests
- to make it easier for writing new tests
BUG=none
TEST=existing tests
Review URL: https://chromiumcodereview.appspot.com/10915202
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157964 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=148900
TBR=jam@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10948006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157746 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=148900
TBR=mkwst@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10916313
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157523 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=147763
TBR=jam@chromium.org,estade@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10915203
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156496 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=115047
TBR=kinuko@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10915137
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155367 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a one of a series of refactoring patches for QuotaManager.
http://codereview.chromium.org/10872054/
http://codereview.chromium.org/10917060/
BUG=139270
Review URL: https://chromiumcodereview.appspot.com/10919070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154987 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a one of a series of refactoring patches for QuotaManager.
The previous patch is here: http://codereview.chromium.org/10872054/
The tasks to be refactored by this patch are as follows:
- DeleteOriginInfo
- InitializeTemporaryOriginsInfoTask
- UpdateAccessTimeTask
- UpdateModifiedTimeTask
- GetModifiedSinceTask
- DumpQuotaTableTask
- DumpOriginInfoTableTask
BUG=139270
Review URL: https://chromiumcodereview.appspot.com/10917060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154727 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is a lot of tasks inherited from QuotaThreadTask, so in this CL I refactored only a part of them:
- InitializeTask
- UpdateTemporaryQuotaOverrideTask
- GetPersistentHostQuotaTask
- UpdatePersistentHostQuotaTask
- GetLRUOriginTask
And, some tasks to be refactored are still left:
- DeleteOriginInfo
- InitializeTemporaryOriginsInfoTask
- InitializeTemporaryOriginsInfoTask
- UpdateAccessTimeTask
- UpdateModifiedTimeTask
- GetModifiedSinceTask
- DumpQuotaTableTask
- DumpOriginInfoTableTask
I will do them in next CLs.
BUG=139270
Review URL: https://chromiumcodereview.appspot.com/10872054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153655 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously we returned kNoLimit, which prevents apps from managing disk usage.
BUG=141583
TEST=
R=kinuko
Review URL: https://chromiumcodereview.appspot.com/10826270
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153248 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Replace foo_usage_tracker_ with GetUsageTracker(type) in quota_manager.cc
* Killing unused template types in quota_types.h
* Adding parameter names in Callback typedefs in quota_types.h
BUG=none
TEST=green bots
Review URL: https://chromiumcodereview.appspot.com/10882009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153182 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=142310
Review URL: https://chromiumcodereview.appspot.com/10832407
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152532 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=142310
Review URL: https://chromiumcodereview.appspot.com/10827298
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151429 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to a bug, the Clang-plugin style checker failed to warn about
inline constructors, destructors, non-empty virtual methods, etc.
for nested classes.
The plugin has been fixed, and this patch is part of a clean-up of all
the code that now causes the plugin to issue errors.
BUG=139346
Review URL: https://chromiumcodereview.appspot.com/10829258
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150912 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
For context see this thread:
https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II
TBR=thakis,pkasting,jam
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
modification time exactly matches the beginning.
This includes origins with modification time 0 in the result when fetching origins "since the beginning of time".
BUG=134825
TEST=content_unittests:QuotaDatabaseTest.OriginLastModifiedSince; manual: Database storage is deleted from the Clear Browsing Data dialog.
Review URL: https://chromiumcodereview.appspot.com/10700035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146102 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Test file edition.
BUG=none
TEST=none
TBR=remaining owners
Review URL: https://chromiumcodereview.appspot.com/10680013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144464 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This includes appcache, blob, database, dom_storage, and quota.
Many tests needed MessageLoops, which I've added as appropriate.
Review URL: https://chromiumcodereview.appspot.com/10540042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141139 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=123295
TEST=it compiles
Review URL: https://chromiumcodereview.appspot.com/10416004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140265 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change includes
- rename variable name of paths, (e.g. "filesystem:http://example.com/temporary/hoge/fuga")
--- path: FileSystemPath past by upper layer, ("http://example.com", kTemporary, "hoge/fuga")
--- virtual_path: path.internal_path(), ("hoge/fuga")
--- local_path: origin, type & absolute native path
--- local_file_path: absolute native path (e.g. "/home/tzik/.config/chromium/Default/File System/001/t/00/0000001")
--- data_path: native path, relative to origin directory (e.g. "00/0000001")
- use FilePath instead of FileSystemPath for source path in CopyInForeignFile.
- refactor CopyOrMoveFile and CopyInForeignFile of ObfuscatedFileUtil
- merge QuotaFileUtil into ObfuscatedFileUtil
- fixing tests
BUG=114732
TEST='ObfuscatedFileUtilTest.*'
Review URL: https://chromiumcodereview.appspot.com/10051004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136521 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=123559
TEST=existing tests
Review URL: https://chromiumcodereview.appspot.com/10197007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135616 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=123295
TEST=none
Review URL: http://codereview.chromium.org/10066044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134449 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
libcompositor (.so) gets linked against libwebkit_fileapi (.a) and libwebkit_quota (.a), each of which is built with googleurl, but does not include it as a dependency, causing libcompositor (.so) to not include all of the symbols it requires.
R=kinuko@chromium.org
BUG=112626
TEST=Compiled chromeos with shared library on a buildbot like setup.
Review URL: http://codereview.chromium.org/9980022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132201 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch also replaces the global AtomicSequenceNumber variables with
StaticAtomicSequenceNumber in order to remove static initializers.
BUG=94925
Review URL: http://codereview.chromium.org/9415039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126376 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By the standard, static constants should also have a definition counterpart to
allocate storage space. It's not strictly necessary for ints (but it puts usage
restrictions on them), and for some reason we are having linking failure on
Chrome on Android when building with clang compiler, maybe that's because of
using templates or perhaps it's a clang issue.
Anyway, converting this constant into an enum solves the problem.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9585014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124711 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9456030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123369 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
instead of depending on the embedder. Apart from allowing us to hide more of content from embedders, it simplifies the work that every embedder has to do (see the change the shell_browser_context.cc as an example).
BUG=98716
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=122521
Review URL: https://chromiumcodereview.appspot.com/9419033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122768 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After landing a fix for crbug.com/94334, the mock client IDs are no longer
necessary for tests (and, in fact, are counterproductive).
BUG=113380
TEST=test_shell_tests
Review URL: http://codereview.chromium.org/9369027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121444 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
To enable a more fine-grained extension API that would allow removal of specific data types, this CL changes the QuotaClient::ID enum values to bitmasky flags, and adds a bitmask parameter to QuotaManager::DeleteOriginData and QuotaManager::DeleteHostData to filter the clients that are deleted for each origin.
BUG=94334
TEST=test_shell_tests,unit_tests
Review URL: http://codereview.chromium.org/7839029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121269 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
R=shess@chromium.org
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/9249025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120709 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Over 341 CLs, in ~3 months, touching 3251 unique files!
Top 5 most CLs:
(121) jhawkins
( 45) dcheng
( 24) achuith
( 23) csilv
( 12) tfarina
( 12) groby
~1000 files touched:
(918) jhawkins
100+ files touched:
(486) ajwong
(385) willchan
(372) dcheng
(126) csilv
(123) fischman
(112) sergeyu
49+ files touched:
(65) tfarina
(57) acolwell
(52) adamk
(49) tzik
BUG=35223
TEST=existing
Review URL: http://codereview.chromium.org/9114020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116748 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Goal is to encourage callers to handle errors, especially in cases
like schema changes, where dropped errors can result in broken
databases.
Many CREATE INDEX calls where ignoring errors rather than checking if
the index already existed before creating it. Recoded those to CREATE
INDEX IF NOT EXISTS, which is for exactly this purpose.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/9005036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115725 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
R=ajwong
Review URL: http://codereview.chromium.org/8965035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115465 0039d316-1c4b-4281-b951-d872f2087c98
|