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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/mime_util.h

Issue 23945002: file_manager: Move non-binding code to c/b/chromeos/file_manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
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_EXTENSIONS_FILE_MANAGER_MIME_UTIL_H_
8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_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_EXTENSIONS_FILE_MANAGER_MIME_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698