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

Side by Side Diff: chrome/browser/performance_monitor/performance_monitor.cc

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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/performance_monitor/performance_monitor.h" 5 #include "chrome/browser/performance_monitor/performance_monitor.h"
6 6
7 #include <stddef.h>
8
7 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
8 #include "base/process/process_iterator.h" 10 #include "base/process/process_iterator.h"
9 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
10 #include "base/time/time.h" 12 #include "base/time/time.h"
11 #include "content/public/browser/browser_child_process_host.h" 13 #include "content/public/browser/browser_child_process_host.h"
12 #include "content/public/browser/browser_child_process_host_iterator.h" 14 #include "content/public/browser/browser_child_process_host_iterator.h"
13 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
14 #include "content/public/browser/child_process_data.h" 16 #include "content/public/browser/child_process_data.h"
15 #include "content/public/browser/render_process_host.h" 17 #include "content/public/browser/render_process_host.h"
16 #include "content/public/common/content_constants.h" 18 #include "content/public/common/content_constants.h"
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 void PerformanceMonitor::RunTriggersUIThread() { 210 void PerformanceMonitor::RunTriggersUIThread() {
209 DCHECK_CURRENTLY_ON(BrowserThread::UI); 211 DCHECK_CURRENTLY_ON(BrowserThread::UI);
210 for (auto it = metrics_map_.begin(); it != metrics_map_.end(); ++it) { 212 for (auto it = metrics_map_.begin(); it != metrics_map_.end(); ++it) {
211 it->second.RunPerformanceTriggers(); 213 it->second.RunPerformanceTriggers();
212 } 214 }
213 215
214 StartGatherCycle(); 216 StartGatherCycle();
215 } 217 }
216 218
217 } // namespace performance_monitor 219 } // namespace performance_monitor
OLDNEW
« no previous file with comments | « chrome/browser/performance_monitor/performance_monitor.h ('k') | chrome/browser/performance_monitor/process_metrics_history.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698