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

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

Issue 10416004: RefCounted types should not have public destructors, webkit/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to r140259 Created 8 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
« no previous file with comments | « webkit/fileapi/isolated_mount_point_provider.h ('k') | webkit/glue/resource_loader_bridge.h » ('j') | 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 #pragma once 7 #pragma once
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "webkit/fileapi/fileapi_export.h" 12 #include "webkit/fileapi/fileapi_export.h"
13 #include "webkit/fileapi/file_system_mount_point_provider.h" 13 #include "webkit/fileapi/file_system_mount_point_provider.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 FileSystemQuotaUtil; 22 class FileSystemQuotaUtil;
22 23
23 // This should be only used for testing. 24 // This should be only used for testing.
24 // This mount point provider uses LocalFileUtil and stores data file 25 // This mount point provider uses LocalFileUtil and stores data file
25 // under the given directory. 26 // under the given directory.
26 class FILEAPI_EXPORT_PRIVATE TestMountPointProvider 27 class FILEAPI_EXPORT_PRIVATE TestMountPointProvider
27 : public FileSystemMountPointProvider { 28 : public FileSystemMountPointProvider {
28 public: 29 public:
29 typedef FileSystemMountPointProvider::ValidateFileSystemCallback 30 typedef FileSystemMountPointProvider::ValidateFileSystemCallback
30 ValidateFileSystemCallback; 31 ValidateFileSystemCallback;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 int64 offset, 64 int64 offset,
64 FileSystemContext* context) const OVERRIDE; 65 FileSystemContext* context) const OVERRIDE;
65 virtual FileStreamWriter* CreateFileStreamWriter( 66 virtual FileStreamWriter* CreateFileStreamWriter(
66 const GURL& url, 67 const GURL& url,
67 int64 offset, 68 int64 offset,
68 FileSystemContext* context) const OVERRIDE; 69 FileSystemContext* context) const OVERRIDE;
69 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; 70 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE;
70 71
71 private: 72 private:
72 FilePath base_path_; 73 FilePath base_path_;
73 scoped_ptr<FileSystemFileUtil> local_file_util_; 74 scoped_ptr<LocalFileUtil> local_file_util_;
74 scoped_ptr<FileSystemQuotaUtil> quota_util_; 75 scoped_ptr<FileSystemQuotaUtil> quota_util_;
75 }; 76 };
76 77
77 } // namespace fileapi 78 } // namespace fileapi
78 79
79 #endif // WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ 80 #endif // WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/isolated_mount_point_provider.h ('k') | webkit/glue/resource_loader_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698