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

Side by Side Diff: chrome/browser/process_resource_usage.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PROCESS_RESOURCE_USAGE_H_ 5 #ifndef CHROME_BROWSER_PROCESS_RESOURCE_USAGE_H_
6 #define CHROME_BROWSER_PROCESS_RESOURCE_USAGE_H_ 6 #define CHROME_BROWSER_PROCESS_RESOURCE_USAGE_H_
7 7
8 #include <stddef.h>
9
8 #include <deque> 10 #include <deque>
9 11
10 #include "base/basictypes.h"
11 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h"
12 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
13 #include "chrome/common/resource_usage_reporter.mojom.h" 15 #include "chrome/common/resource_usage_reporter.mojom.h"
14 #include "third_party/WebKit/public/web/WebCache.h" 16 #include "third_party/WebKit/public/web/WebCache.h"
15 17
16 // Provides resource usage information about a child process. 18 // Provides resource usage information about a child process.
17 // 19 //
18 // This is a wrapper around the ResourceUsageReporter Mojo service that exposes 20 // This is a wrapper around the ResourceUsageReporter Mojo service that exposes
19 // information about resources used by a child process. Currently, this is only 21 // information about resources used by a child process. Currently, this is only
20 // V8 memory and Blink resource cache usage, but could be expanded to include 22 // V8 memory and Blink resource cache usage, but could be expanded to include
21 // other resources. This is intended for status viewers such as the task 23 // other resources. This is intended for status viewers such as the task
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 std::deque<base::Closure> refresh_callbacks_; 81 std::deque<base::Closure> refresh_callbacks_;
80 82
81 ResourceUsageDataPtr stats_; 83 ResourceUsageDataPtr stats_;
82 84
83 base::ThreadChecker thread_checker_; 85 base::ThreadChecker thread_checker_;
84 86
85 DISALLOW_COPY_AND_ASSIGN(ProcessResourceUsage); 87 DISALLOW_COPY_AND_ASSIGN(ProcessResourceUsage);
86 }; 88 };
87 89
88 #endif // CHROME_BROWSER_PROCESS_RESOURCE_USAGE_H_ 90 #endif // CHROME_BROWSER_PROCESS_RESOURCE_USAGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/process_info_snapshot_mac_unittest.cc ('k') | chrome/browser/process_singleton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698