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

Side by Side Diff: components/tracing/common/process_metrics_memory_dump_provider.h

Issue 2028043002: tracing: restructure to the components/tracing folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 COMPONENTS_TRACING_PROCESS_MEMORY_METRICS_DUMP_PROVIDER_H_ 5 #ifndef COMPONENTS_TRACING_COMMON_PROCESS_MEMORY_METRICS_DUMP_PROVIDER_H_
6 #define COMPONENTS_TRACING_PROCESS_MEMORY_METRICS_DUMP_PROVIDER_H_ 6 #define COMPONENTS_TRACING_COMMON_PROCESS_MEMORY_METRICS_DUMP_PROVIDER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/process/process_handle.h" 12 #include "base/process/process_handle.h"
13 #include "base/trace_event/memory_dump_provider.h" 13 #include "base/trace_event/memory_dump_provider.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "components/tracing/tracing_export.h" 15 #include "components/tracing/tracing_export.h"
16 16
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // The peak may not be resettable on all the processes if the linux kernel is 58 // The peak may not be resettable on all the processes if the linux kernel is
59 // older than http://bit.ly/reset_rss or only on child processes if yama LSM 59 // older than http://bit.ly/reset_rss or only on child processes if yama LSM
60 // sandbox is enabled. 60 // sandbox is enabled.
61 bool is_rss_peak_resettable_; 61 bool is_rss_peak_resettable_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(ProcessMetricsMemoryDumpProvider); 63 DISALLOW_COPY_AND_ASSIGN(ProcessMetricsMemoryDumpProvider);
64 }; 64 };
65 65
66 } // namespace tracing 66 } // namespace tracing
67 67
68 #endif // COMPONENTS_TRACING_PROCESS_MEMORY_METRICS_DUMP_PROVIDER_H_ 68 #endif // COMPONENTS_TRACING_COMMON_PROCESS_MEMORY_METRICS_DUMP_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698