[content shell] hook up testRunner.dumpEditingCallbacks
[chromium-blink-merge.git] / content / common / mime_registry_messages.h
blob559f0acb6fb55e746d6b13797062ff111ba8de85
1 // Copyright (c) 2011 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.
5 // Multiply-included message file, so no include guard.
7 #include "base/file_path.h"
8 #include "content/public/common/common_param_traits.h"
9 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_param_traits.h"
12 #define IPC_MESSAGE_START MimeRegistryMsgStart
14 // Mime registry messages sent from the renderer to the browser.
16 // Sent to query MIME information.
17 IPC_SYNC_MESSAGE_CONTROL1_1(MimeRegistryMsg_GetMimeTypeFromExtension,
18 FilePath::StringType /* extension */,
19 std::string /* mime_type */)
20 IPC_SYNC_MESSAGE_CONTROL1_1(MimeRegistryMsg_GetMimeTypeFromFile,
21 FilePath /* file_path */,
22 std::string /* mime_type */)
23 IPC_SYNC_MESSAGE_CONTROL1_1(MimeRegistryMsg_GetPreferredExtensionForMimeType,
24 std::string /* mime_type */,
25 FilePath::StringType /* extension */)