#include <limits>
#if defined(OS_POSIX)
#include <unistd.h>
#endif
#include "base/basictypes.h"
#include "base/logging.h"
#include <errno.h>
#include <fcntl.h>
#include "eintr_wrapper.h"
#include "base/scoped_nsautorelease_pool.h"
#include <string>
#include <vector>
#include "base/eintr_wrapper.h"
#include "base/file_path.h"
#include "base/string_util.h"
#include <io.h>
#include <stdio.h>
#if defined(ANDROID)
#if defined(ANDROID) || defined(OS_POSIX)