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

Side by Side Diff: components/storage_monitor/test_portable_device_watcher_win.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // This file contains a subclass of PortableDeviceWatcherWin to expose some 5 // This file contains a subclass of PortableDeviceWatcherWin to expose some
6 // functionality for testing. 6 // functionality for testing.
7 7
8 #ifndef COMPONENTS_STORAGE_MONITOR_TEST_PORTABLE_DEVICE_WATCHER_WIN_H_ 8 #ifndef COMPONENTS_STORAGE_MONITOR_TEST_PORTABLE_DEVICE_WATCHER_WIN_H_
9 #define COMPONENTS_STORAGE_MONITOR_TEST_PORTABLE_DEVICE_WATCHER_WIN_H_ 9 #define COMPONENTS_STORAGE_MONITOR_TEST_PORTABLE_DEVICE_WATCHER_WIN_H_
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/macros.h"
13 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
14 #include "components/storage_monitor/portable_device_watcher_win.h" 15 #include "components/storage_monitor/portable_device_watcher_win.h"
15 16
16 namespace storage_monitor { 17 namespace storage_monitor {
17 18
18 class TestPortableDeviceWatcherWin : public PortableDeviceWatcherWin { 19 class TestPortableDeviceWatcherWin : public PortableDeviceWatcherWin {
19 public: 20 public:
20 // MTP device PnP identifiers. 21 // MTP device PnP identifiers.
21 static const base::char16 kMTPDeviceWithMultipleStorages[]; 22 static const base::char16 kMTPDeviceWithMultipleStorages[];
22 static const base::char16 kMTPDeviceWithInvalidInfo[]; 23 static const base::char16 kMTPDeviceWithInvalidInfo[];
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Set to true to get dummy storage details from 71 // Set to true to get dummy storage details from
71 // GetMTPStorageInfoFromDeviceId(). 72 // GetMTPStorageInfoFromDeviceId().
72 bool use_dummy_mtp_storage_info_; 73 bool use_dummy_mtp_storage_info_;
73 74
74 DISALLOW_COPY_AND_ASSIGN(TestPortableDeviceWatcherWin); 75 DISALLOW_COPY_AND_ASSIGN(TestPortableDeviceWatcherWin);
75 }; 76 };
76 77
77 } // namespace storage_monitor 78 } // namespace storage_monitor
78 79
79 #endif // COMPONENTS_STORAGE_MONITOR_TEST_PORTABLE_DEVICE_WATCHER_WIN_H_ 80 #endif // COMPONENTS_STORAGE_MONITOR_TEST_PORTABLE_DEVICE_WATCHER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698