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

Unified Diff: content/browser/mime_registry_message_filter.h

Issue 2024363002: Convert MimeRegistry to use mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@message-mojom-magic
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/mime_registry_impl.cc ('k') | content/browser/mime_registry_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mime_registry_message_filter.h
diff --git a/content/browser/mime_registry_message_filter.h b/content/browser/mime_registry_message_filter.h
deleted file mode 100644
index c4b110e98a24b156c3f7cf1dd6f8a41d326bf355..0000000000000000000000000000000000000000
--- a/content/browser/mime_registry_message_filter.h
+++ /dev/null
@@ -1,32 +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 CONTENT_BROWSER_MIME_REGISTRY_MESSAGE_FILTER_H_
-#define CONTENT_BROWSER_MIME_REGISTRY_MESSAGE_FILTER_H_
-
-#include "base/files/file_path.h"
-#include "content/public/browser/browser_message_filter.h"
-
-namespace content {
-
-class MimeRegistryMessageFilter : public BrowserMessageFilter {
- public:
- MimeRegistryMessageFilter();
-
- void OverrideThreadForMessage(const IPC::Message& message,
- BrowserThread::ID* thread) override;
- bool OnMessageReceived(const IPC::Message& message) override;
-
- private:
- ~MimeRegistryMessageFilter() override;
-
- void OnGetMimeTypeFromExtension(const base::FilePath::StringType& ext,
- std::string* mime_type);
- void OnGetMimeTypeFromFile(const base::FilePath& file_path,
- std::string* mime_type);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_MIME_REGISTRY_MESSAGE_FILTER_H_
« no previous file with comments | « content/browser/mime_registry_impl.cc ('k') | content/browser/mime_registry_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698