summaryrefslogtreecommitdiffstats
path: root/net/base/file_input_stream_posix.cc
blob: 335805ca2c94ef24a75e2d280f4bae85ae33406d (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Copyright (c) 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.

#include "net/base/file_input_stream.h"

#include "base/logging.h"
#include "net/base/net_errors.h"

namespace net {

// FileInputStream::AsyncContext ----------------------------------------------

class FileInputStream::AsyncContext {
};

// FileInputStream ------------------------------------------------------------

FileInputStream::FileInputStream() {
}

FileInputStream::~FileInputStream() {
  Close();
}

void FileInputStream::Close() {
}

int FileInputStream::Open(const std::wstring& path, bool asynchronous_mode) {
  NOTIMPLEMENTED();
  return ERR_FAILED;
}

bool FileInputStream::IsOpen() const {
  NOTIMPLEMENTED();
  return false;
}

int64 FileInputStream::Seek(Whence whence, int64 offset) {
  NOTIMPLEMENTED();
  return ERR_FAILED;
}

int64 FileInputStream::Available() {
  NOTIMPLEMENTED();
  return ERR_FAILED;
}

int FileInputStream::Read(
    char* buf, int buf_len, CompletionCallback* callback) {
  NOTIMPLEMENTED();
  return ERR_FAILED;
}

}  // namespace net