OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 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 #include <map> | 5 #include <map> |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
12 #include "base/file_util_proxy.h" | 12 #include "base/file_util_proxy.h" |
13 #include "base/nullable_string16.h" | 13 #include "base/nullable_string16.h" |
14 #include "base/platform_file.h" | 14 #include "base/platform_file.h" |
15 #include "base/sync_socket.h" | 15 #include "base/sync_socket.h" |
16 #include "chrome/common/content_settings.h" | 16 #include "chrome/common/content_settings.h" |
17 #include "chrome/common/geoposition.h" | 17 #include "chrome/common/geoposition.h" |
18 #include "chrome/common/nacl_types.h" | 18 #include "chrome/common/nacl_types.h" |
19 #include "chrome/common/notification_type.h" | 19 #include "chrome/common/notification_type.h" |
20 #include "chrome/common/page_zoom.h" | 20 #include "chrome/common/page_zoom.h" |
21 #include "chrome/common/speech_input_result.h" | 21 #include "chrome/common/speech_input_result.h" |
22 #include "chrome/common/translate_errors.h" | 22 #include "chrome/common/translate_errors.h" |
23 #include "chrome/common/window_container_type.h" | 23 #include "chrome/common/window_container_type.h" |
24 #include "ipc/ipc_message_macros.h" | 24 #include "ipc/ipc_message_macros.h" |
25 #include "media/audio/audio_buffers_state.h" | 25 #include "media/audio/audio_buffers_state.h" |
26 #include "third_party/WebKit/WebKit/chromium/public/WebExceptionCode.h" | |
27 #include "third_party/WebKit/WebKit/chromium/public/WebFindOptions.h" | 26 #include "third_party/WebKit/WebKit/chromium/public/WebFindOptions.h" |
28 #include "third_party/WebKit/WebKit/chromium/public/WebMediaPlayerAction.h" | 27 #include "third_party/WebKit/WebKit/chromium/public/WebMediaPlayerAction.h" |
29 #include "third_party/WebKit/WebKit/chromium/public/WebScreenInfo.h" | 28 #include "third_party/WebKit/WebKit/chromium/public/WebScreenInfo.h" |
30 #include "webkit/glue/context_menu.h" | 29 #include "webkit/glue/context_menu.h" |
31 #include "webkit/glue/form_data.h" | 30 #include "webkit/glue/form_data.h" |
32 #include "webkit/glue/password_form_dom_manager.h" | 31 #include "webkit/glue/password_form_dom_manager.h" |
33 #include "webkit/glue/plugins/webplugininfo.h" | 32 #include "webkit/glue/plugins/webplugininfo.h" |
34 #include "webkit/glue/webdropdata.h" | 33 #include "webkit/glue/webdropdata.h" |
35 | 34 |
36 #if defined(OS_POSIX) | 35 #if defined(OS_POSIX) |
37 #include "base/file_descriptor_posix.h" | 36 #include "base/file_descriptor_posix.h" |
38 #endif | 37 #endif |
39 | 38 |
40 #if defined(OS_MACOSX) | 39 #if defined(OS_MACOSX) |
41 #include "chrome/common/font_descriptor_mac.h" | 40 #include "chrome/common/font_descriptor_mac.h" |
42 #endif | 41 #endif |
43 | 42 |
44 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes | 43 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes |
45 // more sense with our current design. | 44 // more sense with our current design. |
46 | 45 |
47 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need | 46 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need |
48 // to typedef it to avoid that. | 47 // to typedef it to avoid that. |
49 // Substitution map for l10n messages. | 48 // Substitution map for l10n messages. |
50 typedef std::map<std::string, std::string> SubstitutionMap; | 49 typedef std::map<std::string, std::string> SubstitutionMap; |
51 | 50 |
52 class Value; | 51 class Value; |
53 class GPUInfo; | 52 class GPUInfo; |
54 class SerializedScriptValue; | |
55 class SkBitmap; | 53 class SkBitmap; |
56 struct ThumbnailScore; | 54 struct ThumbnailScore; |
57 class WebCursor; | 55 class WebCursor; |
58 | 56 |
59 namespace gfx { | 57 namespace gfx { |
60 class Rect; | 58 class Rect; |
61 } | 59 } |
62 | 60 |
63 namespace IPC { | 61 namespace IPC { |
64 struct ChannelHandle; | 62 struct ChannelHandle; |
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
911 | 909 |
912 // Asks the child process to close a database immediately | 910 // Asks the child process to close a database immediately |
913 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseCloseImmediately, | 911 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseCloseImmediately, |
914 string16 /* the origin */, | 912 string16 /* the origin */, |
915 string16 /* the database name */) | 913 string16 /* the database name */) |
916 | 914 |
917 // Storage events are broadcast to renderer processes. | 915 // Storage events are broadcast to renderer processes. |
918 IPC_MESSAGE_CONTROL1(ViewMsg_DOMStorageEvent, | 916 IPC_MESSAGE_CONTROL1(ViewMsg_DOMStorageEvent, |
919 ViewMsg_DOMStorageEvent_Params) | 917 ViewMsg_DOMStorageEvent_Params) |
920 | 918 |
921 // IDBCallback message handlers. | |
922 IPC_MESSAGE_CONTROL1(ViewMsg_IDBCallbacksSuccessNull, | |
923 int32 /* response_id */) | |
924 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIDBCursor, | |
925 int32 /* response_id */, | |
926 int32 /* cursor_id */) | |
927 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIDBDatabase, | |
928 int32 /* response_id */, | |
929 int32 /* idb_database_id */) | |
930 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIndexedDBKey, | |
931 int32 /* response_id */, | |
932 IndexedDBKey /* indexed_db_key */) | |
933 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIDBIndex, | |
934 int32 /* response_id */, | |
935 int32 /* idb_index_id */) | |
936 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIDBObjectStore, | |
937 int32 /* response_id */, | |
938 int32 /* idb_object_store_id */) | |
939 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIDBTransaction, | |
940 int32 /* response_id */, | |
941 int32 /* idb_transaction_id */) | |
942 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessSerializedScriptValue, | |
943 int32 /* response_id */, | |
944 SerializedScriptValue /* serialized_script_value */) | |
945 IPC_MESSAGE_CONTROL3(ViewMsg_IDBCallbacksError, | |
946 int32 /* response_id */, | |
947 int /* code */, | |
948 string16 /* message */) | |
949 | |
950 // IDBTransactionCallback message handlers. | |
951 IPC_MESSAGE_CONTROL1(ViewMsg_IDBTransactionCallbacksAbort, | |
952 int32 /* transaction_id */) | |
953 IPC_MESSAGE_CONTROL1(ViewMsg_IDBTransactionCallbacksComplete, | |
954 int32 /* transaction_id */) | |
955 IPC_MESSAGE_CONTROL1(ViewMsg_IDBTransactionCallbacksTimeout, | |
956 int32 /* transaction_id */) | |
957 | |
958 #if defined(IPC_MESSAGE_LOG_ENABLED) | 919 #if defined(IPC_MESSAGE_LOG_ENABLED) |
959 // Tell the renderer process to begin or end IPC message logging. | 920 // Tell the renderer process to begin or end IPC message logging. |
960 IPC_MESSAGE_CONTROL1(ViewMsg_SetIPCLoggingEnabled, | 921 IPC_MESSAGE_CONTROL1(ViewMsg_SetIPCLoggingEnabled, |
961 bool /* on or off */) | 922 bool /* on or off */) |
962 #endif | 923 #endif |
963 | 924 |
964 // Socket Stream messages: | 925 // Socket Stream messages: |
965 // These are messages from the browser to the SocketStreamHandle on | 926 // These are messages from the browser to the SocketStreamHandle on |
966 // a renderer. | 927 // a renderer. |
967 | 928 |
(...skipping 1450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2418 string16 /* key */, | 2379 string16 /* key */, |
2419 GURL /* url */, | 2380 GURL /* url */, |
2420 NullableString16 /* old_value */) | 2381 NullableString16 /* old_value */) |
2421 | 2382 |
2422 // Clear the storage area. | 2383 // Clear the storage area. |
2423 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageClear, | 2384 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageClear, |
2424 int64 /* storage_area_id */, | 2385 int64 /* storage_area_id */, |
2425 GURL /* url */, | 2386 GURL /* url */, |
2426 bool /* something_cleared */) | 2387 bool /* something_cleared */) |
2427 | 2388 |
2428 // WebIDBCursor::direction() message. | |
2429 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBCursorDirection, | |
2430 int32, /* idb_cursor_id */ | |
2431 int32 /* direction */) | |
2432 | |
2433 // WebIDBCursor::key() message. | |
2434 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBCursorKey, | |
2435 int32, /* idb_cursor_id */ | |
2436 IndexedDBKey) | |
2437 | |
2438 // WebIDBCursor::value() message. | |
2439 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_IDBCursorValue, | |
2440 int32, /* idb_cursor_id */ | |
2441 SerializedScriptValue, /* script_value */ | |
2442 IndexedDBKey /* key */) | |
2443 | |
2444 // WebIDBCursor::update() message. | |
2445 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_IDBCursorUpdate, | |
2446 int32, /* idb_cursor_id */ | |
2447 int32, /* response_id */ | |
2448 SerializedScriptValue, /* value */ | |
2449 WebKit::WebExceptionCode /* ec */) | |
2450 | |
2451 // WebIDBCursor::continue() message. | |
2452 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_IDBCursorContinue, | |
2453 int32, /* idb_cursor_id */ | |
2454 int32, /* response_id */ | |
2455 IndexedDBKey, /* key */ | |
2456 WebKit::WebExceptionCode /* ec */) | |
2457 | |
2458 // WebIDBCursor::remove() message. | |
2459 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_IDBCursorDelete, | |
2460 int32, /* idb_cursor_id */ | |
2461 int32, /* response_id */ | |
2462 WebKit::WebExceptionCode /* ec */) | |
2463 | |
2464 // WebIDBFactory::open() message. | |
2465 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBFactoryOpen, | |
2466 ViewHostMsg_IDBFactoryOpen_Params) | |
2467 | |
2468 // WebIDBDatabase::name() message. | |
2469 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBDatabaseName, | |
2470 int32, /* idb_database_id */ | |
2471 string16 /* name */) | |
2472 | |
2473 // WebIDBDatabase::version() message. | |
2474 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBDatabaseVersion, | |
2475 int32, /* idb_database_id */ | |
2476 string16 /* vesion */) | |
2477 | |
2478 // WebIDBDatabase::objectStoreNames() message. | |
2479 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBDatabaseObjectStoreNames, | |
2480 int32, /* idb_database_id */ | |
2481 std::vector<string16> /* objectStoreNames */) | |
2482 | |
2483 // WebIDBDatabase::createObjectStore() message. | |
2484 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_IDBDatabaseCreateObjectStore, | |
2485 ViewHostMsg_IDBDatabaseCreateObjectStore_Params, | |
2486 int32, /* object_store_id */ | |
2487 WebKit::WebExceptionCode /* ec */) | |
2488 | |
2489 // WebIDBDatabase::removeObjectStore() message. | |
2490 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_IDBDatabaseDeleteObjectStore, | |
2491 int32, /* idb_database_id */ | |
2492 string16, /* name */ | |
2493 int32, /* transaction_id */ | |
2494 WebKit::WebExceptionCode /* ec */) | |
2495 | |
2496 // WebIDBDatabase::setVersion() message. | |
2497 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_IDBDatabaseSetVersion, | |
2498 int32, /* idb_database_id */ | |
2499 int32, /* response_id */ | |
2500 string16, /* version */ | |
2501 WebKit::WebExceptionCode /* ec */) | |
2502 | |
2503 // WebIDBDatabase::transaction() message. | |
2504 // TODO: make this message async. Have the renderer create a | |
2505 // temporary ID and keep a map in the browser process of real | |
2506 // IDs to temporary IDs. We can then update the transaction | |
2507 // to its real ID asynchronously. | |
2508 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_IDBDatabaseTransaction, | |
2509 int32, /* idb_database_id */ | |
2510 std::vector<string16>, /* object_stores */ | |
2511 int32, /* mode */ | |
2512 int32, /* timeout */ | |
2513 int32, /* idb_transaction_id */ | |
2514 WebKit::WebExceptionCode /* ec */) | |
2515 | |
2516 // WebIDBDatabase::~WebIDBDatabase() message. | |
2517 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBDatabaseDestroyed, | |
2518 int32 /* idb_database_id */) | |
2519 | |
2520 // WebIDBIndex::name() message. | |
2521 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBIndexName, | |
2522 int32, /* idb_index_id */ | |
2523 string16 /* name */) | |
2524 | |
2525 // WebIDBIndex::storeName() message. | |
2526 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBIndexStoreName, | |
2527 int32, /* idb_index_id */ | |
2528 string16 /* store_name */) | |
2529 | |
2530 // WebIDBIndex::keyPath() message. | |
2531 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBIndexKeyPath, | |
2532 int32, /* idb_index_id */ | |
2533 NullableString16 /* key_path */) | |
2534 | |
2535 // WebIDBIndex::unique() message. | |
2536 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBIndexUnique, | |
2537 int32, /* idb_unique_id */ | |
2538 bool /* unique */) | |
2539 | |
2540 // WebIDBIndex::openObjectCursor() message. | |
2541 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBIndexOpenObjectCursor, | |
2542 ViewHostMsg_IDBIndexOpenCursor_Params, | |
2543 WebKit::WebExceptionCode /* ec */) | |
2544 | |
2545 // WebIDBIndex::openKeyCursor() message. | |
2546 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBIndexOpenKeyCursor, | |
2547 ViewHostMsg_IDBIndexOpenCursor_Params, | |
2548 WebKit::WebExceptionCode /* ec */) | |
2549 | |
2550 // WebIDBIndex::getObject() message. | |
2551 IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_IDBIndexGetObject, | |
2552 int32, /* idb_index_id */ | |
2553 int32, /* response_id */ | |
2554 IndexedDBKey, /* key */ | |
2555 int32, /* transaction_id */ | |
2556 WebKit::WebExceptionCode /* ec */) | |
2557 | |
2558 // WebIDBIndex::getKey() message. | |
2559 IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_IDBIndexGetKey, | |
2560 int32, /* idb_index_id */ | |
2561 int32, /* response_id */ | |
2562 IndexedDBKey, /* key */ | |
2563 int32, /* transaction_id */ | |
2564 WebKit::WebExceptionCode /* ec */) | |
2565 | |
2566 // WebIDBIndex::~WebIDBIndex() message. | |
2567 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBIndexDestroyed, | |
2568 int32 /* idb_index_id */) | |
2569 | |
2570 // WebIDBObjectStore::name() message. | |
2571 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBObjectStoreName, | |
2572 int32, /* idb_object_store_id */ | |
2573 string16 /* name */) | |
2574 | |
2575 // WebIDBObjectStore::keyPath() message. | |
2576 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBObjectStoreKeyPath, | |
2577 int32, /* idb_object_store_id */ | |
2578 NullableString16 /* keyPath */) | |
2579 | |
2580 // WebIDBObjectStore::indexNames() message. | |
2581 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBObjectStoreIndexNames, | |
2582 int32, /* idb_object_store_id */ | |
2583 std::vector<string16> /* index_names */) | |
2584 | |
2585 // WebIDBObjectStore::get() message. | |
2586 IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_IDBObjectStoreGet, | |
2587 int32, /* idb_object_store_id */ | |
2588 int32, /* response_id */ | |
2589 IndexedDBKey, /* key */ | |
2590 int32, /* transaction_id */ | |
2591 WebKit::WebExceptionCode /* ec */) | |
2592 | |
2593 // WebIDBObjectStore::put() message. | |
2594 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBObjectStorePut, | |
2595 ViewHostMsg_IDBObjectStorePut_Params, | |
2596 WebKit::WebExceptionCode /* ec */) | |
2597 | |
2598 // WebIDBObjectStore::delete() message. | |
2599 IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_IDBObjectStoreDelete, | |
2600 int32, /* idb_object_store_id */ | |
2601 int32, /* response_id */ | |
2602 IndexedDBKey, /* key */ | |
2603 int32, /* transaction_id */ | |
2604 WebKit::WebExceptionCode /* ec */) | |
2605 | |
2606 // WebIDBObjectStore::createIndex() message. | |
2607 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_IDBObjectStoreCreateIndex, | |
2608 ViewHostMsg_IDBObjectStoreCreateIndex_Params, | |
2609 int32, /* index_id */ | |
2610 WebKit::WebExceptionCode /* ec */) | |
2611 | |
2612 // WebIDBObjectStore::index() message. | |
2613 IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_IDBObjectStoreIndex, | |
2614 int32, /* idb_object_store_id */ | |
2615 string16, /* name */ | |
2616 int32, /* idb_index_id */ | |
2617 WebKit::WebExceptionCode /* ec */) | |
2618 | |
2619 // WebIDBObjectStore::deleteIndex() message. | |
2620 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_IDBObjectStoreDeleteIndex, | |
2621 int32, /* idb_object_store_id */ | |
2622 string16, /* name */ | |
2623 int32, /* transaction_id */ | |
2624 WebKit::WebExceptionCode /* ec */) | |
2625 | |
2626 // WebIDBObjectStore::openCursor() message. | |
2627 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBObjectStoreOpenCursor, | |
2628 ViewHostMsg_IDBObjectStoreOpenCursor_Params, | |
2629 WebKit::WebExceptionCode /* ec */) | |
2630 | |
2631 // WebIDBObjectStore::~WebIDBObjectStore() message. | |
2632 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBObjectStoreDestroyed, | |
2633 int32 /* idb_object_store_id */) | |
2634 | |
2635 // WebIDBDatabase::~WebIDBCursor() message. | |
2636 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBCursorDestroyed, | |
2637 int32 /* idb_cursor_id */) | |
2638 | |
2639 // IDBTransaction::ObjectStore message. | |
2640 IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_IDBTransactionObjectStore, | |
2641 int32, /* transaction_id */ | |
2642 string16, /* name */ | |
2643 int32, /* object_store_id */ | |
2644 WebKit::WebExceptionCode /* ec */) | |
2645 | |
2646 // WebIDBTransaction::mode() message. | |
2647 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBTransactionMode, | |
2648 int32, /* idb_transaction_id */ | |
2649 int /* mode */) | |
2650 | |
2651 // WebIDBTransaction::abort() message. | |
2652 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBTransactionAbort, | |
2653 int32 /* idb_transaction_id */) | |
2654 | |
2655 // IDBTransaction::DidCompleteTaskEvents() message. | |
2656 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBTransactionDidCompleteTaskEvents, | |
2657 int32 /* idb_transaction_id */) | |
2658 | |
2659 // WebIDBTransaction::~WebIDBTransaction() message. | |
2660 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBTransactionDestroyed, | |
2661 int32 /* idb_transaction_id */) | |
2662 | |
2663 // Get file size in bytes. Set result to -1 if failed to get the file size. | 2389 // Get file size in bytes. Set result to -1 if failed to get the file size. |
2664 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileSize, | 2390 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileSize, |
2665 FilePath /* path */, | 2391 FilePath /* path */, |
2666 int64 /* result */) | 2392 int64 /* result */) |
2667 | 2393 |
2668 // Get file modification time in seconds. Set result to 0 if failed to get the | 2394 // Get file modification time in seconds. Set result to 0 if failed to get the |
2669 // file modification time. | 2395 // file modification time. |
2670 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileModificationTime, | 2396 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileModificationTime, |
2671 FilePath /* path */, | 2397 FilePath /* path */, |
2672 base::Time /* result */) | 2398 base::Time /* result */) |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3072 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperQueryFile, | 2798 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperQueryFile, |
3073 FilePath /* path */, | 2799 FilePath /* path */, |
3074 base::PlatformFileInfo, /* info */ | 2800 base::PlatformFileInfo, /* info */ |
3075 base::PlatformFileError /* error_code */) | 2801 base::PlatformFileError /* error_code */) |
3076 | 2802 |
3077 // Get the directory's contents. | 2803 // Get the directory's contents. |
3078 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, | 2804 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, |
3079 FilePath /* path */, | 2805 FilePath /* path */, |
3080 PepperDirContents, /* contents */ | 2806 PepperDirContents, /* contents */ |
3081 base::PlatformFileError /* error_code */) | 2807 base::PlatformFileError /* error_code */) |
OLD | NEW |