| 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 #ifndef CHROME_COMMON_MEDIA_GALLERIES_PICASA_TEST_UTIL_H_ | 5 #ifndef CHROME_COMMON_MEDIA_GALLERIES_PICASA_TEST_UTIL_H_ |
| 6 #define CHROME_COMMON_MEDIA_GALLERIES_PICASA_TEST_UTIL_H_ | 6 #define CHROME_COMMON_MEDIA_GALLERIES_PICASA_TEST_UTIL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 11 #include "base/basictypes.h" | |
| 12 | 13 |
| 13 namespace base { | 14 namespace base { |
| 14 class FilePath; | 15 class FilePath; |
| 15 } | 16 } |
| 16 | 17 |
| 17 namespace picasa { | 18 namespace picasa { |
| 18 | 19 |
| 19 void WriteAlbumTable(const base::FilePath& column_file_destination, | 20 void WriteAlbumTable(const base::FilePath& column_file_destination, |
| 20 const std::vector<uint32>& category_vector, | 21 const std::vector<uint32_t>& category_vector, |
| 21 const std::vector<double>& date_vector, | 22 const std::vector<double>& date_vector, |
| 22 const std::vector<std::string>& filename_vector, | 23 const std::vector<std::string>& filename_vector, |
| 23 const std::vector<std::string>& name_vector, | 24 const std::vector<std::string>& name_vector, |
| 24 const std::vector<std::string>& token_vector, | 25 const std::vector<std::string>& token_vector, |
| 25 const std::vector<std::string>& uid_vector); | 26 const std::vector<std::string>& uid_vector); |
| 26 | 27 |
| 27 // Writes a whole test table with two folders and two albums. | 28 // Writes a whole test table with two folders and two albums. |
| 28 void WriteTestAlbumTable(const base::FilePath& column_file_destination, | 29 void WriteTestAlbumTable(const base::FilePath& column_file_destination, |
| 29 const base::FilePath& test_folder_1_path, | 30 const base::FilePath& test_folder_1_path, |
| 30 const base::FilePath& test_folder_2_path); | 31 const base::FilePath& test_folder_2_path); |
| 31 | 32 |
| 32 void WriteTestAlbumsImagesIndex(const base::FilePath& test_folder_1_path, | 33 void WriteTestAlbumsImagesIndex(const base::FilePath& test_folder_1_path, |
| 33 const base::FilePath& test_folder_2_path); | 34 const base::FilePath& test_folder_2_path); |
| 34 | 35 |
| 35 } // namespace picasa | 36 } // namespace picasa |
| 36 | 37 |
| 37 #endif // CHROME_COMMON_MEDIA_GALLERIES_PICASA_TEST_UTIL_H_ | 38 #endif // CHROME_COMMON_MEDIA_GALLERIES_PICASA_TEST_UTIL_H_ |
| OLD | NEW |