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

Unified Diff: webkit/plugins/ppapi/quota_file_io.h

Issue 8741006: Add exports needed for glue to build as a component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to r112585 Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/ppb_url_request_info_impl.h ('k') | webkit/plugins/ppapi/resource_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/quota_file_io.h
diff --git a/webkit/plugins/ppapi/quota_file_io.h b/webkit/plugins/ppapi/quota_file_io.h
index 7d3235e702b19a766eede16615a9e09a1237e94a..252ec11fdf843255f01560707119687a71391965 100644
--- a/webkit/plugins/ppapi/quota_file_io.h
+++ b/webkit/plugins/ppapi/quota_file_io.h
@@ -13,6 +13,7 @@
#include "googleurl/src/gurl.h"
#include "ppapi/c/pp_file_info.h"
#include "ppapi/c/pp_instance.h"
+#include "webkit/plugins/webkit_plugins_export.h"
#include "webkit/quota/quota_types.h"
namespace webkit {
@@ -28,11 +29,11 @@ class QuotaFileIO {
typedef base::FileUtilProxy::WriteCallback WriteCallback;
typedef base::FileUtilProxy::StatusCallback StatusCallback;
- QuotaFileIO(PP_Instance instance,
- base::PlatformFile file,
- const GURL& path_url,
- PP_FileSystemType type);
- ~QuotaFileIO();
+ WEBKIT_PLUGINS_EXPORT QuotaFileIO(PP_Instance instance,
+ base::PlatformFile file,
+ const GURL& path_url,
+ PP_FileSystemType type);
+ WEBKIT_PLUGINS_EXPORT ~QuotaFileIO();
// Performs write or setlength operation with quota checks.
// Returns true when the operation is successfully dispatched.
@@ -44,16 +45,18 @@ class QuotaFileIO {
// SetLength/WillSetLength cannot be called while there're any in-flight
// operations. For Write/WillWrite it is guaranteed that |callback| are
// always dispatched in the same order as Write being called.
- bool Write(int64_t offset,
- const char* buffer,
- int32_t bytes_to_write,
- const WriteCallback& callback);
- bool WillWrite(int64_t offset,
- int32_t bytes_to_write,
- const WriteCallback& callback);
-
- bool SetLength(int64_t length, const StatusCallback& callback);
- bool WillSetLength(int64_t length, const StatusCallback& callback);
+ WEBKIT_PLUGINS_EXPORT bool Write(int64_t offset,
+ const char* buffer,
+ int32_t bytes_to_write,
+ const WriteCallback& callback);
+ WEBKIT_PLUGINS_EXPORT bool WillWrite(int64_t offset,
+ int32_t bytes_to_write,
+ const WriteCallback& callback);
+
+ WEBKIT_PLUGINS_EXPORT bool SetLength(int64_t length,
+ const StatusCallback& callback);
+ WEBKIT_PLUGINS_EXPORT bool WillSetLength(int64_t length,
+ const StatusCallback& callback);
// Returns the plugin delegate or NULL if the resource has outlived the
// instance.
« no previous file with comments | « webkit/plugins/ppapi/ppb_url_request_info_impl.h ('k') | webkit/plugins/ppapi/resource_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698