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

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

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 option java_outer_classname = "ProfilerEventProtos"; 10 option java_outer_classname = "ProfilerEventProtos";
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 // The time that a uniformly randomly sampled instance of this task spent 99 // The time that a uniformly randomly sampled instance of this task spent
100 // waiting (e.g. in a message loop) before it was run. 100 // waiting (e.g. in a message loop) before it was run.
101 optional int32 queue_time_sampled = 10; 101 optional int32 queue_time_sampled = 10;
102 102
103 // The type of process within which this task was executed. 103 // The type of process within which this task was executed.
104 enum ProcessType { 104 enum ProcessType {
105 UNKNOWN = 0; // Should not reach here 105 UNKNOWN = 0; // Should not reach here
106 BROWSER = 1; 106 BROWSER = 1;
107 RENDERER = 2; 107 RENDERER = 2;
108 PLUGIN = 3;
piman 2016/04/05 06:00:48 I'm changing a proto file here - I hope it's ok.
109 WORKER = 4; 108 WORKER = 4;
110 NACL_LOADER = 5; 109 NACL_LOADER = 5;
111 UTILITY = 6; 110 UTILITY = 6;
112 PROFILE_IMPORT = 7; 111 PROFILE_IMPORT = 7;
113 ZYGOTE = 8; 112 ZYGOTE = 8;
114 SANDBOX_HELPER = 9; 113 SANDBOX_HELPER = 9;
115 NACL_BROKER = 10; 114 NACL_BROKER = 10;
116 GPU = 11; 115 GPU = 11;
117 PPAPI_PLUGIN = 12; 116 PPAPI_PLUGIN = 12;
118 PPAPI_BROKER = 13; 117 PPAPI_BROKER = 13;
119 } 118 }
120 optional ProcessType process_type = 11; 119 optional ProcessType process_type = 11;
121 120
122 // The local PID for the process within which this task was executed. 121 // The local PID for the process within which this task was executed.
123 optional uint32 process_id = 12; 122 optional uint32 process_id = 12;
124 } 123 }
125 repeated TrackedObject tracked_object = 3; 124 repeated TrackedObject tracked_object = 3;
126 } 125 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698