| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <stddef.h> | 5 #include <stddef.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/media_galleries/linux/mtp_device_object_enumerator.h" | 9 #include "chrome/browser/media_galleries/chromeos/mtp_device_object_enumerator.h
" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 11 | 11 |
| 12 namespace { | 12 namespace { |
| 13 | 13 |
| 14 struct MtpFileEntryData { | 14 struct MtpFileEntryData { |
| 15 const char* const name; | 15 const char* const name; |
| 16 int64_t size; | 16 int64_t size; |
| 17 bool is_directory; | 17 bool is_directory; |
| 18 time_t modification_time; | 18 time_t modification_time; |
| 19 }; | 19 }; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 enumerator.LastModifiedTime().ToTimeT()); | 68 enumerator.LastModifiedTime().ToTimeT()); |
| 69 } | 69 } |
| 70 TestNextEntryIsEmpty(&enumerator); | 70 TestNextEntryIsEmpty(&enumerator); |
| 71 TestNextEntryIsEmpty(&enumerator); | 71 TestNextEntryIsEmpty(&enumerator); |
| 72 TestEnumeratorIsEmpty(&enumerator); | 72 TestEnumeratorIsEmpty(&enumerator); |
| 73 TestNextEntryIsEmpty(&enumerator); | 73 TestNextEntryIsEmpty(&enumerator); |
| 74 TestEnumeratorIsEmpty(&enumerator); | 74 TestEnumeratorIsEmpty(&enumerator); |
| 75 } | 75 } |
| 76 | 76 |
| 77 } // namespace | 77 } // namespace |
| OLD | NEW |