Chromium Code Reviews

Side by Side Diff: content/test/test_power_data_provider.h

Issue 140583003: Chrome power profiler service (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
(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_
OLDNEW

Powered by Google App Engine