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

Side by Side Diff: content/public/common/process_type.h

Issue 1722493002: Project Eraser: Kill chrome://memory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix chrome_browser_ui.gypi. Created 4 years, 9 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
OLDNEW
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 #ifndef CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_
6 #define CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_ 6 #define CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 18 matching lines...) Expand all
29 PROCESS_TYPE_PPAPI_BROKER, 29 PROCESS_TYPE_PPAPI_BROKER,
30 // Custom process types used by the embedder should start from here. 30 // Custom process types used by the embedder should start from here.
31 PROCESS_TYPE_CONTENT_END, 31 PROCESS_TYPE_CONTENT_END,
32 // If any embedder has more than 10 custom process types, update this. 32 // If any embedder has more than 10 custom process types, update this.
33 // We can switch to getting it from ContentClient, but that seems like 33 // We can switch to getting it from ContentClient, but that seems like
34 // overkill at this time. 34 // overkill at this time.
35 PROCESS_TYPE_MAX = PROCESS_TYPE_CONTENT_END + 10, 35 PROCESS_TYPE_MAX = PROCESS_TYPE_CONTENT_END + 10,
36 }; 36 };
37 37
38 // Returns an English name of the process type, should only be used for non 38 // Returns an English name of the process type, should only be used for non
39 // user-visible strings, or debugging pages like about:memory. 39 // user-visible strings or debugging pages.
40 CONTENT_EXPORT std::string GetProcessTypeNameInEnglish(int type); 40 CONTENT_EXPORT std::string GetProcessTypeNameInEnglish(int type);
41 41
42 } // namespace content 42 } // namespace content
43 43
44 #endif // CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_ 44 #endif // CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_
OLDNEW
« no previous file with comments | « content/browser/child_process_security_policy_unittest.cc ('k') | ios/chrome/browser/history/history_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698