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

Unified Diff: content/browser/child_process_launcher_browsertest.cc

Issue 625633002: Fix incorrect FD handling for StatsTable shared memory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Landing Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/child_process_launcher_browsertest.cc
diff --git a/content/browser/child_process_launcher_browsertest.cc b/content/browser/child_process_launcher_browsertest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..12615839ef92d024a08c2f3d0b4674c78a4400be
--- /dev/null
+++ b/content/browser/child_process_launcher_browsertest.cc
@@ -0,0 +1,25 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/command_line.h"
+#include "content/public/common/content_switches.h"
+#include "content/public/test/content_browser_test.h"
+#include "content/public/test/content_browser_test_utils.h"
+
+namespace content {
+
+typedef ContentBrowserTest ChildProcessLauncherBrowserTest;
+
+class StatsTableBrowserTest : public ChildProcessLauncherBrowserTest {
+ public:
+ virtual void SetUpCommandLine(base::CommandLine* command_line) override {
+ command_line->AppendSwitch(switches::kEnableStatsTable);
+ }
+};
+
+IN_PROC_BROWSER_TEST_F(StatsTableBrowserTest, StartWithStatTable) {
+ NavigateToURL(shell(), GURL("about:blank"));
+}
+
+} // namespace content
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698