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

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

Issue 6685027: Move some message files and hi_res_timer_manager to content, in preparation f... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | « chrome/common/common_message_generator.h ('k') | chrome/common/hi_res_timer_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Multiply-included message file, so no include guard.
6
7 #include "base/time.h"
8 #include "chrome/common/common_param_traits.h"
9 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_param_traits.h"
11 #include "ipc/ipc_platform_file.h"
12
13 #define IPC_MESSAGE_START FileUtilitiesMsgStart
14
15 // File utilities messages sent from the renderer to the browser.
16
17 // Get file size in bytes. Set result to -1 if failed to get the file size.
18 IPC_SYNC_MESSAGE_CONTROL1_1(FileUtilitiesMsg_GetFileSize,
19 FilePath /* path */,
20 int64 /* result */)
21
22 // Get file modification time in seconds. Set result to 0 if failed to get the
23 // file modification time.
24 IPC_SYNC_MESSAGE_CONTROL1_1(FileUtilitiesMsg_GetFileModificationTime,
25 FilePath /* path */,
26 base::Time /* result */)
27
28 // Open the file.
29 IPC_SYNC_MESSAGE_CONTROL2_1(FileUtilitiesMsg_OpenFile,
30 FilePath /* path */,
31 int /* mode */,
32 IPC::PlatformFileForTransit /* result */)
33
OLDNEW
« no previous file with comments | « chrome/common/common_message_generator.h ('k') | chrome/common/hi_res_timer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698