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

Side by Side Diff: webkit/browser/fileapi/upload_file_system_file_element_reader.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
« no previous file with comments | « webkit/browser/fileapi/transient_file_util.h ('k') | webkit/browser/quota/quota_client.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_UPLOAD_FILE_SYSTEM_FILE_ELEMENT_READER_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_UPLOAD_FILE_SYSTEM_FILE_ELEMENT_READER_H_
6 #define WEBKIT_BROWSER_FILEAPI_UPLOAD_FILE_SYSTEM_FILE_ELEMENT_READER_H_ 6 #define WEBKIT_BROWSER_FILEAPI_UPLOAD_FILE_SYSTEM_FILE_ELEMENT_READER_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
11 #include "net/base/upload_element_reader.h" 11 #include "net/base/upload_element_reader.h"
12 #include "webkit/storage/webkit_storage_export.h" 12 #include "webkit/browser/webkit_storage_browser_export.h"
13 13
14 namespace webkit_blob { 14 namespace webkit_blob {
15 class FileStreamReader; 15 class FileStreamReader;
16 } 16 }
17 17
18 namespace fileapi { 18 namespace fileapi {
19 19
20 class FileSystemContext; 20 class FileSystemContext;
21 21
22 // An UploadElementReader implementation for filesystem file. 22 // An UploadElementReader implementation for filesystem file.
23 class WEBKIT_STORAGE_EXPORT UploadFileSystemFileElementReader 23 class WEBKIT_STORAGE_BROWSER_EXPORT UploadFileSystemFileElementReader
24 : public net::UploadElementReader { 24 : public net::UploadElementReader {
25 public: 25 public:
26 UploadFileSystemFileElementReader( 26 UploadFileSystemFileElementReader(
27 FileSystemContext* file_system_context, 27 FileSystemContext* file_system_context,
28 const GURL& url, 28 const GURL& url,
29 uint64 range_offset, 29 uint64 range_offset,
30 uint64 range_length, 30 uint64 range_length,
31 const base::Time& expected_modification_time); 31 const base::Time& expected_modification_time);
32 virtual ~UploadFileSystemFileElementReader(); 32 virtual ~UploadFileSystemFileElementReader();
33 33
(...skipping 21 matching lines...) Expand all
55 uint64 position_; 55 uint64 position_;
56 56
57 base::WeakPtrFactory<UploadFileSystemFileElementReader> weak_ptr_factory_; 57 base::WeakPtrFactory<UploadFileSystemFileElementReader> weak_ptr_factory_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(UploadFileSystemFileElementReader); 59 DISALLOW_COPY_AND_ASSIGN(UploadFileSystemFileElementReader);
60 }; 60 };
61 61
62 } // namespace fileapi 62 } // namespace fileapi
63 63
64 #endif // WEBKIT_BROWSER_FILEAPI_UPLOAD_FILE_SYSTEM_FILE_ELEMENT_READER_H_ 64 #endif // WEBKIT_BROWSER_FILEAPI_UPLOAD_FILE_SYSTEM_FILE_ELEMENT_READER_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/transient_file_util.h ('k') | webkit/browser/quota/quota_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698