| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Extracted from https://chromiumcodereview.appspot.com/23240002/
Currently we create all usage trackers for each pair QuotaClient/StorageType.
Most clients only support one storage type and filesystem support variable
list of types (it doesn't have kStorageTypeSyncable in unittests).
If filesystem has no syncable storage backend it not useless to keep create ClientUsageTracker. This tracker fails when GetHostUsage is invoked. So let's don't create it.
BUG=281252
Review URL: https://chromiumcodereview.appspot.com/23545016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221244 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=24672,76112
TEST=content_unittests
R=darin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23301002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219483 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=242290
TBR=jamesr@chromium.org
Review URL: https://codereview.chromium.org/20009002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213629 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=260807
TEST=none
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/19633002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212244 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
R=jamesr@chromium.org
Review URL: https://codereview.chromium.org/19463004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212085 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Also renames DeleteAfterReboot to DeleteFileAfterReboot, and removes FileUtilProxy::RecursiveDelete which was never called.
BUG=
R=shess@chromium.org
Review URL: https://codereview.chromium.org/18584011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211822 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Get rid of some error callbacks by converting to ScopedErrorIgnorer.
Also make the error suppression more specific.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/18051005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211696 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
|
|
|
|
|
|
|
|
|
| |
BUG=
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/18286004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211147 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename ReplaceFileAndGetError (only used once) to ReplaceFile (used 5 times) and have each of those callers specify NULL for the output error if they don't care.
Remove InsertBeforeExtension from file_util.cc which seems to be unused.
BUG=
Review URL: https://codereview.chromium.org/18383003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209532 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://codereview.chromium.org/16950028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209475 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=229660
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/18191004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209316 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=254986
TEST=none
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/18029013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209154 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
New API deletes main database and any associated files.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/17580023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208362 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Origin identifiers are computed by a process that always produces ASCII strings.
There's no reason to store origin identifiers as base::string16 or to do
unicode conversions for them. Keeping them stored in std::string is a slight memory
and performance improvement and avoids lots of sketchy conversions when converting
to FilePaths.
This patch still involves a number of conversions (or things that look like conversions)
at the WebKit API boundary.
BUG=243095
Review URL: https://chromiumcodereview.appspot.com/16965018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206903 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL changes the majority of include paths from the old
Source/WebKit/chromium/public to the new public/web directory.
TBR=darin
BUG=239545
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/17148003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206664 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also removes webkit/storage/*
BUG=239109
R=tzik@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/16701004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205996 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is the result of running the rewrite_scoped_ptr_ctor_null tool
across all files built on Linux in the webkit/ directory.
BUG=173286
Review URL: https://chromiumcodereview.appspot.com/15662016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205741 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This upates calls to bound temporary objects to also use get().
While it has the same semantic equivalence to the existing code, this generally
represents a dangerous pattern - indeed, part of the whole motivation for this
change is to make this anti-pattern very visible to authors.
This change simply updates all of the call sites, to allow the "operator T*"
to be removed and preventing new instances. The existing instances will then be
reviewed for "suspicious" changes and updated to use/pass scoped_refptr<T>
rather than T*, as appropriate.
BUG=110610
TBR=darin
Review URL: https://codereview.chromium.org/15984016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205560 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=247723
TEST=none
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/16434010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205512 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
webkit_storage_{browser,common,renderer}
This does:
- Remove all webkit/browser/foo/*.gypi, webkit/common/foo/*.gypi for storage
- Add three top-level gyp's in webkit/: storage_{browser,common,renderer}.gyp
storage_common and storage_renderer might be able to be subsumed in
bigger targets for common|renderer, but believe we can do that later
when necessary.
Original review: https://codereview.chromium.org/15716007/
BUG=239109
TBR=jamesr@chromium.org,mnaganov@chromium.org,thestig@chromium.org,avi@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/16091011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205489 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Broke split_link
> Split webkit_storage target into webkit_storage_{browser,common,renderer}
>
> This does:
> - Remove all webkit/browser/foo/*.gypi, webkit/common/foo/*.gypi for storage
> - Add three top-level gyp's in webkit/: storage_{browser,common,renderer}.gyp
>
> storage_common and storage_renderer might be able to be subsumed in
> bigger targets for common|renderer, but believe we can do that later
> when necessary.
>
> BUG=239109
> TBR=mnaganov,thestig,avi
> NOTRY=true
>
> Review URL: https://chromiumcodereview.appspot.com/15716007
TBR=kinuko@chromium.org
Review URL: https://codereview.chromium.org/16365013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205474 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This does:
- Remove all webkit/browser/foo/*.gypi, webkit/common/foo/*.gypi for storage
- Add three top-level gyp's in webkit/: storage_{browser,common,renderer}.gyp
storage_common and storage_renderer might be able to be subsumed in
bigger targets for common|renderer, but believe we can do that later
when necessary.
BUG=239109
TBR=mnaganov,thestig,avi
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/15716007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205463 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This keeps the forwarding header, just updates all current callers.
BUG=
R=avi@chromium.org
Review URL: https://codereview.chromium.org/16514006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205306 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It creates a class FileInfo to contain the details rather than using a platform-specific typedef. This allows the accessors GetName, GetSize, etc. to be moved directly to this class (previously they were static helpers on the FileEnumerator class) which makes a bunch of code much cleaner. It also gives reasonable getting and initialization which the previous version lacked.
BUG=175002
Reland of 198820 and 298824
Original review = https://codereview.chromium.org/13165005
R=rvargas@chromium.org
Review URL: https://codereview.chromium.org/16392011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205019 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
ipc/, media/, ppapi/, printing/, remoting/, rlz/, skia/, sql/, sync/, third_party/, tools/, webkit/, win8/.
BUG=none
TEST=none
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/15995038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204967 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
API cleanup.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/16026014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204734 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Linux fixes
BUG=110610
TBR=darin
Review URL: https://chromiumcodereview.appspot.com/16155009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203636 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 src/webkit'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/15937016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203020 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GetOriginsForType callback
The caller of GetOriginsForType should know the StorageType,
so this parameter will not add any information to the callback.
Historically this was useful when we'd used old callbacks.
BUG=220029
TEST=should not break existing tests
Review URL: https://chromiumcodereview.appspot.com/15925005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202805 0039d316-1c4b-4281-b951-d872f2087c98
|
|
content::WebDatabaseObserverImpl to the new common_child library.
- just moving the files in the source repository
- and fixing up complilation guards
- and fixing up include paths throughout
- and fixing up DEPs files as needed
Note: Everything in /webkit is still being built into the same old webkit_storage target
for now, new actual build target(s) will come later.
BUG=239109
R=jamesr@chromium.org, kinuko@chromium.org, piman@chromium.org, thestig@chromium.org
Review URL: https://codereview.chromium.org/15367010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201619 0039d316-1c4b-4281-b951-d872f2087c98
|