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

Side by Side Diff: components/metrics/proto/profiler_event.proto

Issue 239093004: Move part of metrics from chrome/common to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittest that broke after rebase. Created 6 years, 8 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 // Performance metrics collected via Chrome's built-in profiler. 5 // Performance metrics collected via Chrome's built-in profiler.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
11 package metrics; 11 package metrics;
12 12
13
Ilya Sherman 2014/04/15 23:00:40 Ditto
14 // Next tag: 4 13 // Next tag: 4
15 message ProfilerEventProto { 14 message ProfilerEventProto {
16 // The type of this profile. 15 // The type of this profile.
17 enum ProfileType { 16 enum ProfileType {
18 UNKNOWN_PROFILE = 0; // Unknown type (should not reach here). 17 UNKNOWN_PROFILE = 0; // Unknown type (should not reach here).
19 STARTUP_PROFILE = 1; // Startup profile, logged approximately 60 seconds 18 STARTUP_PROFILE = 1; // Startup profile, logged approximately 60 seconds
20 // after launch. 19 // after launch.
21 } 20 }
22 optional ProfileType profile_type = 1; 21 optional ProfileType profile_type = 1;
23 22
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 PPAPI_PLUGIN = 12; 82 PPAPI_PLUGIN = 12;
84 PPAPI_BROKER = 13; 83 PPAPI_BROKER = 13;
85 } 84 }
86 optional ProcessType process_type = 11; 85 optional ProcessType process_type = 11;
87 86
88 // The local PID for the process within which this task was executed. 87 // The local PID for the process within which this task was executed.
89 optional uint32 process_id = 12; 88 optional uint32 process_id = 12;
90 } 89 }
91 repeated TrackedObject tracked_object = 3; 90 repeated TrackedObject tracked_object = 3;
92 } 91 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698