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

Unified Diff: content/public/common/content_client.h

Issue 12662019: Split the ProcessType enum into process types that content knows about (which will remain in src\co… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/content_client.h
===================================================================
--- content/public/common/content_client.h (revision 189692)
+++ content/public/common/content_client.h (working copy)
@@ -133,6 +133,10 @@
// Returns a native image given its id.
virtual gfx::Image& GetNativeImageNamed(int resource_id) const;
+ // Called by content::GetProcessTypeNameInEnglish for process types that it
+ // doesn't know about because they're from the embedder.
+ virtual std::string GetProcessTypeNameInEnglish(int type);
+
#if defined(OS_MACOSX) && !defined(OS_IOS)
// Allows the embedder to define a new |sandbox_type| by mapping it to the
// resource ID corresponding to the sandbox profile to use. The legal values

Powered by Google App Engine
This is Rietveld 408576698