diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-11 20:41:21 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-11 20:41:21 +0000 |
commit | e5285892d1f34618bf65f207c73eaed2e61357f3 (patch) | |
tree | 3029892991a00a440f3bfba91ef6c8edfb7ef292 /content | |
parent | 7e98f94bf8b44c8b16b81a4b12700ed425343f91 (diff) | |
download | chromium_src-e5285892d1f34618bf65f207c73eaed2e61357f3.zip chromium_src-e5285892d1f34618bf65f207c73eaed2e61357f3.tar.gz chromium_src-e5285892d1f34618bf65f207c73eaed2e61357f3.tar.bz2 |
Linux: Move base/mime_util* to base/nix. It's not used on any other platform.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8538008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109685 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/tab_contents/web_drag_source_gtk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/tab_contents/web_drag_source_gtk.cc b/content/browser/tab_contents/web_drag_source_gtk.cc index bb0d3e8..7c01fa4 100644 --- a/content/browser/tab_contents/web_drag_source_gtk.cc +++ b/content/browser/tab_contents/web_drag_source_gtk.cc @@ -7,7 +7,7 @@ #include <string> #include "base/file_util.h" -#include "base/mime_util.h" +#include "base/nix/mime_util_xdg.h" #include "base/threading/thread_restrictions.h" #include "base/utf_string_conversions.h" #include "content/browser/download/drag_download_file.h" @@ -114,7 +114,7 @@ void WebDragSourceGtk::StartDragging(const WebDropData& drop_data, // Looking up the mime type can hit the disk. http://crbug.com/84896 base::ThreadRestrictions::ScopedAllowIO allow_io; drag_file_mime_type_ = gdk_atom_intern( - mime_util::GetDataMimeType(drop_data.file_contents).c_str(), FALSE); + base::nix::GetDataMimeType(drop_data.file_contents).c_str(), FALSE); gtk_target_list_add(list, drag_file_mime_type_, 0, ui::CHROME_WEBDROP_FILE_CONTENTS); } |