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

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

Issue 2277473007: Revert of DevTools: merge devtools target with devtools host, part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « headless/lib/browser/headless_devtools_manager_delegate.cc ('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 621 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 this.title = payload.title; 632 this.title = payload.title;
633 this.url = payload.url; 633 this.url = payload.url;
634 } 634 }
635 635
636 WebInspector.TargetInfo.prototype = { 636 WebInspector.TargetInfo.prototype = {
637 /** 637 /**
638 * @return {boolean} 638 * @return {boolean}
639 */ 639 */
640 isWebContents: function() 640 isWebContents: function()
641 { 641 {
642 return this.type === "page"; 642 return this.type === "web_contents";
643 }, 643 },
644 /** 644 /**
645 * @return {boolean} 645 * @return {boolean}
646 */ 646 */
647 isFrame: function() 647 isFrame: function()
648 { 648 {
649 return this.type === "frame"; 649 return this.type === "frame";
650 }, 650 },
651 } 651 }
652 652
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 { 884 {
885 return this._isRedundant() && (!this.errors.length || this._deleting); 885 return this._isRedundant() && (!this.errors.length || this._deleting);
886 }, 886 },
887 887
888 clearErrors: function() 888 clearErrors: function()
889 { 889 {
890 this._fingerprint = Symbol("fingerprint"); 890 this._fingerprint = Symbol("fingerprint");
891 this.errors = []; 891 this.errors = [];
892 } 892 }
893 } 893 }
OLDNEW
« no previous file with comments | « headless/lib/browser/headless_devtools_manager_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698