| 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 <stdint.h> | 6 #include <stdint.h> |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 #if defined(OS_ANDROID) | 351 #if defined(OS_ANDROID) |
| 352 // Message sent from the renderer to the browser to show the UI for offline | 352 // Message sent from the renderer to the browser to show the UI for offline |
| 353 // pages. | 353 // pages. |
| 354 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_ShowOfflinePages) | 354 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_ShowOfflinePages) |
| 355 #endif // defined(OS_ANDROID) | 355 #endif // defined(OS_ANDROID) |
| 356 | 356 |
| 357 //----------------------------------------------------------------------------- | 357 //----------------------------------------------------------------------------- |
| 358 // Misc messages | 358 // Misc messages |
| 359 // These are messages sent from the renderer to the browser process. | 359 // These are messages sent from the renderer to the browser process. |
| 360 | 360 |
| 361 IPC_MESSAGE_CONTROL5(ChromeViewHostMsg_UpdatedCacheStats, | 361 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_UpdatedCacheStats, |
| 362 uint64_t /* min_dead_capacity */, | |
| 363 uint64_t /* max_dead_capacity */, | |
| 364 uint64_t /* capacity */, | 362 uint64_t /* capacity */, |
| 365 uint64_t /* live_size */, | 363 uint64_t /* size */) |
| 366 uint64_t /* dead_size */) | |
| 367 | 364 |
| 368 // Tells the browser that content in the current page was blocked due to the | 365 // Tells the browser that content in the current page was blocked due to the |
| 369 // user's content settings. | 366 // user's content settings. |
| 370 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_ContentBlocked, | 367 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_ContentBlocked, |
| 371 ContentSettingsType /* type of blocked content */, | 368 ContentSettingsType /* type of blocked content */, |
| 372 base::string16 /* details on blocked content */) | 369 base::string16 /* details on blocked content */) |
| 373 | 370 |
| 374 // Sent by the renderer process to check whether access to web databases is | 371 // Sent by the renderer process to check whether access to web databases is |
| 375 // granted by content settings. | 372 // granted by content settings. |
| 376 IPC_SYNC_MESSAGE_CONTROL5_1(ChromeViewHostMsg_AllowDatabase, | 373 IPC_SYNC_MESSAGE_CONTROL5_1(ChromeViewHostMsg_AllowDatabase, |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 blink::WebAppBannerPromptReply /* reply */, | 629 blink::WebAppBannerPromptReply /* reply */, |
| 633 std::string /* referrer */) | 630 std::string /* referrer */) |
| 634 | 631 |
| 635 // Tells the browser to restart the app banner display pipeline. | 632 // Tells the browser to restart the app banner display pipeline. |
| 636 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_RequestShowAppBanner, | 633 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_RequestShowAppBanner, |
| 637 int32_t /* request_id */) | 634 int32_t /* request_id */) |
| 638 | 635 |
| 639 // Sent by the renderer to indicate that a fields trial has been activated. | 636 // Sent by the renderer to indicate that a fields trial has been activated. |
| 640 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_FieldTrialActivated, | 637 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_FieldTrialActivated, |
| 641 std::string /* name */) | 638 std::string /* name */) |
| OLD | NEW |