Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(663)

Side by Side Diff: webkit/fileapi/media/picasa/pmp_table_reader.h

Issue 14247034: Move Media Galleries FileAPI code out of webkit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cr-14352004
Patch Set: Add android ifdef. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_FILEAPI_MEDIA_PICASA_PMP_TABLE_READER_H_
6 #define WEBKIT_FILEAPI_MEDIA_PICASA_PMP_TABLE_READER_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11 #include "base/memory/scoped_vector.h"
12 #include "webkit/storage/webkit_storage_export.h"
13
14 namespace base {
15 class FilePath;
16 }
17
18 namespace picasaimport {
19
20 class PmpColumnReader;
21
22 class WEBKIT_STORAGE_EXPORT_PRIVATE PmpTableReader {
23 public:
24 PmpTableReader();
25
26 virtual ~PmpTableReader();
27
28 // |columns| parameter will define, in-order, the columns returned by
29 // subsequent columns to GetColumns() if Init() succeeds.
30 bool Init(const std::string& table_name,
31 const base::FilePath& directory_path,
32 const std::vector<std::string>& columns);
33
34 // Returns a const "view" of the current contents of |column_readers_|.
35 std::vector<const PmpColumnReader*> GetColumns() const;
36
37 uint32 RowCount() const;
38
39 private:
40 ScopedVector<PmpColumnReader> column_readers_;
41 uint32 max_row_count_;
42
43 DISALLOW_COPY_AND_ASSIGN(PmpTableReader);
44 };
45
46 } // namespace picasaimport
47
48 #endif // WEBKIT_FILEAPI_MEDIA_PICASA_PMP_TABLE_READER_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/media/picasa/pmp_constants.h ('k') | webkit/fileapi/media/picasa/pmp_table_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698