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

Side by Side Diff: content/common/mime_registry_messages.h

Issue 8368004: Move common_param_traits and webkit_param_traits to content/public/common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/media/video_capture_messages.h ('k') | content/common/pepper_file_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message file, so no include guard. 5 // Multiply-included message file, so no include guard.
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "content/common/common_param_traits.h" 8 #include "content/public/common/common_param_traits.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_param_traits.h" 10 #include "ipc/ipc_param_traits.h"
11 11
12 #define IPC_MESSAGE_START MimeRegistryMsgStart 12 #define IPC_MESSAGE_START MimeRegistryMsgStart
13 13
14 // Mime registry messages sent from the renderer to the browser. 14 // Mime registry messages sent from the renderer to the browser.
15 15
16 // Sent to query MIME information. 16 // Sent to query MIME information.
17 IPC_SYNC_MESSAGE_CONTROL1_1(MimeRegistryMsg_GetMimeTypeFromExtension, 17 IPC_SYNC_MESSAGE_CONTROL1_1(MimeRegistryMsg_GetMimeTypeFromExtension,
18 FilePath::StringType /* extension */, 18 FilePath::StringType /* extension */,
19 std::string /* mime_type */) 19 std::string /* mime_type */)
20 IPC_SYNC_MESSAGE_CONTROL1_1(MimeRegistryMsg_GetMimeTypeFromFile, 20 IPC_SYNC_MESSAGE_CONTROL1_1(MimeRegistryMsg_GetMimeTypeFromFile,
21 FilePath /* file_path */, 21 FilePath /* file_path */,
22 std::string /* mime_type */) 22 std::string /* mime_type */)
23 IPC_SYNC_MESSAGE_CONTROL1_1(MimeRegistryMsg_GetPreferredExtensionForMimeType, 23 IPC_SYNC_MESSAGE_CONTROL1_1(MimeRegistryMsg_GetPreferredExtensionForMimeType,
24 std::string /* mime_type */, 24 std::string /* mime_type */,
25 FilePath::StringType /* extension */) 25 FilePath::StringType /* extension */)
26 26
OLDNEW
« no previous file with comments | « content/common/media/video_capture_messages.h ('k') | content/common/pepper_file_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698