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

Side by Side Diff: content/browser/power_usage_monitor_impl.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 | « content/browser/power_usage_monitor_impl.h ('k') | content/browser/ppapi_plugin_process_host.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 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 #include "content/browser/power_usage_monitor_impl.h" 5 #include "content/browser/power_usage_monitor_impl.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "base/macros.h" 12 #include "base/macros.h"
11 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram.h"
12 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
13 #include "base/sys_info.h" 15 #include "base/sys_info.h"
14 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
15 #include "content/public/browser/notification_service.h" 17 #include "content/public/browser/notification_service.h"
16 #include "content/public/browser/notification_source.h" 18 #include "content/public/browser/notification_source.h"
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 RenderProcessHost* rph = Source<RenderProcessHost>(source).ptr(); 268 RenderProcessHost* rph = Source<RenderProcessHost>(source).ptr();
267 OnRenderProcessNotification(type, rph->GetID()); 269 OnRenderProcessNotification(type, rph->GetID());
268 } 270 }
269 271
270 void PowerUsageMonitor::CancelPendingHistogramReporting() { 272 void PowerUsageMonitor::CancelPendingHistogramReporting() {
271 // Cancel any in-progress histogram reports and reporting of discharge UMA. 273 // Cancel any in-progress histogram reports and reporting of discharge UMA.
272 system_interface_->CancelPendingHistogramReports(); 274 system_interface_->CancelPendingHistogramReports();
273 } 275 }
274 276
275 } // namespace content 277 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/power_usage_monitor_impl.h ('k') | content/browser/ppapi_plugin_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698