OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/file_path.h" | 5 #include "base/file_path.h" |
6 #include "base/file_util.h" | 6 #include "base/file_util.h" |
7 #include "base/memory/scoped_temp_dir.h" | |
8 #include "base/path_service.h" | 7 #include "base/path_service.h" |
| 8 #include "base/scoped_temp_dir.h" |
9 #include "chrome/app/chrome_command_ids.h" | 9 #include "chrome/app/chrome_command_ids.h" |
10 #include "chrome/browser/net/url_request_mock_http_job.h" | 10 #include "chrome/browser/net/url_request_mock_http_job.h" |
11 #include "chrome/browser/ui/browser.h" | 11 #include "chrome/browser/ui/browser.h" |
12 #include "chrome/browser/ui/browser_window.h" | 12 #include "chrome/browser/ui/browser_window.h" |
13 #include "chrome/browser/ui/download/download_tab_helper.h" | 13 #include "chrome/browser/ui/download/download_tab_helper.h" |
14 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 14 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
15 #include "chrome/common/chrome_paths.h" | 15 #include "chrome/common/chrome_paths.h" |
16 #include "chrome/common/url_constants.h" | 16 #include "chrome/common/url_constants.h" |
17 #include "chrome/test/in_process_browser_test.h" | 17 #include "chrome/test/in_process_browser_test.h" |
18 #include "chrome/test/ui_test_utils.h" | 18 #include "chrome/test/ui_test_utils.h" |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 full_file_name)); | 177 full_file_name)); |
178 EXPECT_TRUE(file_util::ContentsEqual( | 178 EXPECT_TRUE(file_util::ContentsEqual( |
179 test_dir_.Append(FilePath(kTestDir)).AppendASCII("1.png"), | 179 test_dir_.Append(FilePath(kTestDir)).AppendASCII("1.png"), |
180 dir.AppendASCII("1.png"))); | 180 dir.AppendASCII("1.png"))); |
181 EXPECT_TRUE(file_util::ContentsEqual( | 181 EXPECT_TRUE(file_util::ContentsEqual( |
182 test_dir_.Append(FilePath(kTestDir)).AppendASCII("1.css"), | 182 test_dir_.Append(FilePath(kTestDir)).AppendASCII("1.css"), |
183 dir.AppendASCII("1.css"))); | 183 dir.AppendASCII("1.css"))); |
184 } | 184 } |
185 | 185 |
186 } // namespace | 186 } // namespace |
OLD | NEW |