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

Side by Side Diff: net/base/mime_extension_chromeos.h

Issue 1134393002: Implement ChromeOS mime type extension mappings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Flag guard two test cases for ChromeOS. Created 5 years, 7 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
« no previous file with comments | « no previous file | net/base/mime_extension_chromeos.cc » ('j') | net/base/mime_util.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef NET_BASE_MIME_EXTENSION_CHROMEOS_H_
6 #define NET_BASE_MIME_EXTENSION_CHROMEOS_H_
7
8 #include <string>
9
10 #include "base/files/file_path.h"
11
12 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.
13
14 bool GetPlatformMimeTypeFromExtension(const base::FilePath::StringType& ext,
15 std::string* mime_type);
16
17 } // namespace chromeos
18
19 #endif // NET_BASE_MIME_EXTENSION_CHROMEOS_H_
OLDNEW
« no previous file with comments | « no previous file | net/base/mime_extension_chromeos.cc » ('j') | net/base/mime_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698