| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // Constants used for the Processes API. | 5 // Constants used for the Processes API. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESSES_API_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESSES_API_CONSTANTS_H_ |
| 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESSES_API_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESSES_API_CONSTANTS_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 namespace extension_processes_api_constants { | 11 namespace extension_processes_api_constants { |
| 12 | 12 |
| 13 // Keys used in serializing tab data & events. | 13 // Keys used in serializing process data & events. |
| 14 extern const char kCpuKey[]; |
| 14 extern const char kIdKey[]; | 15 extern const char kIdKey[]; |
| 16 extern const char kNetworkKey[]; |
| 17 extern const char kPrivateMemoryKey[]; |
| 18 extern const char kProcessesKey[]; |
| 19 extern const char kSharedMemoryKey[]; |
| 20 extern const char kTypeKey[]; |
| 21 |
| 22 extern const char kProcessTypeBrowser[]; |
| 23 extern const char kProcessTypeExtension[]; |
| 24 extern const char kProcessTypeGPU[]; |
| 25 extern const char kProcessTypeNacl[]; |
| 26 extern const char kProcessTypeNotification[]; |
| 27 extern const char kProcessTypeOther[]; |
| 28 extern const char kProcessTypePlugin[]; |
| 29 extern const char kProcessTypeRenderer[]; |
| 30 extern const char kProcessTypeUtility[]; |
| 31 extern const char kProcessTypeWorker[]; |
| 32 |
| 33 extern const char kOnUpdated[]; |
| 15 | 34 |
| 16 }; // namespace extension_processes_api_constants | 35 }; // namespace extension_processes_api_constants |
| 17 | 36 |
| 18 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESSES_API_CONSTANTS_H_ | 37 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESSES_API_CONSTANTS_H_ |
| OLD | NEW |