OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
6 #include <map> | 6 #include <map> |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 // Sends back stats about the V8 heap. | 637 // Sends back stats about the V8 heap. |
638 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_V8HeapStats, | 638 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_V8HeapStats, |
639 int /* size of heap (allocated from the OS) */, | 639 int /* size of heap (allocated from the OS) */, |
640 int /* bytes in use */) | 640 int /* bytes in use */) |
641 | 641 |
642 // Request for a DNS prefetch of the names in the array. | 642 // Request for a DNS prefetch of the names in the array. |
643 // NameList is typedef'ed std::vector<std::string> | 643 // NameList is typedef'ed std::vector<std::string> |
644 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_DnsPrefetch, | 644 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_DnsPrefetch, |
645 std::vector<std::string> /* hostnames */) | 645 std::vector<std::string> /* hostnames */) |
646 | 646 |
| 647 // Request for preconnect to host providing resource specified by URL |
| 648 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_Preconnect, |
| 649 GURL /* preconnect target url */) |
| 650 |
647 // Notifies when a plugin couldn't be loaded because it's outdated. | 651 // Notifies when a plugin couldn't be loaded because it's outdated. |
648 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedOutdatedPlugin, | 652 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedOutdatedPlugin, |
649 int /* placeholder ID */, | 653 int /* placeholder ID */, |
650 std::string /* plug-in group identifier */) | 654 std::string /* plug-in group identifier */) |
651 | 655 |
652 // Notifies when a plugin couldn't be loaded because it requires | 656 // Notifies when a plugin couldn't be loaded because it requires |
653 // user authorization. | 657 // user authorization. |
654 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin, | 658 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin, |
655 string16 /* name */, | 659 string16 /* name */, |
656 std::string /* plug-in group identifier */) | 660 std::string /* plug-in group identifier */) |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 // previous SetCookie message to be processed. | 766 // previous SetCookie message to be processed. |
763 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 767 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
764 GURL /* url */, | 768 GURL /* url */, |
765 GURL /* first_party_for_cookies */, | 769 GURL /* first_party_for_cookies */, |
766 std::string /* cookies */) | 770 std::string /* cookies */) |
767 | 771 |
768 // Provide the browser process with current renderer framerate. | 772 // Provide the browser process with current renderer framerate. |
769 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 773 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
770 int /* routing id */, | 774 int /* routing id */, |
771 float /* frames per second */) | 775 float /* frames per second */) |
OLD | NEW |