- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / file_manager / mime_util.h
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
3 // found in the LICENSE file.
4 //
5 // This file provides MIME related utilities.
6
7 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_MIME_UTIL_H_
8 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_MIME_UTIL_H_
9
10 #include <string>
11
12 #include "chrome/browser/extensions/api/file_handlers/app_file_handler_util.h"
13 #include "url/gurl.h"
14
15 namespace base {
16 class FilePath;
17 }
18
19 namespace file_manager {
20 namespace util {
21
22 // Returns the MIME type of |file_path|. Returns "" if the MIME type is
23 // unknown.
24 std::string GetMimeTypeForPath(const base::FilePath& file_path);
25
26 }  // namespace util
27 }  // namespace file_manager
28
29 #endif  // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_MIME_UTIL_H_