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

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

Issue 2260233002: [DevTools] Migrate v8_inspector/public from String16 to String{View,Buffer}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: styling 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
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // V8InspectorClient implementation. 84 // V8InspectorClient implementation.
85 void runMessageLoopOnPause(int contextGroupId) override; 85 void runMessageLoopOnPause(int contextGroupId) override;
86 void quitMessageLoopOnPause() override; 86 void quitMessageLoopOnPause() override;
87 void muteMetrics(int contextGroupId) override; 87 void muteMetrics(int contextGroupId) override;
88 void unmuteMetrics(int contextGroupId) override; 88 void unmuteMetrics(int contextGroupId) override;
89 v8::Local<v8::Context> ensureDefaultContextInGroup(int contextGroupId) overr ide; 89 v8::Local<v8::Context> ensureDefaultContextInGroup(int contextGroupId) overr ide;
90 void beginEnsureAllContextsInGroup(int contextGroupId) override; 90 void beginEnsureAllContextsInGroup(int contextGroupId) override;
91 void endEnsureAllContextsInGroup(int contextGroupId) override; 91 void endEnsureAllContextsInGroup(int contextGroupId) override;
92 bool canExecuteScripts(int contextGroupId) override; 92 bool canExecuteScripts(int contextGroupId) override;
93 void runIfWaitingForDebugger(int contextGroupId) override; 93 void runIfWaitingForDebugger(int contextGroupId) override;
94 void consoleAPIMessage(int contextGroupId, v8_inspector::V8ConsoleAPIType, c onst String16& message, const String16& url, unsigned lineNumber, unsigned colum nNumber, v8_inspector::V8StackTrace*) override; 94 void consoleAPIMessage(int contextGroupId, v8_inspector::V8ConsoleAPIType, c onst v8_inspector::StringView& message, const v8_inspector::StringView& url, uns igned lineNumber, unsigned columnNumber, v8_inspector::V8StackTrace*) override;
95 void installAdditionalCommandLineAPI(v8::Local<v8::Context>, v8::Local<v8::O bject>) override; 95 void installAdditionalCommandLineAPI(v8::Local<v8::Context>, v8::Local<v8::O bject>) override;
96 v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>) o verride; 96 v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>) o verride;
97 97
98 static void querySelectorCallback(const v8::FunctionCallbackInfo<v8::Value>& ); 98 static void querySelectorCallback(const v8::FunctionCallbackInfo<v8::Value>& );
99 static void querySelectorAllCallback(const v8::FunctionCallbackInfo<v8::Valu e>&); 99 static void querySelectorAllCallback(const v8::FunctionCallbackInfo<v8::Valu e>&);
100 static void xpathSelectorCallback(const v8::FunctionCallbackInfo<v8::Value>& ); 100 static void xpathSelectorCallback(const v8::FunctionCallbackInfo<v8::Value>& );
101 101
102 std::unique_ptr<ClientMessageLoop> m_clientMessageLoop; 102 std::unique_ptr<ClientMessageLoop> m_clientMessageLoop;
103 std::unique_ptr<InspectorTaskRunner> m_taskRunner; 103 std::unique_ptr<InspectorTaskRunner> m_taskRunner;
104 bool m_paused; 104 bool m_paused;
105 static MainThreadDebugger* s_instance; 105 static MainThreadDebugger* s_instance;
106 }; 106 };
107 107
108 } // namespace blink 108 } // namespace blink
109 109
110 110
111 #endif // MainThreadDebugger_h 111 #endif // MainThreadDebugger_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698