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

Side by Side Diff: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h

Issue 2058133002: Fix DevTools support of worklets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move callingContextCanAccessContext to BindingSecurity Created 4 years, 5 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 /* 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 void contextCreated(v8::Local<v8::Context>); 49 void contextCreated(v8::Local<v8::Context>);
50 void contextWillBeDestroyed(v8::Local<v8::Context>); 50 void contextWillBeDestroyed(v8::Local<v8::Context>);
51 51
52 // V8DebuggerClient implementation. 52 // V8DebuggerClient implementation.
53 void runMessageLoopOnPause(int contextGroupId) override; 53 void runMessageLoopOnPause(int contextGroupId) override;
54 void quitMessageLoopOnPause() override; 54 void quitMessageLoopOnPause() override;
55 void muteWarningsAndDeprecations() override { }; 55 void muteWarningsAndDeprecations() override { };
56 void unmuteWarningsAndDeprecations() override { }; 56 void unmuteWarningsAndDeprecations() override { };
57 void muteConsole() override { }; 57 void muteConsole() override { };
58 void unmuteConsole() override { }; 58 void unmuteConsole() override { };
59 bool callingContextCanAccessContext(v8::Local<v8::Context> calling, v8::Loca l<v8::Context> target) override;
60 int ensureDefaultContextInGroup(int contextGroupId) override; 59 int ensureDefaultContextInGroup(int contextGroupId) override;
61 60
62 v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>) o verride; 61 v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>) o verride;
63 protected: 62 protected:
64 void reportMessageToConsole(v8::Local<v8::Context>, ConsoleMessage*); 63 void reportMessageToConsole(v8::Local<v8::Context>, ConsoleMessage*);
65 64
66 private: 65 private:
67 WorkerThread* m_workerThread; 66 WorkerThread* m_workerThread;
68 }; 67 };
69 68
70 } // namespace blink 69 } // namespace blink
71 70
72 #endif // WorkerThreadDebugger_h 71 #endif // WorkerThreadDebugger_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698