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