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

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

Issue 5722003: Make DOMStorageDispatcherHost be a message filter (and rename it accordingly)... (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
OLDNEW
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
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 string16 /* the origin */, 907 string16 /* the origin */,
908 string16 /* the database name */, 908 string16 /* the database name */,
909 int64 /* the new database size */, 909 int64 /* the new database size */,
910 int64 /* space available to origin */) 910 int64 /* space available to origin */)
911 911
912 // Asks the child process to close a database immediately 912 // Asks the child process to close a database immediately
913 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseCloseImmediately, 913 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseCloseImmediately,
914 string16 /* the origin */, 914 string16 /* the origin */,
915 string16 /* the database name */) 915 string16 /* the database name */)
916 916
917 // Storage events are broadcast to renderer processes.
918 IPC_MESSAGE_CONTROL1(ViewMsg_DOMStorageEvent,
919 ViewMsg_DOMStorageEvent_Params)
920
921 // IDBCallback message handlers. 917 // IDBCallback message handlers.
922 IPC_MESSAGE_CONTROL1(ViewMsg_IDBCallbacksSuccessNull, 918 IPC_MESSAGE_CONTROL1(ViewMsg_IDBCallbacksSuccessNull,
923 int32 /* response_id */) 919 int32 /* response_id */)
924 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIDBCursor, 920 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIDBCursor,
925 int32 /* response_id */, 921 int32 /* response_id */,
926 int32 /* cursor_id */) 922 int32 /* cursor_id */)
927 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIDBDatabase, 923 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIDBDatabase,
928 int32 /* response_id */, 924 int32 /* response_id */,
929 int32 /* idb_database_id */) 925 int32 /* idb_database_id */)
930 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIndexedDBKey, 926 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIndexedDBKey,
(...skipping 1442 matching lines...) Expand 10 before | Expand all | Expand 10 after
2373 IPC_MESSAGE_CONTROL1(ViewHostMsg_EnableSpdy, 2369 IPC_MESSAGE_CONTROL1(ViewHostMsg_EnableSpdy,
2374 bool /* enable */) 2370 bool /* enable */)
2375 2371
2376 // Message sent from the renderer to the browser to request that the browser 2372 // Message sent from the renderer to the browser to request that the browser
2377 // cache |data| associated with |url|. 2373 // cache |data| associated with |url|.
2378 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, 2374 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata,
2379 GURL /* url */, 2375 GURL /* url */,
2380 double /* expected_response_time */, 2376 double /* expected_response_time */,
2381 std::vector<char> /* data */) 2377 std::vector<char> /* data */)
2382 2378
2383 // Get the storage area id for a particular origin within a namespace.
2384 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageStorageAreaId,
2385 int64 /* namespace_id */,
2386 string16 /* origin */,
2387 int64 /* storage_area_id */)
2388
2389 // Get the length of a storage area.
2390 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_DOMStorageLength,
2391 int64 /* storage_area_id */,
2392 unsigned /* length */)
2393
2394 // Get a the ith key within a storage area.
2395 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageKey,
2396 int64 /* storage_area_id */,
2397 unsigned /* index */,
2398 NullableString16 /* key */)
2399
2400 // Get a value based on a key from a storage area.
2401 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageGetItem,
2402 int64 /* storage_area_id */,
2403 string16 /* key */,
2404 NullableString16 /* value */)
2405
2406 // Set a value that's associated with a key in a storage area.
2407 IPC_SYNC_MESSAGE_ROUTED4_2(ViewHostMsg_DOMStorageSetItem,
2408 int64 /* storage_area_id */,
2409 string16 /* key */,
2410 string16 /* value */,
2411 GURL /* url */,
2412 WebKit::WebStorageArea::Result /* result */,
2413 NullableString16 /* old_value */)
2414
2415 // Remove the value associated with a key in a storage area.
2416 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_DOMStorageRemoveItem,
2417 int64 /* storage_area_id */,
2418 string16 /* key */,
2419 GURL /* url */,
2420 NullableString16 /* old_value */)
2421
2422 // Clear the storage area.
2423 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageClear,
2424 int64 /* storage_area_id */,
2425 GURL /* url */,
2426 bool /* something_cleared */)
2427
2428 // WebIDBCursor::direction() message. 2379 // WebIDBCursor::direction() message.
2429 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBCursorDirection, 2380 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBCursorDirection,
2430 int32, /* idb_cursor_id */ 2381 int32, /* idb_cursor_id */
2431 int32 /* direction */) 2382 int32 /* direction */)
2432 2383
2433 // WebIDBCursor::key() message. 2384 // WebIDBCursor::key() message.
2434 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBCursorKey, 2385 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBCursorKey,
2435 int32, /* idb_cursor_id */ 2386 int32, /* idb_cursor_id */
2436 IndexedDBKey) 2387 IndexedDBKey)
2437 2388
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
3072 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperQueryFile, 3023 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperQueryFile,
3073 FilePath /* path */, 3024 FilePath /* path */,
3074 base::PlatformFileInfo, /* info */ 3025 base::PlatformFileInfo, /* info */
3075 base::PlatformFileError /* error_code */) 3026 base::PlatformFileError /* error_code */)
3076 3027
3077 // Get the directory's contents. 3028 // Get the directory's contents.
3078 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, 3029 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents,
3079 FilePath /* path */, 3030 FilePath /* path */,
3080 PepperDirContents, /* contents */ 3031 PepperDirContents, /* contents */
3081 base::PlatformFileError /* error_code */) 3032 base::PlatformFileError /* error_code */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698