Chromium Code Reviews| Index: content/test/test_power_data_provider.h |
| diff --git a/content/test/test_power_data_provider.h b/content/test/test_power_data_provider.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8bae0b313dd034f38a106b4276bf893b63608bee |
| --- /dev/null |
| +++ b/content/test/test_power_data_provider.h |
| @@ -0,0 +1,26 @@ |
| +// 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.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_TEST_TEST_POWER_DATA_PROVIDER_H_ |
| +#define CONTENT_TEST_TEST_POWER_DATA_PROVIDER_H_ |
| + |
| +#include "content/public/browser/power_data_provider.h" |
| + |
| +namespace content { |
| + |
| +class TestPowerDataProvider : public PowerDataProvider { |
| + public: |
| + TestPowerDataProvider(int count); |
| + ~TestPowerDataProvider() {} |
| + |
| + virtual bool GetData(PowerEvent*) OVERRIDE; |
| + |
| + private: |
| + int event_number_; |
| + DISALLOW_COPY_AND_ASSIGN(TestPowerDataProvider); |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_TEST_TEST_POWER_DATA_PROVIDER_H_ |