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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 #if defined(OS_ANDROID) | 339 #if defined(OS_ANDROID) |
340 // Message sent from the renderer to the browser to schedule to download the | 340 // Message sent from the renderer to the browser to schedule to download the |
341 // page at a later time. | 341 // page at a later time. |
342 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DownloadPageLater) | 342 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DownloadPageLater) |
343 #endif // defined(OS_ANDROID) | 343 #endif // defined(OS_ANDROID) |
344 | 344 |
345 //----------------------------------------------------------------------------- | 345 //----------------------------------------------------------------------------- |
346 // Misc messages | 346 // Misc messages |
347 // These are messages sent from the renderer to the browser process. | 347 // These are messages sent from the renderer to the browser process. |
348 | 348 |
349 IPC_MESSAGE_CONTROL5(ChromeViewHostMsg_UpdatedCacheStats, | 349 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_UpdatedCacheStats, |
350 uint64_t /* min_dead_capacity */, | |
351 uint64_t /* max_dead_capacity */, | |
352 uint64_t /* capacity */, | 350 uint64_t /* capacity */, |
353 uint64_t /* live_size */, | 351 uint64_t /* size */) |
354 uint64_t /* dead_size */) | |
355 | 352 |
356 // Tells the browser that content in the current page was blocked due to the | 353 // Tells the browser that content in the current page was blocked due to the |
357 // user's content settings. | 354 // user's content settings. |
358 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_ContentBlocked, | 355 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_ContentBlocked, |
359 ContentSettingsType /* type of blocked content */, | 356 ContentSettingsType /* type of blocked content */, |
360 base::string16 /* details on blocked content */) | 357 base::string16 /* details on blocked content */) |
361 | 358 |
362 // Sent by the renderer process to check whether access to web databases is | 359 // Sent by the renderer process to check whether access to web databases is |
363 // granted by content settings. | 360 // granted by content settings. |
364 IPC_SYNC_MESSAGE_CONTROL5_1(ChromeViewHostMsg_AllowDatabase, | 361 IPC_SYNC_MESSAGE_CONTROL5_1(ChromeViewHostMsg_AllowDatabase, |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 | 591 |
595 #if BUILDFLAG(ENABLE_PLUGINS) | 592 #if BUILDFLAG(ENABLE_PLUGINS) |
596 // Sent by the renderer to check if crash reporting is enabled. | 593 // Sent by the renderer to check if crash reporting is enabled. |
597 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, | 594 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, |
598 bool /* enabled */) | 595 bool /* enabled */) |
599 #endif | 596 #endif |
600 | 597 |
601 // Sent by the renderer to indicate that a fields trial has been activated. | 598 // Sent by the renderer to indicate that a fields trial has been activated. |
602 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_FieldTrialActivated, | 599 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_FieldTrialActivated, |
603 std::string /* name */) | 600 std::string /* name */) |
OLD | NEW |