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

Side by Side Diff: chrome/installer/util/copy_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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/platform_thread.h" 13 #include "base/platform_thread.h"
15 #include "base/process_util.h" 14 #include "base/process_util.h"
16 #include "base/scoped_ptr.h" 15 #include "base/scoped_ptr.h"
17 #include "base/string_util.h" 16 #include "base/string_util.h"
18 #include "chrome/installer/util/work_item.h" 17 #include "chrome/installer/util/work_item.h"
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 EXPECT_TRUE(file_util::ContentsEqual(file_name_from_1, file_name_to_1)); 704 EXPECT_TRUE(file_util::ContentsEqual(file_name_from_1, file_name_to_1));
706 705
707 FilePath file_name_to_2(dir_name_to); 706 FilePath file_name_to_2(dir_name_to);
708 file_name_to_2 = file_name_to_2.AppendASCII("2"); 707 file_name_to_2 = file_name_to_2.AppendASCII("2");
709 file_name_to_2 = file_name_to_2.AppendASCII("File_2.txt"); 708 file_name_to_2 = file_name_to_2.AppendASCII("File_2.txt");
710 EXPECT_TRUE(file_util::PathExists(file_name_to_2)); 709 EXPECT_TRUE(file_util::PathExists(file_name_to_2));
711 LOG(INFO) << "compare " 710 LOG(INFO) << "compare "
712 << file_name_from_2.value() << " and " << file_name_to_2.value(); 711 << file_name_from_2.value() << " and " << file_name_to_2.value();
713 EXPECT_TRUE(file_util::ContentsEqual(file_name_from_2, file_name_to_2)); 712 EXPECT_TRUE(file_util::ContentsEqual(file_name_from_2, file_name_to_2));
714 } 713 }
OLDNEW
« no previous file with comments | « chrome/common/logging_chrome.cc ('k') | chrome/installer/util/delete_tree_work_item_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698