Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: webkit/fileapi/test_mount_point_provider.h

Issue 11747020: Cleanup: Remove using statements from webkit/fileapi header files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ 5 #ifndef WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_
6 #define WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ 6 #define WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "webkit/fileapi/file_system_mount_point_provider.h" 11 #include "webkit/fileapi/file_system_mount_point_provider.h"
12 #include "webkit/fileapi/task_runner_bound_observer_list.h" 12 #include "webkit/fileapi/task_runner_bound_observer_list.h"
13 #include "webkit/storage/webkit_storage_export.h" 13 #include "webkit/storage/webkit_storage_export.h"
14 14
15 namespace base { 15 namespace base {
16 class SequencedTaskRunner; 16 class SequencedTaskRunner;
17 } 17 }
18 18
19 namespace fileapi { 19 namespace fileapi {
20 20
21 class LocalFileUtil; 21 class LocalFileUtil;
22 class FileSystemQuotaUtil; 22 class FileSystemQuotaUtil;
23 23
24 // This should be only used for testing. 24 // This should be only used for testing.
25 // This mount point provider uses LocalFileUtil and stores data file 25 // This mount point provider uses LocalFileUtil and stores data file
26 // under the given directory. 26 // under the given directory.
27 class WEBKIT_STORAGE_EXPORT_PRIVATE TestMountPointProvider 27 class WEBKIT_STORAGE_EXPORT_PRIVATE TestMountPointProvider
28 : public FileSystemMountPointProvider { 28 : public FileSystemMountPointProvider {
29 public: 29 public:
30 using FileSystemMountPointProvider::ValidateFileSystemCallback;
31 using FileSystemMountPointProvider::DeleteFileSystemCallback;
32
33 TestMountPointProvider( 30 TestMountPointProvider(
34 base::SequencedTaskRunner* task_runner, 31 base::SequencedTaskRunner* task_runner,
35 const FilePath& base_path); 32 const FilePath& base_path);
36 virtual ~TestMountPointProvider(); 33 virtual ~TestMountPointProvider();
37 34
38 // FileSystemMountPointProvider implementation. 35 // FileSystemMountPointProvider implementation.
39 virtual void ValidateFileSystemRoot( 36 virtual void ValidateFileSystemRoot(
40 const GURL& origin_url, 37 const GURL& origin_url,
41 FileSystemType type, 38 FileSystemType type,
42 bool create, 39 bool create,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 FilePath base_path_; 74 FilePath base_path_;
78 scoped_refptr<base::SequencedTaskRunner> task_runner_; 75 scoped_refptr<base::SequencedTaskRunner> task_runner_;
79 scoped_ptr<LocalFileUtil> local_file_util_; 76 scoped_ptr<LocalFileUtil> local_file_util_;
80 scoped_ptr<QuotaUtil> quota_util_; 77 scoped_ptr<QuotaUtil> quota_util_;
81 UpdateObserverList observers_; 78 UpdateObserverList observers_;
82 }; 79 };
83 80
84 } // namespace fileapi 81 } // namespace fileapi
85 82
86 #endif // WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ 83 #endif // WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698