summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/plugin_stream.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-19 03:49:38 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-19 03:49:38 +0000
commit864b1368516c110605addd725ad33613047f94b2 (patch)
tree0f4d802f08b43df658ec45df351089e108f63b1b /webkit/glue/plugins/plugin_stream.h
parent2803418949500717c4cbd1cb27fec8b03485e77a (diff)
downloadchromium_src-864b1368516c110605addd725ad33613047f94b2.zip
chromium_src-864b1368516c110605addd725ad33613047f94b2.tar.gz
chromium_src-864b1368516c110605addd725ad33613047f94b2.tar.bz2
FBTF: Remove unneeded headers from base/ (part 6)
BUG=none TEST=none Review URL: http://codereview.chromium.org/3093013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/plugin_stream.h')
-rw-r--r--webkit/glue/plugins/plugin_stream.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/webkit/glue/plugins/plugin_stream.h b/webkit/glue/plugins/plugin_stream.h
index f15ea66..c17faaf 100644
--- a/webkit/glue/plugins/plugin_stream.h
+++ b/webkit/glue/plugins/plugin_stream.h
@@ -2,13 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_GLUE_PLUGIN_PLUGIN_STREAM_H__
-#define WEBKIT_GLUE_PLUGIN_PLUGIN_STREAM_H__
+#ifndef WEBKIT_GLUE_PLUGINS_PLUGIN_STREAM_H_
+#define WEBKIT_GLUE_PLUGINS_PLUGIN_STREAM_H_
+
+#include "build/build_config.h"
#include <string>
#include <vector>
+#if defined(OS_POSIX)
#include "base/file_path.h"
+#endif
#include "base/ref_counted.h"
#include "third_party/npapi/bindings/npapi.h"
@@ -110,7 +114,8 @@ class PluginStream : public base::RefCounted<PluginStream> {
// Send the data to the plugin, returning how many bytes it accepted, or -1
// if an error occurred.
- int TryWriteToPlugin(const char *buf, const int length, const int data_offset);
+ int TryWriteToPlugin(const char *buf, const int length,
+ const int data_offset);
// The callback which calls TryWriteToPlugin.
void OnDelayDelivery();
@@ -141,6 +146,6 @@ class PluginStream : public base::RefCounted<PluginStream> {
DISALLOW_COPY_AND_ASSIGN(PluginStream);
};
-} // namespace NPAPI
+} // namespace NPAPI
-#endif // WEBKIT_GLUE_PLUGIN_PLUGIN_STREAM_H__
+#endif // WEBKIT_GLUE_PLUGINS_PLUGIN_STREAM_H_