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

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

Issue 16701004: Fix webkit_storage exports definitions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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
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_BROWSER_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_
6 #define WEBKIT_BROWSER_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ 6 #define WEBKIT_BROWSER_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/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/browser/fileapi/async_file_util_adapter.h" 11 #include "webkit/browser/fileapi/async_file_util_adapter.h"
12 #include "webkit/browser/fileapi/file_system_mount_point_provider.h" 12 #include "webkit/browser/fileapi/file_system_mount_point_provider.h"
13 #include "webkit/browser/fileapi/task_runner_bound_observer_list.h" 13 #include "webkit/browser/fileapi/task_runner_bound_observer_list.h"
14 #include "webkit/storage/webkit_storage_export.h" 14 #include "webkit/browser/webkit_storage_browser_export.h"
15 15
16 namespace base { 16 namespace base {
17 class SequencedTaskRunner; 17 class SequencedTaskRunner;
18 } 18 }
19 19
20 namespace fileapi { 20 namespace fileapi {
21 21
22 class AsyncFileUtilAdapter; 22 class AsyncFileUtilAdapter;
23 class FileSystemQuotaUtil; 23 class FileSystemQuotaUtil;
24 24
25 // This should be only used for testing. 25 // This should be only used for testing.
26 // This mount point provider uses LocalFileUtil and stores data file 26 // This mount point provider uses LocalFileUtil and stores data file
27 // under the given directory. 27 // under the given directory.
28 class WEBKIT_STORAGE_EXPORT_PRIVATE TestMountPointProvider 28 class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE TestMountPointProvider
29 : public FileSystemMountPointProvider { 29 : public FileSystemMountPointProvider {
30 public: 30 public:
31 TestMountPointProvider( 31 TestMountPointProvider(
32 base::SequencedTaskRunner* task_runner, 32 base::SequencedTaskRunner* task_runner,
33 const base::FilePath& base_path); 33 const base::FilePath& base_path);
34 virtual ~TestMountPointProvider(); 34 virtual ~TestMountPointProvider();
35 35
36 // FileSystemMountPointProvider implementation. 36 // FileSystemMountPointProvider implementation.
37 virtual bool CanHandleType(FileSystemType type) const OVERRIDE; 37 virtual bool CanHandleType(FileSystemType type) const OVERRIDE;
38 virtual void OpenFileSystem( 38 virtual void OpenFileSystem(
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 bool require_copy_or_move_validator_; 96 bool require_copy_or_move_validator_;
97 scoped_ptr<CopyOrMoveFileValidatorFactory> 97 scoped_ptr<CopyOrMoveFileValidatorFactory>
98 copy_or_move_file_validator_factory_; 98 copy_or_move_file_validator_factory_;
99 99
100 DISALLOW_COPY_AND_ASSIGN(TestMountPointProvider); 100 DISALLOW_COPY_AND_ASSIGN(TestMountPointProvider);
101 }; 101 };
102 102
103 } // namespace fileapi 103 } // namespace fileapi
104 104
105 #endif // WEBKIT_BROWSER_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ 105 #endif // WEBKIT_BROWSER_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/syncable/syncable_file_system_util.h ('k') | webkit/browser/fileapi/timed_task_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698