summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/plugin_stubs.cc
blob: f8210c30d0260d01b043653fdeccbb755c53c5a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// This file stubs out some functions needed to make the linker happy
// without linking in all the plugin code.  It should be removed once
// we have plugins working on all platforms.

// TODO(port): remove this file.

#include "base/logging.h"
#include "webkit/glue/plugins/plugin_instance.h"
#include "webkit/glue/plugins/plugin_stream.h"

namespace NPAPI {

PluginStream::~PluginStream() {
  NOTIMPLEMENTED();
}

bool PluginStream::Close(NPReason reason) {
  NOTIMPLEMENTED();
  return false;
}

void PluginInstance::NPP_StreamAsFile(NPStream*, const char*) {
  NOTIMPLEMENTED();
}

}  // namespace NPAPI