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

Side by Side Diff: chromeos/process_proxy/process_proxy_unittest.cc

Issue 1966093003: Fix include path for moved thread_task_runner_handle.h header in chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 | « chromeos/process_proxy/process_proxy.cc ('k') | chromeos/tpm/tpm_password_fetcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include <gtest/gtest.h> 5 #include <gtest/gtest.h>
6 #include <stddef.h> 6 #include <stddef.h>
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/process/kill.h" 13 #include "base/process/kill.h"
14 #include "base/process/process.h" 14 #include "base/process/process.h"
15 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
16 #include "base/thread_task_runner_handle.h"
17 #include "base/threading/thread.h" 16 #include "base/threading/thread.h"
17 #include "base/threading/thread_task_runner_handle.h"
18 #include "chromeos/process_proxy/process_proxy_registry.h" 18 #include "chromeos/process_proxy/process_proxy_registry.h"
19 19
20 namespace chromeos { 20 namespace chromeos {
21 21
22 namespace { 22 namespace {
23 23
24 // The test line must have all distinct characters. 24 // The test line must have all distinct characters.
25 const char kTestLineToSend[] = "abcdefgh\n"; 25 const char kTestLineToSend[] = "abcdefgh\n";
26 const char kTestLineExpected[] = "abcdefgh\r\n"; 26 const char kTestLineExpected[] = "abcdefgh\r\n";
27 27
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 RunTest(); 233 RunTest();
234 } 234 }
235 235
236 // Open new process, then kill it. Verifiy that we detect when the process dies. 236 // Open new process, then kill it. Verifiy that we detect when the process dies.
237 TEST_F(ProcessProxyTest, RegistryNotifiedOnProcessExit) { 237 TEST_F(ProcessProxyTest, RegistryNotifiedOnProcessExit) {
238 test_runner_.reset(new RegistryNotifiedOnProcessExitTestRunner()); 238 test_runner_.reset(new RegistryNotifiedOnProcessExitTestRunner());
239 RunTest(); 239 RunTest();
240 } 240 }
241 241
242 } // namespace chromeos 242 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/process_proxy/process_proxy.cc ('k') | chromeos/tpm/tpm_password_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698