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

Side by Side Diff: webkit/renderer/fileapi/webfilewriter_base.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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_FILEAPI_WEBFILEWRITER_BASE_H_ 5 #ifndef WEBKIT_RENDERER_FILEAPI_WEBFILEWRITER_BASE_H_
6 #define WEBKIT_RENDERER_FILEAPI_WEBFILEWRITER_BASE_H_ 6 #define WEBKIT_RENDERER_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 #include "webkit/storage/webkit_storage_export.h" 11 #include "webkit/renderer/webkit_storage_renderer_export.h"
12 12
13 namespace WebKit { 13 namespace WebKit {
14 class WebFileWriterClient; 14 class WebFileWriterClient;
15 class WebURL; 15 class WebURL;
16 } 16 }
17 17
18 namespace fileapi { 18 namespace fileapi {
19 19
20 class WEBKIT_STORAGE_EXPORT WebFileWriterBase 20 class WEBKIT_STORAGE_RENDERER_EXPORT WebFileWriterBase
21 : public NON_EXPORTED_BASE(WebKit::WebFileWriter) { 21 : public NON_EXPORTED_BASE(WebKit::WebFileWriter) {
22 public: 22 public:
23 WebFileWriterBase( 23 WebFileWriterBase(
24 const GURL& path, WebKit::WebFileWriterClient* client); 24 const GURL& path, WebKit::WebFileWriterClient* client);
25 virtual ~WebFileWriterBase(); 25 virtual ~WebFileWriterBase();
26 26
27 // WebFileWriter implementation 27 // WebFileWriter implementation
28 virtual void truncate(long long length); 28 virtual void truncate(long long length);
29 virtual void write(long long position, const WebKit::WebURL& blobURL); 29 virtual void write(long long position, const WebKit::WebURL& blobURL);
30 virtual void cancel(); 30 virtual void cancel();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 GURL path_; 63 GURL path_;
64 WebKit::WebFileWriterClient* client_; 64 WebKit::WebFileWriterClient* client_;
65 OperationType operation_; 65 OperationType operation_;
66 CancelState cancel_state_; 66 CancelState cancel_state_;
67 }; 67 };
68 68
69 } // namespace fileapi 69 } // namespace fileapi
70 70
71 #endif // WEBKIT_RENDERER_FILEAPI_WEBFILEWRITER_BASE_H_ 71 #endif // WEBKIT_RENDERER_FILEAPI_WEBFILEWRITER_BASE_H_
OLDNEW
« no previous file with comments | « webkit/renderer/dom_storage/dom_storage_cached_area.h ('k') | webkit/renderer/webkit_storage_renderer_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698