summaryrefslogtreecommitdiffstats
path: root/webkit/browser/fileapi/sandbox_file_system_backend_delegate.h
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-16 17:35:53 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-16 17:35:53 +0000
commit7ade66ee96e10961c139f7dca3d5d1a2533d384b (patch)
tree4e88b1ca1756274613e3d19673d5c916c8b170f3 /webkit/browser/fileapi/sandbox_file_system_backend_delegate.h
parent9387be62811e69378718bd7c2e4c8ef837efd0dc (diff)
downloadchromium_src-7ade66ee96e10961c139f7dca3d5d1a2533d384b.zip
chromium_src-7ade66ee96e10961c139f7dca3d5d1a2533d384b.tar.gz
chromium_src-7ade66ee96e10961c139f7dca3d5d1a2533d384b.tar.bz2
Change fileapi namespace to content for test files that are moved under content/
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
Diffstat (limited to 'webkit/browser/fileapi/sandbox_file_system_backend_delegate.h')
-rw-r--r--webkit/browser/fileapi/sandbox_file_system_backend_delegate.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/webkit/browser/fileapi/sandbox_file_system_backend_delegate.h b/webkit/browser/fileapi/sandbox_file_system_backend_delegate.h
index 7e326b2..9595cda 100644
--- a/webkit/browser/fileapi/sandbox_file_system_backend_delegate.h
+++ b/webkit/browser/fileapi/sandbox_file_system_backend_delegate.h
@@ -26,6 +26,11 @@ namespace base {
class SequencedTaskRunner;
}
+namespace content {
+class SandboxFileSystemBackendDelegateTest;
+class SandboxFileSystemTestHelper;
+}
+
namespace quota {
class QuotaManagerProxy;
class SpecialStoragePolicy;
@@ -46,7 +51,6 @@ class FileSystemUsageCache;
class ObfuscatedFileUtil;
class QuotaReservationManager;
class SandboxFileSystemBackend;
-class SandboxFileSystemTestHelper;
class SandboxQuotaObserver;
// Delegate implementation of the some methods in Sandbox/SyncFileSystemBackend.
@@ -190,10 +194,10 @@ class WEBKIT_STORAGE_BROWSER_EXPORT SandboxFileSystemBackendDelegate
FileSystemFileUtil* sync_file_util();
private:
- friend class SandboxQuotaObserver;
- friend class SandboxFileSystemTestHelper;
friend class QuotaBackendImpl;
- FRIEND_TEST_ALL_PREFIXES(SandboxFileSystemBackendDelegateTest, IsAccessValid);
+ friend class SandboxQuotaObserver;
+ friend class content::SandboxFileSystemBackendDelegateTest;
+ friend class content::SandboxFileSystemTestHelper;
// Performs API-specific validity checks on the given path |url|.
// Returns true if access to |url| is valid in this filesystem.