| 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 #include "chrome/browser/chromeos/extensions/file_manager/file_manager_util.h" | 4 #include "chrome/browser/chromeos/extensions/file_manager/file_manager_util.h" |
| 5 | 5 |
| 6 #include "ash/shell.h" | 6 #include "ash/shell.h" |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/json/json_writer.h" | 9 #include "base/json/json_writer.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/metrics/histogram.h" | 11 #include "base/metrics/histogram.h" |
| 12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
| 13 #include "base/string_util.h" | 13 #include "base/strings/string_util.h" |
| 14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
| 15 #include "base/threading/sequenced_worker_pool.h" | 15 #include "base/threading/sequenced_worker_pool.h" |
| 16 #include "base/values.h" | 16 #include "base/values.h" |
| 17 #include "chrome/browser/chromeos/drive/drive.pb.h" | 17 #include "chrome/browser/chromeos/drive/drive.pb.h" |
| 18 #include "chrome/browser/chromeos/drive/drive_integration_service.h" | 18 #include "chrome/browser/chromeos/drive/drive_integration_service.h" |
| 19 #include "chrome/browser/chromeos/drive/file_system.h" | 19 #include "chrome/browser/chromeos/drive/file_system.h" |
| 20 #include "chrome/browser/chromeos/drive/file_system_util.h" | 20 #include "chrome/browser/chromeos/drive/file_system_util.h" |
| 21 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_handler.h
" | 21 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_handler.h
" |
| 22 #include "chrome/browser/chromeos/extensions/file_manager/file_handler_util.h" | 22 #include "chrome/browser/chromeos/extensions/file_manager/file_handler_util.h" |
| 23 #include "chrome/browser/chromeos/media/media_player.h" | 23 #include "chrome/browser/chromeos/media/media_player.h" |
| (...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 993 // If the file doesn't have an extension or its mime-type cannot be | 993 // If the file doesn't have an extension or its mime-type cannot be |
| 994 // determined, then indicate that it has the empty mime-type. This will | 994 // determined, then indicate that it has the empty mime-type. This will |
| 995 // only be matched if the Web Intents accepts "*" or "*/*". | 995 // only be matched if the Web Intents accepts "*" or "*/*". |
| 996 return ""; | 996 return ""; |
| 997 } else { | 997 } else { |
| 998 return mime_type; | 998 return mime_type; |
| 999 } | 999 } |
| 1000 } | 1000 } |
| 1001 | 1001 |
| 1002 } // namespace file_manager_util | 1002 } // namespace file_manager_util |
| OLD | NEW |