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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js

Issue 1576563002: [Media Router] Replace old MR extension ID with "new" extension ID. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « extensions/common/api/_permission_features.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 /** 118 /**
119 * @param {!WebInspector.ConsoleMessage} msg 119 * @param {!WebInspector.ConsoleMessage} msg
120 * @return {boolean} 120 * @return {boolean}
121 */ 121 */
122 _isBlacklisted: function(msg) 122 _isBlacklisted: function(msg)
123 { 123 {
124 if (msg.source != WebInspector.ConsoleMessage.MessageSource.Network || m sg.level != WebInspector.ConsoleMessage.MessageLevel.Error || !msg.url || !msg.u rl.startsWith("chrome-extension")) 124 if (msg.source != WebInspector.ConsoleMessage.MessageSource.Network || m sg.level != WebInspector.ConsoleMessage.MessageLevel.Error || !msg.url || !msg.u rl.startsWith("chrome-extension"))
125 return false; 125 return false;
126 126
127 // ignore Chromecast's cast_sender spam 127 // ignore Chromecast's cast_sender spam
128 if (msg.url.includes("://boadgeojelhgndaghljhdicfkmllpafd") || msg.url. includes("://dliochdbjfkdbacpmhlcpmleaejidimm") || msg.url.includes("://fjhoaac okmgbjemoflkofnenfaiekifl") || msg.url.includes("://ekpaaapppgpmolpcldedioblbkmi jaca")) 128 if (msg.url.includes("://boadgeojelhgndaghljhdicfkmllpafd") || msg.url. includes("://dliochdbjfkdbacpmhlcpmleaejidimm") || msg.url.includes("://pkedcjk defgpdelpbcmbmeomcjbeemfm") || msg.url.includes("://ekpaaapppgpmolpcldedioblbkmi jaca"))
129 return true; 129 return true;
130 130
131 return false; 131 return false;
132 }, 132 },
133 133
134 /** 134 /**
135 * @return {!Array.<!WebInspector.ConsoleMessage>} 135 * @return {!Array.<!WebInspector.ConsoleMessage>}
136 */ 136 */
137 messages: function() 137 messages: function()
138 { 138 {
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 this.dispatchEventToListeners(WebInspector.ConsoleModel.Events.CommandEv aluated, event.data); 616 this.dispatchEventToListeners(WebInspector.ConsoleModel.Events.CommandEv aluated, event.data);
617 }, 617 },
618 618
619 __proto__: WebInspector.Object.prototype 619 __proto__: WebInspector.Object.prototype
620 } 620 }
621 621
622 /** 622 /**
623 * @type {!WebInspector.MultitargetConsoleModel} 623 * @type {!WebInspector.MultitargetConsoleModel}
624 */ 624 */
625 WebInspector.multitargetConsoleModel; 625 WebInspector.multitargetConsoleModel;
OLDNEW
« no previous file with comments | « extensions/common/api/_permission_features.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698