OLD | NEW |
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/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/file_util.h" | 13 #include "base/files/file_util.h" |
14 #include "base/prefs/pref_member.h" | 14 #include "base/prefs/pref_member.h" |
15 #include "base/prefs/pref_service.h" | 15 #include "base/prefs/pref_service.h" |
16 #include "base/rand_util.h" | 16 #include "base/rand_util.h" |
17 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
19 #include "base/task_runner.h" | 19 #include "base/task_runner.h" |
20 #include "base/task_runner_util.h" | 20 #include "base/task_runner_util.h" |
21 #include "base/threading/sequenced_worker_pool.h" | 21 #include "base/threading/sequenced_worker_pool.h" |
22 #include "base/time/time.h" | 22 #include "base/time/time.h" |
23 #include "chrome/browser/browser_process.h" | 23 #include "chrome/browser/browser_process.h" |
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 path.MatchesExtension(FILE_PATH_LITERAL(".xht")) || | 722 path.MatchesExtension(FILE_PATH_LITERAL(".xht")) || |
723 path.MatchesExtension(FILE_PATH_LITERAL(".xhtm")) || | 723 path.MatchesExtension(FILE_PATH_LITERAL(".xhtm")) || |
724 path.MatchesExtension(FILE_PATH_LITERAL(".xhtml")) || | 724 path.MatchesExtension(FILE_PATH_LITERAL(".xhtml")) || |
725 path.MatchesExtension(FILE_PATH_LITERAL(".xsl")) || | 725 path.MatchesExtension(FILE_PATH_LITERAL(".xsl")) || |
726 path.MatchesExtension(FILE_PATH_LITERAL(".xslt"))) { | 726 path.MatchesExtension(FILE_PATH_LITERAL(".xslt"))) { |
727 return true; | 727 return true; |
728 } | 728 } |
729 #endif | 729 #endif |
730 return false; | 730 return false; |
731 } | 731 } |
OLD | NEW |