| 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 WEBKIT_FILEAPI_MEDIA_PICASA_PMP_TEST_HELPER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_PMP_TEST_HELPER_H_ |
| 6 #define WEBKIT_FILEAPI_MEDIA_PICASA_PMP_TEST_HELPER_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_PMP_TEST_HELPER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
| 12 #include "webkit/fileapi/media/picasa/pmp_constants.h" | 12 #include "chrome/browser/media_galleries/fileapi/picasa/pmp_constants.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class FilePath; | 15 class FilePath; |
| 16 } // namespace base | 16 } // namespace base |
| 17 | 17 |
| 18 namespace picasaimport { | 18 namespace picasaimport { |
| 19 | 19 |
| 20 class PmpColumnReader; | 20 class PmpColumnReader; |
| 21 | 21 |
| 22 // A helper class used for unit tests only | 22 // A helper class used for unit tests only |
| (...skipping 22 matching lines...) Expand all Loading... |
| 45 static std::vector<uint8> MakeHeaderAndBody(const PmpFieldType field_type, | 45 static std::vector<uint8> MakeHeaderAndBody(const PmpFieldType field_type, |
| 46 const uint32 row_count, | 46 const uint32 row_count, |
| 47 const std::vector<T>& elems); | 47 const std::vector<T>& elems); |
| 48 | 48 |
| 49 private: | 49 private: |
| 50 base::ScopedTempDir temp_dir_; | 50 base::ScopedTempDir temp_dir_; |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace picasaimport | 53 } // namespace picasaimport |
| 54 | 54 |
| 55 #endif // WEBKIT_FILEAPI_MEDIA_PICASA_PMP_TEST_HELPER_H_ | 55 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_PMP_TEST_HELPER_H_ |
| OLD | NEW |