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

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

Issue 2289773002: 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, 3 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 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 this.title = payload.title; 633 this.title = payload.title;
634 this.url = payload.url; 634 this.url = payload.url;
635 } 635 }
636 636
637 WebInspector.TargetInfo.prototype = { 637 WebInspector.TargetInfo.prototype = {
638 /** 638 /**
639 * @return {boolean} 639 * @return {boolean}
640 */ 640 */
641 isWebContents: function() 641 isWebContents: function()
642 { 642 {
643 return this.type === "page"; 643 return this.type === "web_contents";
644 }, 644 },
645 /** 645 /**
646 * @return {boolean} 646 * @return {boolean}
647 */ 647 */
648 isFrame: function() 648 isFrame: function()
649 { 649 {
650 return this.type === "frame"; 650 return this.type === "frame";
651 }, 651 },
652 } 652 }
653 653
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 { 887 {
888 return this._isRedundant() && (!this.errors.length || this._deleting); 888 return this._isRedundant() && (!this.errors.length || this._deleting);
889 }, 889 },
890 890
891 clearErrors: function() 891 clearErrors: function()
892 { 892 {
893 this._fingerprint = Symbol("fingerprint"); 893 this._fingerprint = Symbol("fingerprint");
894 this.errors = []; 894 this.errors = [];
895 } 895 }
896 } 896 }
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