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

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; 108 PLUGIN = 3; // Deprecated. Should not be sent as of M51 due to
109 // NPAPI removal.
109 WORKER = 4; 110 WORKER = 4;
110 NACL_LOADER = 5; 111 NACL_LOADER = 5;
111 UTILITY = 6; 112 UTILITY = 6;
112 PROFILE_IMPORT = 7; 113 PROFILE_IMPORT = 7;
113 ZYGOTE = 8; 114 ZYGOTE = 8;
114 SANDBOX_HELPER = 9; 115 SANDBOX_HELPER = 9;
115 NACL_BROKER = 10; 116 NACL_BROKER = 10;
116 GPU = 11; 117 GPU = 11;
117 PPAPI_PLUGIN = 12; 118 PPAPI_PLUGIN = 12;
118 PPAPI_BROKER = 13; 119 PPAPI_BROKER = 13;
119 } 120 }
120 optional ProcessType process_type = 11; 121 optional ProcessType process_type = 11;
121 122
122 // The local PID for the process within which this task was executed. 123 // The local PID for the process within which this task was executed.
123 optional uint32 process_id = 12; 124 optional uint32 process_id = 12;
124 } 125 }
125 repeated TrackedObject tracked_object = 3; 126 repeated TrackedObject tracked_object = 3;
126 } 127 }
OLDNEW
« no previous file with comments | « components/metrics/profiler/tracking_synchronizer_unittest.cc ('k') | content/browser/browser_child_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698