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

Side by Side Diff: chrome/browser/power/process_power_collector.h

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 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 #ifndef CHROME_BROWSER_POWER_PROCESS_POWER_COLLECTOR_H_ 5 #ifndef CHROME_BROWSER_POWER_PROCESS_POWER_COLLECTOR_H_
6 #define CHROME_BROWSER_POWER_PROCESS_POWER_COLLECTOR_H_ 6 #define CHROME_BROWSER_POWER_PROCESS_POWER_COLLECTOR_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h"
10 #include "base/memory/linked_ptr.h" 11 #include "base/memory/linked_ptr.h"
11 #include "base/process/process_handle.h" 12 #include "base/process/process_handle.h"
12 #include "base/process/process_metrics.h" 13 #include "base/process/process_metrics.h"
13 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
15 #include "build/build_config.h"
14 #include "components/power/origin_power_map_factory.h" 16 #include "components/power/origin_power_map_factory.h"
15 #include "url/gurl.h" 17 #include "url/gurl.h"
16 18
17 #if defined(OS_CHROMEOS) 19 #if defined(OS_CHROMEOS)
18 #include "chromeos/dbus/power_manager_client.h" 20 #include "chromeos/dbus/power_manager_client.h"
19 #endif 21 #endif
20 22
21 class Profile; 23 class Profile;
22 24
23 namespace content { 25 namespace content {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 // Callback to use to get CPU usage if set. 142 // Callback to use to get CPU usage if set.
141 CpuUsageCallback cpu_usage_callback_; 143 CpuUsageCallback cpu_usage_callback_;
142 144
143 // The factor to scale the CPU usage by. 145 // The factor to scale the CPU usage by.
144 double scale_factor_; 146 double scale_factor_;
145 147
146 DISALLOW_COPY_AND_ASSIGN(ProcessPowerCollector); 148 DISALLOW_COPY_AND_ASSIGN(ProcessPowerCollector);
147 }; 149 };
148 150
149 #endif // CHROME_BROWSER_POWER_PROCESS_POWER_COLLECTOR_H_ 151 #endif // CHROME_BROWSER_POWER_PROCESS_POWER_COLLECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/test/local_policy_test_server.cc ('k') | chrome/browser/power/process_power_collector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698