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: base/test/mock_devices_changed_observer.h

Issue 1544113002: Switch to standard integer types in base/test/. (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
« no previous file with comments | « base/test/malloc_wrapper.h ('k') | base/test/mock_entropy_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef BASE_TEST_MOCK_DEVICES_CHANGED_OBSERVER_H_ 5 #ifndef BASE_TEST_MOCK_DEVICES_CHANGED_OBSERVER_H_
6 #define BASE_TEST_MOCK_DEVICES_CHANGED_OBSERVER_H_ 6 #define BASE_TEST_MOCK_DEVICES_CHANGED_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "base/system_monitor/system_monitor.h" 11 #include "base/system_monitor/system_monitor.h"
11 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
12 13
13 namespace base { 14 namespace base {
14 15
15 class MockDevicesChangedObserver 16 class MockDevicesChangedObserver
16 : public base::SystemMonitor::DevicesChangedObserver { 17 : public base::SystemMonitor::DevicesChangedObserver {
17 public: 18 public:
18 MockDevicesChangedObserver(); 19 MockDevicesChangedObserver();
19 ~MockDevicesChangedObserver(); 20 ~MockDevicesChangedObserver();
20 21
21 MOCK_METHOD1(OnDevicesChanged, 22 MOCK_METHOD1(OnDevicesChanged,
22 void(base::SystemMonitor::DeviceType device_type)); 23 void(base::SystemMonitor::DeviceType device_type));
23 24
24 private: 25 private:
25 DISALLOW_COPY_AND_ASSIGN(MockDevicesChangedObserver); 26 DISALLOW_COPY_AND_ASSIGN(MockDevicesChangedObserver);
26 }; 27 };
27 28
28 } // namespace base 29 } // namespace base
29 30
30 #endif // BASE_TEST_MOCK_DEVICES_CHANGED_OBSERVER_H_ 31 #endif // BASE_TEST_MOCK_DEVICES_CHANGED_OBSERVER_H_
OLDNEW
« no previous file with comments | « base/test/malloc_wrapper.h ('k') | base/test/mock_entropy_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698