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

Side by Side Diff: chrome/common/component_flash_hint_file_linux_unittest.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « chrome/common/component_flash_hint_file_linux.cc ('k') | chrome/common/crash_keys.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chrome/common/component_flash_hint_file_linux.h" 5 #include "chrome/common/component_flash_hint_file_linux.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <stdint.h>
8 #include <stdlib.h> 9 #include <stdlib.h>
9 #include <sys/mount.h> 10 #include <sys/mount.h>
10 11
11 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
12 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
13 #include "base/path_service.h" 14 #include "base/path_service.h"
14 #include "base/process/kill.h" 15 #include "base/process/kill.h"
15 #include "base/test/multiprocess_test.h" 16 #include "base/test/multiprocess_test.h"
16 #include "base/test/scoped_path_override.h" 17 #include "base/test/scoped_path_override.h"
17 #include "base/test/test_timeouts.h" 18 #include "base/test/test_timeouts.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 TEST_F(ComponentFlashHintFileTest, ExecTest2) { 159 TEST_F(ComponentFlashHintFileTest, ExecTest2) {
159 base::Process process = SpawnChild("NoExecMountTest"); 160 base::Process process = SpawnChild("NoExecMountTest");
160 ASSERT_TRUE(process.IsValid()); 161 ASSERT_TRUE(process.IsValid());
161 int exit_code = 42; 162 int exit_code = 42;
162 ASSERT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), 163 ASSERT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(),
163 &exit_code)); 164 &exit_code));
164 EXPECT_EQ(0, exit_code); 165 EXPECT_EQ(0, exit_code);
165 } 166 }
166 167
167 } // namespace chrome 168 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/component_flash_hint_file_linux.cc ('k') | chrome/common/crash_keys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698