| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Axes about 2900 SLOC and iPhoto support. Affects Mac OSX only.
BUG=542912
Review URL: https://codereview.chromium.org/1805203002
Cr-Commit-Position: refs/heads/master@{#382034}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We're removing this, in favor of PATH_SEPARATORS and
URL_SPECIAL_CHARS_EXCEPT_PATH_SEPARATORS, to avoid any
security issues with this, going forward.
Permission checking is done in ParseFileSystemSchemeURL, so unescaping
them should be safe, though this is different from how file URLs are
handled.
BUG=589257
Review URL: https://codereview.chromium.org/1761083002
Cr-Commit-Position: refs/heads/master@{#379209}
|
|
|
|
|
|
|
|
|
|
|
| |
It should live with the other DatabaseIdentifier-wrangling functions.
BUG=591240
R=michaeln@chromium.org
Review URL: https://codereview.chromium.org/1753403002
Cr-Commit-Position: refs/heads/master@{#379023}
|
|
|
|
|
|
|
|
|
|
|
| |
... and add "bad character" checks to the Blink impl.
BUG=568467
R=mkwst@chromium.org,michaeln@chromium.org
Review URL: https://codereview.chromium.org/1721973002
Cr-Commit-Position: refs/heads/master@{#378835}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds out of line copy constructors for classes that our
clang-plugin considers heavy. This is an effort to enable copy
constructor checks by default.
BUG=436357
R=piman@chromium.org, dcheng@chromium.org, thakis@chromium.org
Review URL: https://codereview.chromium.org/1734523003
Cr-Commit-Position: refs/heads/master@{#377983}
|
|
|
|
|
|
|
|
|
| |
BUG=138542
TBR=danakj@chromium.org
Review URL: https://codereview.chromium.org/1541933002
Cr-Commit-Position: refs/heads/master@{#366458}
|
|
|
|
|
|
|
|
| |
BUG=138542, 488550
Review URL: https://codereview.chromium.org/1502503004
Cr-Commit-Position: refs/heads/master@{#364133}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch encompasses all browser classes and logic for blob async transportation. This is a no-op.
Patches:
1: https://codereview.chromium.org/1287303002 (committed)
2: https://codereview.chromium.org/1288373002 (committed)
3: https://codereview.chromium.org/1292523002 (committed)
4: https://codereview.chromium.org/1098853003
Hookup: https://codereview.chromium.org/1234813004
See https://bit.ly/BlobStorageRefactor
BUG=375297
Review URL: https://codereview.chromium.org/1098853003
Cr-Commit-Position: refs/heads/master@{#362802}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The recent formatter alphebetizing change is causing a lot of noise in
code reviews. Figured it'd be worth a clean-up CL.
Exact command I ran:
find . -name "*.gn*" -exec gn format --in-place "{}" \;
TBR=ddorwin@chromium.org
BUG=554928
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1464873002
Cr-Commit-Position: refs/heads/master@{#360891}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's very heavy, and on the JavaScript side the metadata is discarded
anyway, and another call is used to obtain it.
TEST=All existing tests should pass. Tested manually with MTP and
chrome://quota-internals, then filesystem://.../isolated in the browser.
BUG=None
Review URL: https://codereview.chromium.org/1432403003
Cr-Commit-Position: refs/heads/master@{#359768}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note: This patch is a no-op.
Patches:
1: https://codereview.chromium.org/1287303002
2: https://codereview.chromium.org/1288373002
3: https://codereview.chromium.org/1292523002
4: https://codereview.chromium.org/1098853003
Hookup: https://codereview.chromium.org/1234813004
BUG=375297
Review URL: https://codereview.chromium.org/1292523002
Cr-Commit-Position: refs/heads/master@{#357258}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL contains constants for the
Blob Async Transport refactor.
Note: This CL is currently a no-op, hookup is in the 'Hookup' patch.
Patches:
1: https://codereview.chromium.org/1287303002 (Committed!)
2: https://codereview.chromium.org/1288373002
3: https://codereview.chromium.org/1292523002
4: https://codereview.chromium.org/1098853003
Hookup: https://codereview.chromium.org/1234813004
BUG=375297
Review URL: https://codereview.chromium.org/1288373002
Cr-Commit-Position: refs/heads/master@{#357248}
|
|
|
|
|
|
|
|
|
|
| |
Instead, block the main thread while waiting for databases to close. If they don't close quickly enough, use CHECK to end the process.
BUG=472618
Review URL: https://codereview.chromium.org/1413093004
Cr-Commit-Position: refs/heads/master@{#356755}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch removes aliases for base::MessageLoop::QuitWhenIdle & base::MessageLoop::QuitWhenIdleClosure, and includes minor formatting changes made by using git cl-format.
BUG=131220
TEST=
R=danakj@chromium.org,brettw@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1390513002
Cr-Commit-Position: refs/heads/master@{#355763}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove StringToLowerASCII. This removes the template and makes a consistent call that can take a string piece.
http_response_headers.cc in HttpResponseHeaders::RemoveHeaderLine there seemed to be a bug where it did
std::string old_header_name_lowercase(name);
where it actually meant
std::string old_header_name_lowercase(old_header_name);
I fixed this.
There were a number of cases where url.host() or url.scheme() was passed to ToLowerASCII. These are already guaranteed lower-case, so I removed the call.
There were a number of cases in net that did return ToLowerASCII().c_str() when the return type is a std::string, which is unnecessary and wasteful. I removed the c_str() call.
NOPRESUBMIT=true
(for touching code with wstrings)
Review URL: https://codereview.chromium.org/1282363003
Cr-Commit-Position: refs/heads/master@{#342869}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Standardize on using string pieces and returning strings. Remove in-place version (this was only used in a couple places and they were not performance-critical).
De-templatize the character versions of ToUpperASCII/ToLowerASCII. This would lead to bizarre errors if you pass other things (like a string). This is so little code, it's now just duplicated.
I renamed StringToLowerASCII to just be ToLowerASCII so you can pass whatever you want to ToLowerASCII and it does the right thing. This seems simpler to me.
This replaces all calls of StringToUpperASCII to the new form. The lowercase version is more common and will be done in a separate pass.
Review URL: https://codereview.chromium.org/1280473002
Cr-Commit-Position: refs/heads/master@{#342219}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Once blink headers are added as sources (https://codereview.chromium.org/1222673004/), if you run the following
command line, you will get errors like this:
$ gn check
ERROR at //storage/common/fileapi/file_system_util.h:17:11: Include not allowed.
^------------------------------------------------
It is not in any dependency of
//storage/common:common
The include file is in the target(s):
//third_party/WebKit/public:blink_headers
which should somehow be reachable.
BUG=367595
Review URL: https://codereview.chromium.org/1222733002
Cr-Commit-Position: refs/heads/master@{#337904}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This blacklists the following Unicode characters:
- U+1F50F LOCK WITH INK PEN
- U+1F510 CLOSED LOCK WITH KEY
- U+1F512 LOCK
- U+1F513 OPEN LOCK
This prevents LOCK characters from appearing in a URL in the Chrome UI,
potentially looking like an SSL padlock icon (e.g., "google.com/🔒" is
now displayed as "google.com/%F0%9F%94%92"). This presented a spoofing
risk due to a few complications:
1. In RTL mode, the end of the URL (path/query) is aligned right up
against the right edge of the Omnibox, where the SSL padlock is
usually displayed.
2. On Mac, ChromeOS, and Android, LOCK characters are displayed in
colour, making them more convincing.
Note: These characters will still be unescaped when using the
SPOOFING_AND_CONTROL_CHARS unescape rule (used for decoding data URLs,
previously known as CONTROL_CHARS).
BUG=495934,421332
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/1180393003
Cr-Commit-Position: refs/heads/master@{#335870}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL allows blobs to be backed by disk cache entries, and also
migrates the Cache Storage Cache implementation to use this
functionality. This is very useful in the ServiceWorker case, as the
existing implementation was copying entire disk cache entries to RAM
before serving them to consumers.
BUG=None
Review URL: https://codereview.chromium.org/1108083002
Cr-Commit-Position: refs/heads/master@{#335185}
|
|
|
|
|
|
|
|
|
|
| |
Removes some unnecessary base:: qualifications in the base files I touched. clang-formatted file_util_unittest because lots of wrapping changed with this removal (seems to be a big improvement).
BUG=
Review URL: https://codereview.chromium.org/1171973003
Cr-Commit-Position: refs/heads/master@{#333560}
|
|
|
|
|
|
|
|
|
|
|
|
| |
As any includes present in the related header do not need to be included again in the related cc (i.e., foo.cc can rely on foo.h's includes).
A trivial way to fix these is by removing such an include from the .cc file. So this CL removes all includes from $X.cc files where the $X.h has the same include to confirm to the style guide.
BUG=460988
Review URL: https://codereview.chromium.org/1139323003
Cr-Commit-Position: refs/heads/master@{#330693}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
storage module.
MessageLoopProxy is deprecated.
This basically does a search and replace of:
MessageLoopProxy::current() -> ThreadTaskRunnerHandle::Get().
MessageLoopProxy -> SingleThreadTaskRunner
BUG=391045
Review URL: https://codereview.chromium.org/1120553002
Cr-Commit-Position: refs/heads/master@{#328095}
|
|
|
|
|
|
|
|
|
|
|
| |
This is part of a long-running background task to remove the remaining
uses of the unchecked IPC_ENUM_TRAITS() macro.
BUG=246708
Review URL: https://codereview.chromium.org/1101053002
Cr-Commit-Position: refs/heads/master@{#327687}
|
|
|
|
|
|
|
|
|
|
|
|
| |
Application of https://codereview.chromium.org/962003002/.
TBR=keybuk@chromium.org
R=brettw@chromium.org
BUG=456014
Review URL: https://codereview.chromium.org/960413003
Cr-Commit-Position: refs/heads/master@{#318574}
|
|
|
|
|
|
|
|
|
|
| |
This is the size_t to integer conversion warning. Using the config prevents flag duplication and is clearer to read.
Minor updates to Win64 build, including some fixes for size_t to int conversions.
Review URL: https://codereview.chromium.org/929793006
Cr-Commit-Position: refs/heads/master@{#317162}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://bit.ly/AutoBlobToDisk
R=michaeln, piman
BUG=375297
Committed: https://crrev.com/4e45f41babddb10985c8c0afb9b0b6b9e8356094
Cr-Commit-Position: refs/heads/master@{#312770}
Review URL: https://codereview.chromium.org/821913004
Cr-Commit-Position: refs/heads/master@{#312907}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Renaming classes to be more descriptive.
* Changing smart pointers to reflect strict ownership model.
* Adding pointers to facilitate future resource swapping.
* Remove renderer-side dependency on blob_data.h
This patch makes all of the far-reaching changes that effect
everyone that uses the blob storage context. Subsequent
changes should only effect the blob infrastructure.
https://bit.ly/AutoBlobToDisk
BUG=375297
Review URL: https://codereview.chromium.org/810403004
Cr-Commit-Position: refs/heads/master@{#312800}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
id:140001 of https://codereview.chromium.org/821913004/)
Reason for revert:
This caused regression on some layout tests.
e.g.
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.6%20%28deps%29/builds/35407
fast/files/read-blob-async.html
fast/files/workers/worker-read-blob-async.html
fast/files/workers/worker-read-blob-sync.html
fast/files/workers/worker-read-file-constructor-async.html
http/tests/local/blob/send-data-blob.html
http/tests/navigation/beacon-same-origin.html
http/tests/websocket/bufferedAmount-after-send.html
Original issue's description:
> [Storage] Consolidation of BlobItems with small size
> https://bit.ly/AutoBlobToDisk
>
> R=michaeln, piman
> BUG=375297
>
> Committed: https://crrev.com/4e45f41babddb10985c8c0afb9b0b6b9e8356094
> Cr-Commit-Position: refs/heads/master@{#312770}
TBR=michaeln@chromium.org,piman@chromium.org,dmurph@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=375297
Review URL: https://codereview.chromium.org/869763003
Cr-Commit-Position: refs/heads/master@{#312782}
|
|
|
|
|
|
|
|
|
|
|
| |
https://bit.ly/AutoBlobToDisk
R=michaeln, piman
BUG=375297
Review URL: https://codereview.chromium.org/821913004
Cr-Commit-Position: refs/heads/master@{#312770}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a follow up CL in order to perform further cleanup. The storage::
CopySyncOption and storage::FileWriterDelegate::FlushPolicy enums have been
merged.
TEST=Refactoring only. All current tests should pass.
BUG=440293
Review URL: https://codereview.chromium.org/772713005
Cr-Commit-Position: refs/heads/master@{#307833}
|
|
|
|
|
|
|
|
|
|
|
|
| |
The COPY_SYNC_OPTION_SYNC flag was missing when registering FSP file systems.
As a result, when copying between file systems the last chunk could be lost.
TEST=Tested manually in Files app.
BUG=439830
Review URL: https://codereview.chromium.org/778103003
Cr-Commit-Position: refs/heads/master@{#307219}
|
|
|
|
|
|
|
|
|
|
|
| |
The removal of NetworkDelegate::OnBeforeSocketStreamConnect() is in http://crrev.com/652363005 so not too many reviewers will need to review this more-complex CL.
BUG=423201
TEST=net_unittests, browser_tests
Review URL: https://codereview.chromium.org/679273005
Cr-Commit-Position: refs/heads/master@{#303387}
|
|
|
|
|
|
|
|
|
| |
R=michaeln@chromium.org
BUG=423134
Review URL: https://codereview.chromium.org/657303002
Cr-Commit-Position: refs/heads/master@{#299885}
|
|
|
|
|
|
|
|
|
|
|
| |
This is part of a long-running background task to remove the remaining
uses of the unchecked IPC_ENUM_TRAITS() macro.
BUG=246708
Review URL: https://codereview.chromium.org/603673003
Cr-Commit-Position: refs/heads/master@{#296887}
|
|
|
|
|
|
|
|
| |
TBR=sergeyu@chromium.org,cpu@chromium.org,thakis@chromium.org,jamesr@chromium.org,zea@chromium.org,nduca@chromium.org
Review URL: https://codereview.chromium.org/560883003
Cr-Commit-Position: refs/heads/master@{#294543}
|
|
|
|
|
|
|
|
|
| |
BUG=110610
TBR=caitkp, michaeln, rockot, sievers, sky, willchan
Review URL: https://codereview.chromium.org/543893002
Cr-Commit-Position: refs/heads/master@{#293453}
|
|
redirect headers
BUG=338338
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/524983002
Cr-Commit-Position: refs/heads/master@{#293228}
|