| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "webkit/fileapi/media/picasa/pmp_table_reader.h" | 5 #include "chrome/browser/media_galleries/fileapi/picasa/pmp_table_reader.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
| 13 #include "webkit/fileapi/media/picasa/pmp_column_reader.h" | 13 #include "chrome/browser/media_galleries/fileapi/picasa/pmp_column_reader.h" |
| 14 #include "webkit/fileapi/media/picasa/pmp_constants.h" | 14 #include "chrome/browser/media_galleries/fileapi/picasa/pmp_constants.h" |
| 15 | 15 |
| 16 namespace picasaimport { | 16 namespace picasaimport { |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 | 19 |
| 20 COMPILE_ASSERT(sizeof(double) == 8, double_must_be_8_bytes_long); | 20 COMPILE_ASSERT(sizeof(double) == 8, double_must_be_8_bytes_long); |
| 21 | 21 |
| 22 } // namespace | 22 } // namespace |
| 23 | 23 |
| 24 PmpTableReader::PmpTableReader() : column_readers_(), max_row_count_(0) { } | 24 PmpTableReader::PmpTableReader() : column_readers_(), max_row_count_(0) { } |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 return max_row_count_; | 79 return max_row_count_; |
| 80 } | 80 } |
| 81 | 81 |
| 82 std::vector<const PmpColumnReader*> PmpTableReader::GetColumns() const { | 82 std::vector<const PmpColumnReader*> PmpTableReader::GetColumns() const { |
| 83 std::vector<const PmpColumnReader*> readers( | 83 std::vector<const PmpColumnReader*> readers( |
| 84 column_readers_.begin(), column_readers_.end()); | 84 column_readers_.begin(), column_readers_.end()); |
| 85 return readers; | 85 return readers; |
| 86 } | 86 } |
| 87 | 87 |
| 88 } // namespace picasaimport | 88 } // namespace picasaimport |
| OLD | NEW |