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

Side by Side 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: Added a test 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 unified diff | Download patch
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
Charlie Reis 2014/10/02 21:27:24 nit: Copyright 2014
Hajime Morrita 2014/10/02 21:51:44 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/command_line.h"
6 #include "content/public/common/content_switches.h"
7 #include "content/public/test/content_browser_test.h"
8 #include "content/public/test/content_browser_test_utils.h"
9
10 namespace content {
11
12 typedef ContentBrowserTest ChildProcessLauncherBrowserTest;
13
14 class StatsTableBrowserTest : public ChildProcessLauncherBrowserTest {
15 public:
16 virtual void SetUpCommandLine(base::CommandLine* command_line) override {
17 command_line->AppendSwitch(switches::kEnableStatsTable);
18 }
19 };
20
21 IN_PROC_BROWSER_TEST_F(StatsTableBrowserTest, StartWithStatTable) {
22 NavigateToURL(shell(), GURL("about://blank"));
Charlie Reis 2014/10/02 21:27:24 nit: about:blank
Hajime Morrita 2014/10/02 21:51:44 Done.
23 }
24
25 } // namespace content
OLDNEW
« 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