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 CONTENT_CHILD_FILEAPI_WEBFILEWRITER_BASE_H_ | 5 #ifndef CONTENT_CHILD_FILEAPI_WEBFILEWRITER_BASE_H_ |
6 #define CONTENT_CHILD_FILEAPI_WEBFILEWRITER_BASE_H_ | 6 #define CONTENT_CHILD_FILEAPI_WEBFILEWRITER_BASE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "third_party/WebKit/public/platform/WebFileWriter.h" | 12 #include "third_party/WebKit/public/platform/WebFileWriter.h" |
13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 class WebFileWriterClient; | 16 class WebFileWriterClient; |
17 class WebURL; | |
18 } | 17 } |
19 | 18 |
20 namespace content { | 19 namespace content { |
21 | 20 |
22 class CONTENT_EXPORT WebFileWriterBase | 21 class CONTENT_EXPORT WebFileWriterBase |
23 : public NON_EXPORTED_BASE(blink::WebFileWriter) { | 22 : public NON_EXPORTED_BASE(blink::WebFileWriter) { |
24 public: | 23 public: |
25 WebFileWriterBase(const GURL& path, blink::WebFileWriterClient* client); | 24 WebFileWriterBase(const GURL& path, blink::WebFileWriterClient* client); |
26 ~WebFileWriterBase() override; | 25 ~WebFileWriterBase() override; |
27 | 26 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 63 |
65 GURL path_; | 64 GURL path_; |
66 blink::WebFileWriterClient* client_; | 65 blink::WebFileWriterClient* client_; |
67 OperationType operation_; | 66 OperationType operation_; |
68 CancelState cancel_state_; | 67 CancelState cancel_state_; |
69 }; | 68 }; |
70 | 69 |
71 } // namespace content | 70 } // namespace content |
72 | 71 |
73 #endif // CONTENT_CHILD_FILEAPI_WEBFILEWRITER_BASE_H_ | 72 #endif // CONTENT_CHILD_FILEAPI_WEBFILEWRITER_BASE_H_ |
OLD | NEW |