OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/browser/extensions/api/processes/processes_api_constants.h" | 5 #include "chrome/browser/extensions/api/processes/processes_api_constants.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 | 8 |
9 namespace processes_api_constants { | 9 namespace processes_api_constants { |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 const char kProcessTypePlugin[] = "plugin"; | 35 const char kProcessTypePlugin[] = "plugin"; |
36 const char kProcessTypeRenderer[] = "renderer"; | 36 const char kProcessTypeRenderer[] = "renderer"; |
37 const char kProcessTypeUtility[] = "utility"; | 37 const char kProcessTypeUtility[] = "utility"; |
38 const char kProcessTypeWorker[] = "worker"; | 38 const char kProcessTypeWorker[] = "worker"; |
39 | 39 |
40 // Cache object properties. | 40 // Cache object properties. |
41 const char kCacheLiveSize[] = "liveSize"; | 41 const char kCacheLiveSize[] = "liveSize"; |
42 const char kCacheSize[] = "size"; | 42 const char kCacheSize[] = "size"; |
43 | 43 |
44 // Event names. | 44 // Event names. |
45 const char kOnCreated[] = "experimental.processes.onCreated"; | 45 const char kOnCreated[] = "processes.onCreated"; |
46 const char kOnExited[] = "experimental.processes.onExited"; | 46 const char kOnExited[] = "processes.onExited"; |
47 const char kOnUnresponsive[] = "experimental.processes.onUnresponsive"; | 47 const char kOnUnresponsive[] = "processes.onUnresponsive"; |
48 const char kOnUpdated[] = "experimental.processes.onUpdated"; | 48 const char kOnUpdated[] = "processes.onUpdated"; |
49 const char kOnUpdatedWithMemory[] = | 49 const char kOnUpdatedWithMemory[] = "processes.onUpdatedWithMemory"; |
50 "experimental.processes.onUpdatedWithMemory"; | |
51 | 50 |
52 // Error strings. | 51 // Error strings. |
53 const char kExtensionNotSupported[] = | 52 const char kExtensionNotSupported[] = |
54 "The Processes extension API is not supported on this platform."; | 53 "The Processes extension API is not supported on this platform."; |
55 const char kProcessNotFound[] = "Process not found: *."; | 54 const char kProcessNotFound[] = "Process not found: *."; |
56 | 55 |
57 } // namespace processes_api_constants | 56 } // namespace processes_api_constants |
58 | 57 |
59 } // namespace extensions | 58 } // namespace extensions |
OLD | NEW |