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

Side by Side Diff: components/metrics/public/interfaces/call_stack_profile_collector.mojom

Issue 2555853003: Break up common_custom_types.mojom. (Closed)
Patch Set: Created 4 years 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 module metrics.mojom; 5 module metrics.mojom;
6 6
7 import "mojo/common/common_custom_types.mojom"; 7 import "mojo/common/file_path.mojom";
8 import "mojo/common/time.mojom";
8 9
9 // These structs mirror the corresponding types in base::StackSamplingProfiler. 10 // These structs mirror the corresponding types in base::StackSamplingProfiler.
10 11
11 struct CallStackModule { 12 struct CallStackModule {
12 uint64 base_address; 13 uint64 base_address;
13 string id; 14 string id;
14 mojo.common.mojom.FilePath filename; 15 mojo.common.mojom.FilePath filename;
15 }; 16 };
16 17
17 struct CallStackFrame { 18 struct CallStackFrame {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 Thread thread; 78 Thread thread;
78 Trigger trigger; 79 Trigger trigger;
79 SampleOrderingSpec ordering_spec; 80 SampleOrderingSpec ordering_spec;
80 }; 81 };
81 82
82 interface CallStackProfileCollector { 83 interface CallStackProfileCollector {
83 Collect(CallStackProfileParams params, 84 Collect(CallStackProfileParams params,
84 mojo.common.mojom.TimeTicks start_timestamp, 85 mojo.common.mojom.TimeTicks start_timestamp,
85 array<CallStackProfile> profiles); 86 array<CallStackProfile> profiles);
86 }; 87 };
OLDNEW
« no previous file with comments | « components/leveldb/public/interfaces/leveldb.mojom ('k') | components/startup_metric_utils/common/startup_metric.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698