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

Side by Side Diff: storage/browser/fileapi/quota/open_file_handle_context.h

Issue 539143002: Migrate webkit/browser/ to storage/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android build Created 6 years, 3 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
OLDNEW
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 STORAGE_BROWSER_FILEAPI_OPEN_FILE_HANDLE_CONTEXT_H_
6 #define WEBKIT_BROWSER_FILEAPI_OPEN_FILE_HANDLE_CONTEXT_H_ 6 #define STORAGE_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 "storage/browser/storage_browser_export.h"
15 #include "storage/common/fileapi/file_system_types.h"
14 #include "url/gurl.h" 16 #include "url/gurl.h"
15 #include "webkit/browser/storage_browser_export.h"
16 #include "webkit/common/fileapi/file_system_types.h"
17 17
18 namespace storage { 18 namespace storage {
19 19
20 class QuotaReservationBuffer; 20 class QuotaReservationBuffer;
21 21
22 // This class represents a underlying file of a managed FileSystem file. 22 // This class represents a underlying file of a managed FileSystem file.
23 // 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
24 // handle. 24 // handle.
25 // This class is usually manipulated only via OpenFileHandle. 25 // This class is usually manipulated only via OpenFileHandle.
26 class OpenFileHandleContext : public base::RefCounted<OpenFileHandleContext> { 26 class OpenFileHandleContext : public base::RefCounted<OpenFileHandleContext> {
(...skipping 24 matching lines...) Expand all
51 51
52 scoped_refptr<QuotaReservationBuffer> reservation_buffer_; 52 scoped_refptr<QuotaReservationBuffer> reservation_buffer_;
53 53
54 base::SequenceChecker sequence_checker_; 54 base::SequenceChecker sequence_checker_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(OpenFileHandleContext); 56 DISALLOW_COPY_AND_ASSIGN(OpenFileHandleContext);
57 }; 57 };
58 58
59 } // namespace storage 59 } // namespace storage
60 60
61 #endif // WEBKIT_BROWSER_FILEAPI_OPEN_FILE_HANDLE_CONTEXT_H_ 61 #endif // STORAGE_BROWSER_FILEAPI_OPEN_FILE_HANDLE_CONTEXT_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/quota/open_file_handle.cc ('k') | storage/browser/fileapi/quota/open_file_handle_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698