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

Unified Diff: content/browser/child_process_launcher.h

Issue 2793623002: android: Limit num renderer to service slots (Closed)
Patch Set: fix remaining unit tests Created 3 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/browser/child_process_launcher.h
diff --git a/content/browser/child_process_launcher.h b/content/browser/child_process_launcher.h
index 63762f88413c4792d68158110918a0942c537869..8fcf8f929ce94acc21f10710594c746aa3475bb8 100644
--- a/content/browser/child_process_launcher.h
+++ b/content/browser/child_process_launcher.h
@@ -136,6 +136,11 @@ class CONTENT_EXPORT ChildProcessLauncher : public base::NonThreadSafe {
// support multiple shell context creation in unit_tests.
static void ResetRegisteredFilesForTesting();
+#if defined(OS_ANDROID)
+ // Temporary until crbug.com/693484 is fixed.
+ static size_t GetNumberOfRendererSlots();
+#endif // OS_ANDROID
+
private:
friend class internal::ChildProcessLauncherHelper;
« no previous file with comments | « no previous file | content/browser/child_process_launcher.cc » ('j') | content/browser/child_process_launcher_helper.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698