OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_OPEN_FILE_HANDLE_CONTEXT_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_OPEN_FILE_HANDLE_CONTEXT_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_OPEN_FILE_HANDLE_CONTEXT_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_OPEN_FILE_HANDLE_CONTEXT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/platform_file.h" | |
15 #include "url/gurl.h" | 14 #include "url/gurl.h" |
16 #include "webkit/browser/webkit_storage_browser_export.h" | 15 #include "webkit/browser/webkit_storage_browser_export.h" |
17 #include "webkit/common/fileapi/file_system_types.h" | 16 #include "webkit/common/fileapi/file_system_types.h" |
18 | 17 |
19 namespace fileapi { | 18 namespace fileapi { |
20 | 19 |
21 class QuotaReservationBuffer; | 20 class QuotaReservationBuffer; |
22 | 21 |
23 // This class represents a underlying file of a managed FileSystem file. | 22 // This class represents a underlying file of a managed FileSystem file. |
24 // The instance keeps alive while at least one consumer keeps an open file | 23 // The instance keeps alive while at least one consumer keeps an open file |
(...skipping 28 matching lines...) Expand all Loading... |
53 scoped_refptr<QuotaReservationBuffer> reservation_buffer_; | 52 scoped_refptr<QuotaReservationBuffer> reservation_buffer_; |
54 | 53 |
55 base::SequenceChecker sequence_checker_; | 54 base::SequenceChecker sequence_checker_; |
56 | 55 |
57 DISALLOW_COPY_AND_ASSIGN(OpenFileHandleContext); | 56 DISALLOW_COPY_AND_ASSIGN(OpenFileHandleContext); |
58 }; | 57 }; |
59 | 58 |
60 } // namespace fileapi | 59 } // namespace fileapi |
61 | 60 |
62 #endif // WEBKIT_BROWSER_FILEAPI_OPEN_FILE_HANDLE_CONTEXT_H_ | 61 #endif // WEBKIT_BROWSER_FILEAPI_OPEN_FILE_HANDLE_CONTEXT_H_ |
OLD | NEW |