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

Side by Side Diff: content/shell/browser/shell_download_manager_delegate.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "content/shell/browser/shell_download_manager_delegate.h" 5 #include "content/shell/browser/shell_download_manager_delegate.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #include <commdlg.h> 9 #include <commdlg.h>
10 #endif 10 #endif
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/file_util.h" 14 #include "base/files/file_util.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "content/public/browser/browser_context.h" 18 #include "content/public/browser/browser_context.h"
19 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
20 #include "content/public/browser/download_manager.h" 20 #include "content/public/browser/download_manager.h"
21 #include "content/public/browser/web_contents.h" 21 #include "content/public/browser/web_contents.h"
22 #include "content/shell/browser/webkit_test_controller.h" 22 #include "content/shell/browser/webkit_test_controller.h"
23 #include "content/shell/common/shell_switches.h" 23 #include "content/shell/common/shell_switches.h"
24 #include "net/base/filename_util.h" 24 #include "net/base/filename_util.h"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, result); 193 DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, result);
194 } 194 }
195 195
196 void ShellDownloadManagerDelegate::SetDownloadBehaviorForTesting( 196 void ShellDownloadManagerDelegate::SetDownloadBehaviorForTesting(
197 const base::FilePath& default_download_path) { 197 const base::FilePath& default_download_path) {
198 default_download_path_ = default_download_path; 198 default_download_path_ = default_download_path;
199 suppress_prompting_ = true; 199 suppress_prompting_ = true;
200 } 200 }
201 201
202 } // namespace content 202 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/browser/shell_content_browser_client.cc ('k') | content/shell/browser/shell_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698