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

Side by Side Diff: content/browser/download/download_browsertest.cc

Issue 538403002: Change base/file_utils.h includes to base/files/file_utils.h in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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) 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 // This file contains download browser tests that are known to be runnable 5 // This file contains download browser tests that are known to be runnable
6 // in a pure content context. Over time tests should be migrated here. 6 // in a pure content context. Over time tests should be migrated here.
7 7
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h"
11 #include "base/files/scoped_temp_dir.h" 11 #include "base/files/scoped_temp_dir.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "base/threading/platform_thread.h" 14 #include "base/threading/platform_thread.h"
15 #include "base/time/time.h" 15 #include "base/time/time.h"
16 #include "content/browser/byte_stream.h" 16 #include "content/browser/byte_stream.h"
17 #include "content/browser/download/download_file_factory.h" 17 #include "content/browser/download/download_file_factory.h"
18 #include "content/browser/download/download_file_impl.h" 18 #include "content/browser/download/download_file_impl.h"
19 #include "content/browser/download/download_item_impl.h" 19 #include "content/browser/download/download_item_impl.h"
20 #include "content/browser/download/download_manager_impl.h" 20 #include "content/browser/download/download_manager_impl.h"
(...skipping 1787 matching lines...) Expand 10 before | Expand all | Expand 10 after
1808 ASSERT_TRUE(test_server.InitializeAndWaitUntilReady()); 1808 ASSERT_TRUE(test_server.InitializeAndWaitUntilReady());
1809 1809
1810 GURL url = test_server.GetURL("/empty.bin"); 1810 GURL url = test_server.GetURL("/empty.bin");
1811 test_server.ServeFilesFromDirectory(GetTestFilePath("download", "")); 1811 test_server.ServeFilesFromDirectory(GetTestFilePath("download", ""));
1812 1812
1813 NavigateToURLAndWaitForDownload(shell(), url, DownloadItem::COMPLETE); 1813 NavigateToURLAndWaitForDownload(shell(), url, DownloadItem::COMPLETE);
1814 // That's it. This should work without crashing. 1814 // That's it. This should work without crashing.
1815 } 1815 }
1816 1816
1817 } // namespace content 1817 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/download/base_file_win.cc ('k') | content/browser/download/download_file_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698