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

Unified Diff: base/nix/mime_util_xdg.h

Issue 1647803004: Move base to DEPS (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/native_library_win.cc ('k') | base/nix/mime_util_xdg.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/nix/mime_util_xdg.h
diff --git a/base/nix/mime_util_xdg.h b/base/nix/mime_util_xdg.h
deleted file mode 100644
index e40415e1c4800245cc6de8fa4ac41fdde476f987..0000000000000000000000000000000000000000
--- a/base/nix/mime_util_xdg.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2011 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 BASE_NIX_MIME_UTIL_XDG_H_
-#define BASE_NIX_MIME_UTIL_XDG_H_
-
-#include <string>
-
-#include "base/base_export.h"
-#include "build/build_config.h"
-
-namespace base {
-
-class FilePath;
-
-namespace nix {
-
-// Gets the mime type for a file based on its filename. The file path does not
-// have to exist. Please note because it doesn't touch the disk, this does not
-// work for directories.
-// If the mime type is unknown, this will return application/octet-stream.
-BASE_EXPORT std::string GetFileMimeType(const FilePath& filepath);
-
-// Get the mime type for a byte vector.
-BASE_EXPORT std::string GetDataMimeType(const std::string& data);
-
-} // namespace nix
-} // namespace base
-
-#endif // BASE_NIX_MIME_UTIL_XDG_H_
« no previous file with comments | « base/native_library_win.cc ('k') | base/nix/mime_util_xdg.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698