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

Side by Side Diff: chrome/installer/util/delete_tree_work_item_unittest.cc

Issue 3014015: Remove <iostream> where possible. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: fix chrome frame compile Created 10 years, 5 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <windows.h> 5 #include <windows.h>
6 6
7 #include <fstream> 7 #include <fstream>
8 #include <iostream>
9 8
10 #include "base/base_paths.h" 9 #include "base/base_paths.h"
11 #include "base/file_util.h" 10 #include "base/file_util.h"
12 #include "base/logging.h" 11 #include "base/logging.h"
13 #include "base/path_service.h" 12 #include "base/path_service.h"
14 #include "base/process_util.h" 13 #include "base/process_util.h"
15 #include "base/scoped_ptr.h" 14 #include "base/scoped_ptr.h"
16 #include "base/string_util.h" 15 #include "base/string_util.h"
17 #include "chrome/installer/util/delete_tree_work_item.h" 16 #include "chrome/installer/util/delete_tree_work_item.h"
18 #include "chrome/installer/util/work_item.h" 17 #include "chrome/installer/util/work_item.h"
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 212
214 // verify everything is still there. 213 // verify everything is still there.
215 EXPECT_TRUE(file_util::PathExists(key_path)); 214 EXPECT_TRUE(file_util::PathExists(key_path));
216 EXPECT_TRUE(file_util::PathExists(file_name_delete_1)); 215 EXPECT_TRUE(file_util::PathExists(file_name_delete_1));
217 EXPECT_TRUE(file_util::PathExists(file_name_delete_2)); 216 EXPECT_TRUE(file_util::PathExists(file_name_delete_2));
218 217
219 TerminateProcess(pi.hProcess, 0); 218 TerminateProcess(pi.hProcess, 0);
220 // make sure the handle is closed. 219 // make sure the handle is closed.
221 WaitForSingleObject(pi.hProcess, INFINITE); 220 WaitForSingleObject(pi.hProcess, INFINITE);
222 } 221 }
OLDNEW
« no previous file with comments | « chrome/installer/util/copy_tree_work_item_unittest.cc ('k') | chrome/installer/util/helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698