OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
qsr
2014/01/27 10:01:47
No (c) here and all other new files. Also all thos
Pan
2014/01/28 13:32:58
Done.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_TEST_TEST_POWER_DATA_PROVIDER_H_ | |
6 #define CONTENT_TEST_TEST_POWER_DATA_PROVIDER_H_ | |
7 | |
8 #include "content/public/browser/power_data_provider.h" | |
9 | |
10 namespace content { | |
11 | |
12 class TestPowerDataProvider : public PowerDataProvider { | |
13 public: | |
14 TestPowerDataProvider(int count); | |
15 ~TestPowerDataProvider() {} | |
16 | |
17 virtual bool GetData(PowerEvent*) OVERRIDE; | |
18 | |
19 private: | |
20 int event_number_; | |
21 DISALLOW_COPY_AND_ASSIGN(TestPowerDataProvider); | |
22 }; | |
23 | |
24 } // namespace content | |
25 | |
26 #endif // CONTENT_TEST_TEST_POWER_DATA_PROVIDER_H_ | |
OLD | NEW |