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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/Target.js

Issue 2722993002: [DevTools] Turn TracingManager into SDKModel. (Closed)
Patch Set: review comment Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/sdk/Target.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/Target.js b/third_party/WebKit/Source/devtools/front_end/sdk/Target.js
index 222c5b6aeee2071d0f783bbc41006c8ec0b0ce22..daf25f7a3de998e7504c2bfe6706774c61637387 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/Target.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/Target.js
@@ -186,17 +186,18 @@ SDK.Target = class extends Protocol.TargetBase {
* @enum {number}
*/
SDK.Target.Capability = {
- Browser: 1,
- DOM: 2,
- JS: 4,
- Log: 8,
- Network: 16,
- Target: 32,
- ScreenCapture: 64,
+ Browser: 1 << 0,
+ DOM: 1 << 1,
+ JS: 1 << 2,
+ Log: 1 << 3,
+ Network: 1 << 4,
+ Target: 1 << 5,
+ ScreenCapture: 1 << 6,
+ Tracing: 1 << 7,
None: 0,
- AllForTests: 127
+ AllForTests: (1 << 8) - 1
};
/**

Powered by Google App Engine
This is Rietveld 408576698