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

Unified Diff: base/mime_util.h

Issue 495002: Changes to base/ from a combination of FreeBSD and OpenBSD patches. (Closed)
Patch Set: minor tweaks Created 11 years 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
Index: base/mime_util.h
diff --git a/base/mime_util.h b/base/mime_util.h
index 7e1593b488703ab5790ec8f8f1bad572fe8633a6..58cb630b16bae522ce7202923257abfd12908fd0 100644
--- a/base/mime_util.h
+++ b/base/mime_util.h
@@ -20,7 +20,7 @@ std::string GetFileMimeType(const FilePath& filepath);
// Get the mime type for a byte vector.
std::string GetDataMimeType(const std::string& data);
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_GTK)
// This detects the current GTK theme by calling gtk_settings_get_default().
// It should only be executed on the UI thread and must be called before
// GetMimeIcon().
« base/message_loop.h ('K') | « base/message_loop_unittest.cc ('k') | base/native_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698