summaryrefslogtreecommitdiffstats
path: root/net/base/mime_extension_chromeos.h
blob: c77bca86b784af6beb79c49db48a5160f29ee07a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef NET_BASE_MIME_EXTENSION_CHROMEOS_H_
#define NET_BASE_MIME_EXTENSION_CHROMEOS_H_

#include <string>

#include "base/files/file_path.h"

namespace net {
namespace chromeos {

bool GetPlatformMimeTypeFromExtension(const base::FilePath::StringType& ext,
                                      std::string* mime_type);

}  // namespace chromeos
}  // namespace net

#endif  // NET_BASE_MIME_EXTENSION_CHROMEOS_H_