summaryrefslogtreecommitdiffstats
path: root/chrome/common/media_galleries/picasa_test_util.h
blob: 616f2bfb801cb4a1e6af51a4e4b4ed4adb31d3d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright 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 CHROME_COMMON_MEDIA_GALLERIES_PICASA_TEST_UTIL_H_
#define CHROME_COMMON_MEDIA_GALLERIES_PICASA_TEST_UTIL_H_

#include <string>
#include <vector>

#include "base/basictypes.h"

namespace base {
class FilePath;
}

namespace picasa {

void WriteAlbumTable(const base::FilePath& column_file_destination,
                     const std::vector<uint32>& category_vector,
                     const std::vector<double>& date_vector,
                     const std::vector<std::string>& filename_vector,
                     const std::vector<std::string>& name_vector,
                     const std::vector<std::string>& token_vector,
                     const std::vector<std::string>& uid_vector);

// Writes a whole test table with two folders and two albums.
void WriteTestAlbumTable(const base::FilePath& column_file_destination,
                         const base::FilePath& test_folder_1_path,
                         const base::FilePath& test_folder_2_path);

void WriteTestAlbumsImagesIndex(const base::FilePath& test_folder_1_path,
                                const base::FilePath& test_folder_2_path);

}  // namespace picasa

#endif  // CHROME_COMMON_MEDIA_GALLERIES_PICASA_TEST_UTIL_H_