Home | History | Annotate | Download | only in extensions

Lines Matching full:keys

27 namespace keys = extension_processes_api_constants;
36 result->SetInteger(keys::kIdKey, process_id);
37 result->SetString(keys::kTypeKey, type);
38 result->SetDouble(keys::kCpuKey, cpu);
39 result->SetDouble(keys::kNetworkKey, static_cast<double>(net));
40 result->SetDouble(keys::kPrivateMemoryKey, static_cast<double>(pr_mem));
41 result->SetDouble(keys::kSharedMemoryKey, static_cast<double>(sh_mem));
79 std::string type = keys::kProcessTypeOther;
83 type = keys::kProcessTypeBrowser;
86 type = keys::kProcessTypeRenderer;
89 type = keys::kProcessTypeExtension;
92 type = keys::kProcessTypeNotification;
95 type = keys::kProcessTypePlugin;
98 type = keys::kProcessTypeWorker;
101 type = keys::kProcessTypeNacl;
104 type = keys::kProcessTypeUtility;
107 type = keys::kProcessTypeGPU;
113 type = keys::kProcessTypeOther;
145 DispatchEvent(profile, keys::kOnUpdated, json_args);