Index: content/renderer/pepper/quota_file_io.h |
=================================================================== |
--- content/renderer/pepper/quota_file_io.h (revision 213482) |
+++ content/renderer/pepper/quota_file_io.h (working copy) |
@@ -2,19 +2,19 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef WEBKIT_PLUGINS_PPAPI_QUOTA_FILE_IO_H_ |
-#define WEBKIT_PLUGINS_PPAPI_QUOTA_FILE_IO_H_ |
+#ifndef CONTENT_RENDERER_PEPPER_QUOTA_FILE_IO_H_ |
+#define CONTENT_RENDERER_PEPPER_QUOTA_FILE_IO_H_ |
#include <deque> |
#include "base/files/file_util_proxy.h" |
#include "base/memory/weak_ptr.h" |
#include "base/platform_file.h" |
+#include "content/common/content_export.h" |
#include "ppapi/c/pp_file_info.h" |
#include "ppapi/c/pp_instance.h" |
#include "url/gurl.h" |
#include "webkit/common/quota/quota_types.h" |
-#include "webkit/plugins/webkit_plugins_export.h" |
namespace webkit { |
namespace ppapi { |
@@ -29,11 +29,11 @@ |
typedef base::FileUtilProxy::WriteCallback WriteCallback; |
typedef base::FileUtilProxy::StatusCallback StatusCallback; |
- WEBKIT_PLUGINS_EXPORT QuotaFileIO(PP_Instance instance, |
- base::PlatformFile file, |
- const GURL& path_url, |
- PP_FileSystemType type); |
- WEBKIT_PLUGINS_EXPORT ~QuotaFileIO(); |
+ CONTENT_EXPORT QuotaFileIO(PP_Instance instance, |
+ base::PlatformFile file, |
+ const GURL& path_url, |
+ PP_FileSystemType type); |
+ CONTENT_EXPORT ~QuotaFileIO(); |
// Performs write or setlength operation with quota checks. |
// Returns true when the operation is successfully dispatched. |
@@ -45,18 +45,18 @@ |
// 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. |
- 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); |
+ CONTENT_EXPORT bool Write(int64_t offset, |
+ const char* buffer, |
+ int32_t bytes_to_write, |
+ const WriteCallback& callback); |
+ CONTENT_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); |
+ CONTENT_EXPORT bool SetLength(int64_t length, |
+ const StatusCallback& callback); |
+ CONTENT_EXPORT bool WillSetLength(int64_t length, |
+ const StatusCallback& callback); |
// Returns the plugin delegate or NULL if the resource has outlived the |
// instance. |
@@ -114,4 +114,4 @@ |
} // namespace ppapi |
} // namespace webkit |
-#endif // WEBKIT_PLUGINS_PPAPI_QUOTA_FILE_IO_H_ |
+#endif // CONTENT_RENDERER_PEPPER_QUOTA_FILE_IO_H_ |