Store process type as int
This commit is contained in:
parent
cabcd0ef8f
commit
1e4dd9b163
3 changed files with 12 additions and 8 deletions
|
@ -45,11 +45,11 @@ enum class JumpListResult : int;
|
|||
#endif
|
||||
|
||||
struct ProcessMetric {
|
||||
std::string type;
|
||||
int type;
|
||||
base::ProcessId pid;
|
||||
std::unique_ptr<base::ProcessMetrics> metrics;
|
||||
|
||||
ProcessMetric(const std::string& type,
|
||||
ProcessMetric(int type,
|
||||
base::ProcessId pid,
|
||||
std::unique_ptr<base::ProcessMetrics> metrics) {
|
||||
this->type = type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue