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

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

Issue 131082: Add getFileSize support to chromium... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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/chrome.gyp ('k') | chrome/renderer/renderer_webkitclient_impl.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 1395 matching lines...) Expand 10 before | Expand all | Expand 10 after
1406 1406
1407 // Message sent from the renderer to the browser to request that the browser 1407 // Message sent from the renderer to the browser to request that the browser
1408 // close all idle sockets. Used for debugging/testing. 1408 // close all idle sockets. Used for debugging/testing.
1409 IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseIdleConnections) 1409 IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseIdleConnections)
1410 1410
1411 // Message sent from the renderer to the browser to request that the browser 1411 // Message sent from the renderer to the browser to request that the browser
1412 // close all idle sockets. Used for debugging/testing. 1412 // close all idle sockets. Used for debugging/testing.
1413 IPC_MESSAGE_CONTROL1(ViewHostMsg_SetCacheMode, 1413 IPC_MESSAGE_CONTROL1(ViewHostMsg_SetCacheMode,
1414 bool /* enabled */) 1414 bool /* enabled */)
1415 1415
1416 // Get file size in bytes. Set result to -1 if failed to get the file size.
1417 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileSize,
1418 FilePath /* path */,
1419 int64 /* result */)
1420
1416 //--------------------------------------------------------------------------- 1421 //---------------------------------------------------------------------------
1417 // Utility process host messages: 1422 // Utility process host messages:
1418 // These are messages from the utility process to the browser. They're here 1423 // These are messages from the utility process to the browser. They're here
1419 // because we ran out of spare message types. 1424 // because we ran out of spare message types.
1420 1425
1421 // Reply when the utility process is done unpacking an extension. |manifest| 1426 // Reply when the utility process is done unpacking an extension. |manifest|
1422 // is the parsed manifest.json file. The unpacker should also have written 1427 // is the parsed manifest.json file. The unpacker should also have written
1423 // out a file containing decoded images from the extension. See 1428 // out a file containing decoded images from the extension. See
1424 // ExtensionUnpacker for details. 1429 // ExtensionUnpacker for details.
1425 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Succeeded, 1430 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Succeeded,
(...skipping 13 matching lines...) Expand all
1439 // web resource. |error_message| is a user-readable explanation of what 1444 // web resource. |error_message| is a user-readable explanation of what
1440 // went wrong. 1445 // went wrong.
1441 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed, 1446 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed,
1442 std::string /* error_message, if any */) 1447 std::string /* error_message, if any */)
1443 1448
1444 // Sent by the renderer process to acknowledge receipt of a 1449 // Sent by the renderer process to acknowledge receipt of a
1445 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. 1450 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame.
1446 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) 1451 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted)
1447 1452
1448 IPC_END_MESSAGES(ViewHost) 1453 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/renderer/renderer_webkitclient_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698