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

Side by Side Diff: chrome/browser/download/chrome_download_manager_delegate.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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 #include "chrome/browser/download/chrome_download_manager_delegate.h" 5 #include "chrome/browser/download/chrome_download_manager_delegate.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/metrics/histogram_macros.h" 14 #include "base/metrics/histogram_macros.h"
15 #include "base/rand_util.h" 15 #include "base/rand_util.h"
16 #include "base/strings/stringprintf.h"
17 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
18 #include "base/task_runner.h" 17 #include "base/task_runner.h"
19 #include "base/task_runner_util.h" 18 #include "base/task_runner_util.h"
20 #include "base/threading/sequenced_worker_pool.h" 19 #include "base/threading/sequenced_worker_pool.h"
21 #include "base/time/time.h" 20 #include "base/time/time.h"
22 #include "build/build_config.h" 21 #include "build/build_config.h"
23 #include "chrome/browser/browser_process.h" 22 #include "chrome/browser/browser_process.h"
24 #include "chrome/browser/download/download_completion_blocker.h" 23 #include "chrome/browser/download/download_completion_blocker.h"
25 #include "chrome/browser/download/download_crx_util.h" 24 #include "chrome/browser/download/download_crx_util.h"
26 #include "chrome/browser/download/download_file_picker.h" 25 #include "chrome/browser/download/download_file_picker.h"
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 path.MatchesExtension(FILE_PATH_LITERAL(".xht")) || 812 path.MatchesExtension(FILE_PATH_LITERAL(".xht")) ||
814 path.MatchesExtension(FILE_PATH_LITERAL(".xhtm")) || 813 path.MatchesExtension(FILE_PATH_LITERAL(".xhtm")) ||
815 path.MatchesExtension(FILE_PATH_LITERAL(".xhtml")) || 814 path.MatchesExtension(FILE_PATH_LITERAL(".xhtml")) ||
816 path.MatchesExtension(FILE_PATH_LITERAL(".xsl")) || 815 path.MatchesExtension(FILE_PATH_LITERAL(".xsl")) ||
817 path.MatchesExtension(FILE_PATH_LITERAL(".xslt"))) { 816 path.MatchesExtension(FILE_PATH_LITERAL(".xslt"))) {
818 return true; 817 return true;
819 } 818 }
820 #endif 819 #endif
821 return false; 820 return false;
822 } 821 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698