| Index: webkit/fileapi/media/picasa/pmp_table_reader.h
|
| diff --git a/webkit/fileapi/media/picasa/pmp_table_reader.h b/webkit/fileapi/media/picasa/pmp_table_reader.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1d6b4e02cdddedc6fe390e4052d0471b0be5bbd1
|
| --- /dev/null
|
| +++ b/webkit/fileapi/media/picasa/pmp_table_reader.h
|
| @@ -0,0 +1,44 @@
|
| +// Copyright (c) 2013 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.
|
| +
|
| +#ifndef WEBKIT_FILEAPI_MEDIA_PICASA_PMP_TABLE_READER_H_
|
| +#define WEBKIT_FILEAPI_MEDIA_PICASA_PMP_TABLE_READER_H_
|
| +
|
| +#include <string>
|
| +#include <vector>
|
| +
|
| +#include "base/basictypes.h"
|
| +
|
| +namespace base {
|
| + class FilePath;
|
| +}
|
| +
|
| +namespace fileapi {
|
| +
|
| +class PmpColumnReader;
|
| +
|
| +class PmpTableReader {
|
| + public:
|
| + PmpTableReader();
|
| +
|
| + virtual ~PmpTableReader();
|
| +
|
| + // Pass in the names of the columns you want read
|
| + bool ReadFromDisk(
|
| + const std::string& table_name,
|
| + const base::FilePath& directory_path,
|
| + const std::vector<std::string>& columns);
|
| +
|
| + uint32 Count();
|
| +
|
| + private:
|
| + std::vector<PmpColumnReader*> column_readers_;
|
| + uint32 max_row_count_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(PmpTableReader);
|
| +};
|
| +
|
| +} // namespace fileapi
|
| +
|
| +#endif // WEBKIT_FILEAPI_MEDIA_PICASA_PMP_TABLE_READER_H_
|
|
|