Chromium Code Reviews| Index: net/base/mime_extension_chromeos.h |
| diff --git a/net/base/mime_extension_chromeos.h b/net/base/mime_extension_chromeos.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5c42d793be6bbbe90617859bd39f1fd5cfc0c491 |
| --- /dev/null |
| +++ b/net/base/mime_extension_chromeos.h |
| @@ -0,0 +1,19 @@ |
| +// 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 chromeos { |
|
eroman
2015/05/18 15:45:24
This should additionally be in the net namespace:
yawano
2015/05/19 02:26:40
Done.
|
| + |
| +bool GetPlatformMimeTypeFromExtension(const base::FilePath::StringType& ext, |
| + std::string* mime_type); |
| + |
| +} // namespace chromeos |
| + |
| +#endif // NET_BASE_MIME_EXTENSION_CHROMEOS_H_ |