OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WEBFILEWRITER_BASE_H_ | 5 #ifndef WEBKIT_FILEAPI_WEBFILEWRITER_BASE_H_ |
6 #define WEBKIT_FILEAPI_WEBFILEWRITER_BASE_H_ | 6 #define WEBKIT_FILEAPI_WEBFILEWRITER_BASE_H_ |
7 | 7 |
8 #include "base/platform_file.h" | 8 #include "base/platform_file.h" |
9 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileWriter.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileWriter.h" |
11 | 11 |
12 namespace WebKit { | 12 namespace WebKit { |
13 class WebFileWriterClient; | 13 class WebFileWriterClient; |
14 class WebString; | |
15 class WebURL; | 14 class WebURL; |
16 } | 15 } |
17 | 16 |
18 namespace fileapi { | 17 namespace fileapi { |
19 | 18 |
20 class WebFileWriterBase : public WebKit::WebFileWriter { | 19 class WebFileWriterBase : public WebKit::WebFileWriter { |
21 public: | 20 public: |
22 WebFileWriterBase( | 21 WebFileWriterBase( |
23 const GURL& path, WebKit::WebFileWriterClient* client); | 22 const GURL& path, WebKit::WebFileWriterClient* client); |
24 virtual ~WebFileWriterBase(); | 23 virtual ~WebFileWriterBase(); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 57 |
59 GURL path_; | 58 GURL path_; |
60 WebKit::WebFileWriterClient* client_; | 59 WebKit::WebFileWriterClient* client_; |
61 OperationType operation_; | 60 OperationType operation_; |
62 CancelState cancel_state_; | 61 CancelState cancel_state_; |
63 }; | 62 }; |
64 | 63 |
65 } // namespace fileapi | 64 } // namespace fileapi |
66 | 65 |
67 #endif // WEBKIT_FILEAPI_WEBFILEWRITER_BASE_H_ | 66 #endif // WEBKIT_FILEAPI_WEBFILEWRITER_BASE_H_ |
OLD | NEW |