Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: chrome/browser/media_galleries/chromeos/mtp_device_object_enumerator_unittest.cc

Issue 2358493002: Remove MTP support on Linux. (Closed)
Patch Set: move files Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698