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

Side by Side Diff: chrome/browser/extensions/extension_processes_api_constants.cc

Issue 3801008: Expands the chrome.experimental.processes extension API. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 | Annotate | Revision Log
OLDNEW
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 #include "chrome/browser/extensions/extension_processes_api_constants.h" 5 #include "chrome/browser/extensions/extension_processes_api_constants.h"
6 6
7 namespace extension_processes_api_constants { 7 namespace extension_processes_api_constants {
8 8
9 const char kCpuKey[] = "cpu";
9 const char kIdKey[] = "id"; 10 const char kIdKey[] = "id";
11 const char kNetworkKey[] = "network";
12 const char kPrivateMemoryKey[] = "privateMemory";
13 const char kProcessesKey[] = "processes";
14 const char kSharedMemoryKey[] = "sharedMemory";
15 const char kTypeKey[] = "type";
16
17 const char kProcessTypeBrowser[] = "browser";
18 const char kProcessTypeExtension[] = "extension";
19 const char kProcessTypeGPU[] = "gpu";
20 const char kProcessTypeNacl[] = "nacl";
21 const char kProcessTypeNotification[] = "notification";
22 const char kProcessTypeOther[] = "other";
23 const char kProcessTypePlugin[] = "plugin";
24 const char kProcessTypeRenderer[] = "renderer";
25 const char kProcessTypeUtility[] = "utility";
26 const char kProcessTypeWorker[] = "worker";
27
28 const char kOnUpdated[] = "experimental.processes.onUpdated";
10 29
11 } // namespace extension_processes_api_constants 30 } // namespace extension_processes_api_constants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698