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

Side by Side Diff: chrome/browser/chromeos/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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 // This file provides MIME related utilities. 5 // This file provides MIME related utilities.
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_MIME_UTIL_H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_MIME_UTIL_H_
8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_MIME_UTIL_H_ 8 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_MIME_UTIL_H_
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "chrome/browser/extensions/api/file_handlers/app_file_handler_util.h" 12 #include "chrome/browser/extensions/api/file_handlers/app_file_handler_util.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 14
15 namespace base { 15 namespace base {
16 class FilePath; 16 class FilePath;
17 } 17 }
18 18
19 namespace file_manager { 19 namespace file_manager {
20 namespace util { 20 namespace util {
21 21
22 // Returns the MIME type of |file_path|. Returns "" if the MIME type is 22 // Returns the MIME type of |file_path|. Returns "" if the MIME type is
23 // unknown. 23 // unknown.
24 std::string GetMimeTypeForPath(const base::FilePath& file_path); 24 std::string GetMimeTypeForPath(const base::FilePath& file_path);
25 25
26 } // namespace util 26 } // namespace util
27 } // namespace file_manager 27 } // namespace file_manager
28 28
29 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_MIME_UTIL_H_ 29 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_MIME_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_manager/fileapi_util.cc ('k') | chrome/browser/chromeos/file_manager/mime_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698