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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
317 // NetErrorHelper will receive this mesage and replace or update the error | 317 // NetErrorHelper will receive this mesage and replace or update the error |
318 // page with more specific troubleshooting suggestions. | 318 // page with more specific troubleshooting suggestions. |
319 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, | 319 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, |
320 int /* DNS probe status */) | 320 int /* DNS probe status */) |
321 | 321 |
322 // Tells the renderer whether or not there is a local diagnostics service that | 322 // Tells the renderer whether or not there is a local diagnostics service that |
323 // can be run via ChromeViewHostMsg_RunNetworkDiagnostics messages. | 323 // can be run via ChromeViewHostMsg_RunNetworkDiagnostics messages. |
324 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetCanShowNetworkDiagnosticsDialog, | 324 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetCanShowNetworkDiagnosticsDialog, |
325 bool /* can_show_network_diagnostics_dialog */) | 325 bool /* can_show_network_diagnostics_dialog */) |
326 | 326 |
327 // Tells the renderer whether or not an offline page exists. This is used to | |
Lei Zhang
2015/11/11 00:55:57
You need an IPC reviewer anyway, but I hope that p
jianli
2015/11/11 01:16:47
Done.
| |
328 // decide if "show saved pages" button will be provided on certain error page. | |
329 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetHasOfflinePages, | |
330 bool /* has_offline_pages */) | |
331 | |
327 // Provides the information needed by the renderer process to contact a | 332 // Provides the information needed by the renderer process to contact a |
328 // navigation correction service. Handled by the NetErrorHelper. | 333 // navigation correction service. Handled by the NetErrorHelper. |
329 IPC_MESSAGE_ROUTED5(ChromeViewMsg_SetNavigationCorrectionInfo, | 334 IPC_MESSAGE_ROUTED5(ChromeViewMsg_SetNavigationCorrectionInfo, |
330 GURL /* Navigation correction service base URL */, | 335 GURL /* Navigation correction service base URL */, |
331 std::string /* language */, | 336 std::string /* language */, |
332 std::string /* origin_country */, | 337 std::string /* origin_country */, |
333 std::string /* API key to use */, | 338 std::string /* API key to use */, |
334 GURL /* Google Search URL to use */) | 339 GURL /* Google Search URL to use */) |
335 | 340 |
336 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_RunNetworkDiagnostics, | 341 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_RunNetworkDiagnostics, |
337 GURL /* failed_url */) | 342 GURL /* failed_url */) |
338 | 343 |
344 // Message sent from the renderer to the browser to show the UI for offline | |
345 // pages. | |
346 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_ShowOfflinePages) | |
347 | |
339 //----------------------------------------------------------------------------- | 348 //----------------------------------------------------------------------------- |
340 // Misc messages | 349 // Misc messages |
341 // These are messages sent from the renderer to the browser process. | 350 // These are messages sent from the renderer to the browser process. |
342 | 351 |
343 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, | 352 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, |
344 blink::WebCache::UsageStats /* stats */) | 353 blink::WebCache::UsageStats /* stats */) |
345 | 354 |
346 // Sent by the renderer process to check whether access to FileSystem is | 355 // Sent by the renderer process to check whether access to FileSystem is |
347 // granted by content settings. | 356 // granted by content settings. |
348 IPC_SYNC_MESSAGE_CONTROL3_1(ChromeViewHostMsg_RequestFileSystemAccessSync, | 357 IPC_SYNC_MESSAGE_CONTROL3_1(ChromeViewHostMsg_RequestFileSystemAccessSync, |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
573 | 582 |
574 // Record a sample string to a Rappor metric. | 583 // Record a sample string to a Rappor metric. |
575 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, | 584 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, |
576 std::string /* metric */, | 585 std::string /* metric */, |
577 std::string /* sample */) | 586 std::string /* sample */) |
578 | 587 |
579 // Record a domain and registry of a url to a Rappor metric. | 588 // Record a domain and registry of a url to a Rappor metric. |
580 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, | 589 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, |
581 std::string /* metric */, | 590 std::string /* metric */, |
582 GURL /* sample url */) | 591 GURL /* sample url */) |
OLD | NEW |