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

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

Issue 2154773002: Implement Just-In-Time Flash updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First Review Pass Created 4 years, 4 months 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
OLDNEW
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 24 matching lines...) Expand all
35 35
36 enum class ChromeViewHostMsg_GetPluginInfo_Status { 36 enum class ChromeViewHostMsg_GetPluginInfo_Status {
37 kAllowed, 37 kAllowed,
38 kBlocked, 38 kBlocked,
39 kBlockedByPolicy, 39 kBlockedByPolicy,
40 kDisabled, 40 kDisabled,
41 kNotFound, 41 kNotFound,
42 kOutdatedBlocked, 42 kOutdatedBlocked,
43 kOutdatedDisallowed, 43 kOutdatedDisallowed,
44 kPlayImportantContent, 44 kPlayImportantContent,
45 kComponentUpdateRequired,
45 kUnauthorized, 46 kUnauthorized,
46 }; 47 };
47 48
48 namespace IPC { 49 namespace IPC {
49 50
50 template <> 51 template <>
51 struct ParamTraits<ContentSettingsPattern> { 52 struct ParamTraits<ContentSettingsPattern> {
52 typedef ContentSettingsPattern param_type; 53 typedef ContentSettingsPattern param_type;
53 static void GetSize(base::PickleSizer* s, const param_type& p); 54 static void GetSize(base::PickleSizer* s, const param_type& p);
54 static void Write(base::Pickle* m, const param_type& p); 55 static void Write(base::Pickle* m, const param_type& p);
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 // Notifies a missing plugin placeholder that we have finished downloading 405 // Notifies a missing plugin placeholder that we have finished downloading
405 // the plugin. 406 // the plugin.
406 IPC_MESSAGE_ROUTED0(ChromeViewMsg_FinishedDownloadingPlugin) 407 IPC_MESSAGE_ROUTED0(ChromeViewMsg_FinishedDownloadingPlugin)
407 408
408 // Notifies a missing plugin placeholder that there was an error downloading 409 // Notifies a missing plugin placeholder that there was an error downloading
409 // the plugin. 410 // the plugin.
410 IPC_MESSAGE_ROUTED1(ChromeViewMsg_ErrorDownloadingPlugin, 411 IPC_MESSAGE_ROUTED1(ChromeViewMsg_ErrorDownloadingPlugin,
411 std::string /* message */) 412 std::string /* message */)
412 #endif // defined(ENABLE_PLUGIN_INSTALLATION) 413 #endif // defined(ENABLE_PLUGIN_INSTALLATION)
413 414
415 // Notifies a missing plugin placeholder that we have finished component-
416 // updating the plug-in.
417 IPC_MESSAGE_ROUTED0(ChromeViewMsg_PluginComponentUpdateSuccess)
418
419 // Notifies a missing plugin placeholder that we have failed to component-update
420 // the plug-in.
421 IPC_MESSAGE_ROUTED0(ChromeViewMsg_PluginComponentUpdateFailure)
422
423 // Notifies a missing plugin placeholder that we have started the component
424 // download.
425 IPC_MESSAGE_ROUTED0(ChromeViewMsg_PluginComponentUpdateDownloading)
426
414 // Notifies a missing plugin placeholder that the user cancelled downloading 427 // Notifies a missing plugin placeholder that the user cancelled downloading
415 // the plugin. 428 // the plugin.
416 IPC_MESSAGE_ROUTED0(ChromeViewMsg_CancelledDownloadingPlugin) 429 IPC_MESSAGE_ROUTED0(ChromeViewMsg_CancelledDownloadingPlugin)
417 430
418 // Tells the browser to open chrome://plugins in a new tab. We use a separate 431 // Tells the browser to open chrome://plugins in a new tab. We use a separate
419 // message because renderer processes aren't allowed to directly navigate to 432 // message because renderer processes aren't allowed to directly navigate to
420 // chrome:// URLs. 433 // chrome:// URLs.
421 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_OpenAboutPlugins) 434 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_OpenAboutPlugins)
422 435
423 // Tells the browser that there was an error loading a plugin. 436 // Tells the browser that there was an error loading a plugin.
(...skipping 19 matching lines...) Expand all
443 // associated with it. 456 // associated with it.
444 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_PageHasOSDD, 457 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_PageHasOSDD,
445 GURL /* page_url */, 458 GURL /* page_url */,
446 GURL /* osdd_url */) 459 GURL /* osdd_url */)
447 460
448 // Notifies when a plugin couldn't be loaded because it's outdated. 461 // Notifies when a plugin couldn't be loaded because it's outdated.
449 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedOutdatedPlugin, 462 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedOutdatedPlugin,
450 int /* placeholder ID */, 463 int /* placeholder ID */,
451 std::string /* plugin group identifier */) 464 std::string /* plugin group identifier */)
452 465
466 // Notifies when a plugin couldn't be loaded because it requires a component
467 // update.
468 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUpdatePlugin,
Bernhard Bauer 2016/07/28 10:25:10 Nit: the name of the message doesn't make much sen
waffles 2016/07/28 20:06:27 Done.
469 int /* placeholder ID */,
470 std::string /* plugin group identifier */)
471
453 // Notifies when a plugin couldn't be loaded because it requires 472 // Notifies when a plugin couldn't be loaded because it requires
454 // user authorization. 473 // user authorization.
455 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin, 474 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin,
456 base::string16 /* name */, 475 base::string16 /* name */,
457 std::string /* plugin group identifier */) 476 std::string /* plugin group identifier */)
458 477
459 // Message sent from the renderer to the browser to notify it of a 478 // Message sent from the renderer to the browser to notify it of a
460 // window.print() call which should cancel the prerender. The message is sent 479 // window.print() call which should cancel the prerender. The message is sent
461 // only when the renderer is prerendering. 480 // only when the renderer is prerendering.
462 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_CancelPrerenderForPrinting) 481 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_CancelPrerenderForPrinting)
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 573
555 // Record a sample string to a Rappor metric. 574 // Record a sample string to a Rappor metric.
556 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, 575 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor,
557 std::string /* metric */, 576 std::string /* metric */,
558 std::string /* sample */) 577 std::string /* sample */)
559 578
560 // Record a domain and registry of a url to a Rappor metric. 579 // Record a domain and registry of a url to a Rappor metric.
561 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, 580 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL,
562 std::string /* metric */, 581 std::string /* metric */,
563 GURL /* sample url */) 582 GURL /* sample url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698