Update navigator.services API to use the new services.onconnect event [2/3].
[chromium-blink-merge.git] / net / base / mime_extension_chromeos.h
blobc77bca86b784af6beb79c49db48a5160f29ee07a
1 // Copyright 2015 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.
5 #ifndef NET_BASE_MIME_EXTENSION_CHROMEOS_H_
6 #define NET_BASE_MIME_EXTENSION_CHROMEOS_H_
8 #include <string>
10 #include "base/files/file_path.h"
12 namespace net {
13 namespace chromeos {
15 bool GetPlatformMimeTypeFromExtension(const base::FilePath::StringType& ext,
16 std::string* mime_type);
18 } // namespace chromeos
19 } // namespace net
21 #endif // NET_BASE_MIME_EXTENSION_CHROMEOS_H_