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

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

Issue 5698008: Switch a bunch of remaining filters to derive from BrowserMessageFilters so t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/file_utilities_messages.cc ('k') | chrome/common/mime_registry_messages.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 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.
4
5 #ifndef CHROME_COMMON_MIME_REGISTRY_MESSAGES_H_
6 #define CHROME_COMMON_MIME_REGISTRY_MESSAGES_H_
7 #pragma once
8
9 #include "base/file_path.h"
10 #include "ipc/ipc_message_macros.h"
11 #include "ipc/ipc_param_traits.h"
12
13 #define IPC_MESSAGE_START MimeRegistryMsgStart
14
15 // Mime registry messages sent from the renderer to the browser.
16
17 // Sent to query MIME information.
18 IPC_SYNC_MESSAGE_CONTROL1_1(MimeRegistryMsg_GetMimeTypeFromExtension,
19 FilePath::StringType /* extension */,
20 std::string /* mime_type */)
21 IPC_SYNC_MESSAGE_CONTROL1_1(MimeRegistryMsg_GetMimeTypeFromFile,
22 FilePath /* file_path */,
23 std::string /* mime_type */)
24 IPC_SYNC_MESSAGE_CONTROL1_1(MimeRegistryMsg_GetPreferredExtensionForMimeType,
25 std::string /* mime_type */,
26 FilePath::StringType /* extension */)
27
28 #endif // CHROME_COMMON_MIME_REGISTRY_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/common/file_utilities_messages.cc ('k') | chrome/common/mime_registry_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698