summaryrefslogtreecommitdiffstats
path: root/content/browser/fileapi/file_system_context_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* content: Remove use of MessageLoopProxy and deprecated MessageLoop APIsskyostil2015-06-051-14/+9
| | | | | | | | | | | | | | | This patch was mostly autogenerated with https://codereview.chromium.org/1010073002/. BUG=465354 TBR=nick@chromium.org Committed: https://crrev.com/422456f9d53f0bf936a64f21a1463fd0abd3df84 Cr-Commit-Position: refs/heads/master@{#333081} Review URL: https://codereview.chromium.org/1159623009 Cr-Commit-Position: refs/heads/master@{#333112}
* Revert "content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs"skyostil2015-06-051-9/+14
| | | | | | | | | | | | | This reverts commit 422456f9d53f0bf936a64f21a1463fd0abd3df84. TBR=zea@chromium.org BUG=465354 NOTRY=true NOTREECHECKS=true Review URL: https://codereview.chromium.org/1170623003 Cr-Commit-Position: refs/heads/master@{#333086}
* content: Remove use of MessageLoopProxy and deprecated MessageLoop APIsskyostil2015-06-051-14/+9
| | | | | | | | | | | | This patch was mostly autogenerated with https://codereview.chromium.org/1010073002/. BUG=465354 TBR=nick@chromium.org Review URL: https://codereview.chromium.org/1159623009 Cr-Commit-Position: refs/heads/master@{#333081}
* Revert "content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs"skyostil2015-06-051-9/+14
| | | | | | | | | | | | | | | This reverts commit 5d18b2493af36d77d3c491854e3d56f46f5f747c. Reason: Broke iOS build: http://build.chromium.org/p/chromium.mac/builders/iOS_Simulator_%28dbg%29/builds/27843 NOTRY=true NOTREECHECKS=true BUG=465354 TBR=sievers@chromium.org,nick@chromium.org Review URL: https://codereview.chromium.org/1153503009 Cr-Commit-Position: refs/heads/master@{#333047}
* content: Remove use of MessageLoopProxy and deprecated MessageLoop APIsskyostil2015-06-051-14/+9
| | | | | | | | | | | | This patch was mostly autogenerated with https://codereview.chromium.org/1010073002/. BUG=465354 TBR=nick@chromium.org Review URL: https://codereview.chromium.org/1159623009 Cr-Commit-Position: refs/heads/master@{#333043}
* app_shell: Add a test for missing isolated file systemsjamescook2015-01-131-0/+21
| | | | | | | | | | | | | Ensures that common isolated file system types are handled by the storage layer. Added to //content/browser/fileapi/file_system_context_unittest.cc because //storage does not have its own unit test suite. BUG=447027 TEST=content_unittests FileSystemContextTest.IsolatedFileSystemsHandled Review URL: https://codereview.chromium.org/829543003 Cr-Commit-Position: refs/heads/master@{#311285}
* Standardize usage of virtual/override/final specifiers.dcheng2014-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Google C++ style guide states: Explicitly annotate overrides of virtual functions or virtual destructors with an override or (less frequently) final specifier. Older (pre-C++11) code will use the virtual keyword as an inferior alternative annotation. For clarity, use exactly one of override, final, or virtual when declaring an override. To better conform to these guidelines, the following constructs have been rewritten: - if a base class has a virtual destructor, then: virtual ~Foo(); -> ~Foo() override; - virtual void Foo() override; -> void Foo() override; - virtual void Foo() override final; -> void Foo() final; This patch was automatically generated. The clang plugin can generate fixit hints, which are suggested edits when it is 100% sure it knows how to fix a problem. The hints from the clang plugin were applied to the source tree using the tool in https://codereview.chromium.org/598073004. BUG=417463 R=nasko@chromium.org Review URL: https://codereview.chromium.org/678073006 Cr-Commit-Position: refs/heads/master@{#301534}
* Convert ARRAYSIZE_UNSAFE -> arraysize in content/.viettrungluu2014-10-161-1/+1
| | | | | | | | | R=avi@chromium.org BUG=423134 Review URL: https://codereview.chromium.org/654403002 Cr-Commit-Position: refs/heads/master@{#299850}
* Remove webkit/browser/, point everything to storage/browser/ insteadpilgrim2014-09-101-4/+4
| | | | | | | | | BUG=338338 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/559063002 Cr-Commit-Position: refs/heads/master@{#294258}
* Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common ↵pilgrim@chromium.org2014-08-221-88/+71
| | | | | | | | | | | | | | | | namespaces into single storage namespace As discussed here: https://groups.google.com/a/chromium.org/forum/#!topic/storage-dev/aQall8GOrS4 BUG=338338 TBR=cevans NOTRY=true Review URL: https://codereview.chromium.org/492873002 Cr-Commit-Position: refs/heads/master@{#291485} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291485 0039d316-1c4b-4281-b951-d872f2087c98
* Add FileSystemID parameter to IsolatedContext::RegisterFileSystemForPath.kinaba@chromium.org2014-06-201-0/+3
| | | | | | | | | | | | | With this change, nested filesystems mounted onto isolated context can remember its original filesystem id, that unblocks the issue 370782 of drag-and-drop support in chromeos::FileSystemBackend. BUG=370782, 386062 TBR=kaznacheev, benwells, dmichael, sky Review URL: https://codereview.chromium.org/341043008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278666 0039d316-1c4b-4281-b951-d872f2087c98
* Fully qualify all references to fileapi::FileSystemTypernk@chromium.org2014-06-191-5/+4
| | | | | | | | | | | | | | | | | | | This avoids a name conflict between winnt.h's FileSystemType enumerator value and Chromium's fileapi::FileSystemType enum type. MSVC doesn't care, but Clang diagnoses this with: error: must use 'enum' tag to refer to type 'FileSystemType' in this scope I could use the enum tag to avoid this ambiguity, but it would be very inconsistent with other Chromium code. A full nested name specifier seems better. R=thakis@chromium.org,hans@chromium.org TBR=kinuko@chromium.org BUG=82385 Review URL: https://codereview.chromium.org/345673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278332 0039d316-1c4b-4281-b951-d872f2087c98
* Move mock_special_storage_policy from webkit/ to content/public/test/pilgrim@chromium.org2014-04-301-2/+2
| | | | | | | | | 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
* Move mock_quota_manager and friends from webkit/ to content/pilgrim@chromium.org2014-04-091-3/+3
| | | | | | | | | BUG=338338 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/214233005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262569 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Revert of Add mechanism to auto mount file systems in response to ↵vandebo@chromium.org2014-03-201-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a URL request. (https://codereview.chromium.org/206253002/) Reason for revert: This revert did not fix the breakage it was suspected of. Original issue's description: > Revert of Add mechanism to auto mount file systems in response to a URL request. (https://codereview.chromium.org/195923002/) > > Reason for revert: > Best guess that this broke > SyncFileSystemApiTest.WriteFileThenGetUsage > SyncFileSystemApiTest.GetFileStatuses > MediaGalleriesPlatformAppBrowserTest.MediaGalleriesCopyTo > on XP Tests(1). > > Original issue's description: > > Add mechanism to auto mount file systems in response to a URL request. > > > > This code adds a hook for when a file system URL request can not be cracked. > > It will allow external media galleries file systems to be lazily created. > > > > BUG=160900 > > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258064 > > TBR=kinuko@chromium.org,tzik@chromium.org,joi@chromium.org,sky@chromium.org,vandebo@chromium.org > NOTREECHECKS=true > NOTRY=true > BUG=160900 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258261 TBR=kinuko@chromium.org,tzik@chromium.org,joi@chromium.org,sky@chromium.org,pneubeck@chromium.org BUG=160900 Review URL: https://codereview.chromium.org/199903003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258440 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Add mechanism to auto mount file systems in response to a URL ↵pneubeck@chromium.org2014-03-201-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | request. (https://codereview.chromium.org/195923002/) Reason for revert: Best guess that this broke SyncFileSystemApiTest.WriteFileThenGetUsage SyncFileSystemApiTest.GetFileStatuses MediaGalleriesPlatformAppBrowserTest.MediaGalleriesCopyTo on XP Tests(1). Original issue's description: > Add mechanism to auto mount file systems in response to a URL request. > > This code adds a hook for when a file system URL request can not be cracked. > It will allow external media galleries file systems to be lazily created. > > BUG=160900 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258064 TBR=kinuko@chromium.org,tzik@chromium.org,joi@chromium.org,sky@chromium.org,vandebo@chromium.org NOTREECHECKS=true NOTRY=true BUG=160900 Review URL: https://codereview.chromium.org/206253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258261 0039d316-1c4b-4281-b951-d872f2087c98
* Add mechanism to auto mount file systems in response to a URL request.vandebo@chromium.org2014-03-191-8/+10
| | | | | | | | | | | This code adds a hook for when a file system URL request can not be cracked. It will allow external media galleries file systems to be lazily created. BUG=160900 Review URL: https://codereview.chromium.org/195923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258064 0039d316-1c4b-4281-b951-d872f2087c98
* Change fileapi namespace to content for test files that are moved under content/kinuko@chromium.org2014-01-161-32/+42
| | | | | | | | | | | | | | | Note that this temporarily adds some content:: notion in webkit/ (mostly for friend'ing / forward decls) This also includes some refactoring in some test code (namely obfuscated_file_util_unittest.cc) to work around cross-namespace friend'ing. BUG=265769 TEST=build TBR=mmenke Review URL: https://codereview.chromium.org/137923003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245232 0039d316-1c4b-4281-b951-d872f2087c98
* Add mount option parameter to ExternalMountPoints::RegisterFileSystem.kinaba@chromium.org2013-12-111-1/+8
| | | | | | | | | | | | | | In order to fix the bug 276276, I'd like to vary the behavior of copy among mount points. This CL is the preparation for setting up the flag on each mount point. BUG=276276 R=kinuko,benwells,satorux TBR=sky Review URL: https://codereview.chromium.org/99613004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240104 0039d316-1c4b-4281-b951-d872f2087c98
* FileAPI: Wire up between PluginPrivateFileSystemBackend and FileSystemContextnhiroki@chromium.org2013-10-231-0/+38
| | | | | | | | | | | | | | - FileSystemContext retains PluginPrivateFileSystemBackend object. - The context refuses to serve an URL request for a file in isolated filesystems. BUG=286240 TEST=content_unittests --gtest_filter=PluginPrivateFileSystemBackendTest.* TEST=content_unittests --gtest_filter=FileSystemContextTest.CanServeURLRequest Review URL: https://codereview.chromium.org/34643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230412 0039d316-1c4b-4281-b951-d872f2087c98
* Move FileAPI test code from webkit to contentkinuko@chromium.org2013-10-021-0/+329
(Namespace fix will come later) BUG=265769 TEST=build Review URL: https://codereview.chromium.org/23440033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226399 0039d316-1c4b-4281-b951-d872f2087c98