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

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

Issue 1846723007: Fix IWYU violators that don't include scoped_ptr.h in CrOS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/disks/mock_disk_mount_manager.cc ('k') | chromeos/process_proxy/process_proxy.h » ('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 <queue> 8 #include <queue>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
15 #include "base/location.h" 15 #include "base/location.h"
16 #include "base/memory/scoped_ptr.h"
16 #include "base/posix/eintr_wrapper.h" 17 #include "base/posix/eintr_wrapper.h"
17 #include "base/run_loop.h" 18 #include "base/run_loop.h"
18 #include "base/single_thread_task_runner.h" 19 #include "base/single_thread_task_runner.h"
19 #include "base/strings/string_util.h" 20 #include "base/strings/string_util.h"
20 #include "base/threading/thread.h" 21 #include "base/threading/thread.h"
21 #include "chromeos/process_proxy/process_output_watcher.h" 22 #include "chromeos/process_proxy/process_output_watcher.h"
22 23
23 namespace chromeos { 24 namespace chromeos {
24 25
25 namespace { 26 namespace {
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 // This will send '\0' to output watcher. 319 // This will send '\0' to output watcher.
319 test_cases.push_back(TestCase("", true)); 320 test_cases.push_back(TestCase("", true));
320 // Let's verify that next input also gets detected (i.e. output watcher does 321 // Let's verify that next input also gets detected (i.e. output watcher does
321 // not exit after seeing '\0' from previous test case). 322 // not exit after seeing '\0' from previous test case).
322 test_cases.push_back(TestCase("a", true)); 323 test_cases.push_back(TestCase("a", true));
323 324
324 RunTest(test_cases); 325 RunTest(test_cases);
325 } 326 }
326 327
327 } // namespace chromeos 328 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/disks/mock_disk_mount_manager.cc ('k') | chromeos/process_proxy/process_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698