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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/public/V8Debugger.h

Issue 1767883002: DevTools: generate string16-based handlers for v8_inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing 2 Created 4 years, 9 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8Debugger_h 5 #ifndef V8Debugger_h
6 #define V8Debugger_h 6 #define V8Debugger_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/inspector_protocol/Frontend.h" 9 #include "platform/inspector_protocol/Frontend.h"
10 #include "wtf/PassOwnPtr.h" 10 #include "wtf/PassOwnPtr.h"
(...skipping 19 matching lines...) Expand all
30 virtual void clearFrontend() = 0; 30 virtual void clearFrontend() = 0;
31 virtual void restore() = 0; 31 virtual void restore() = 0;
32 }; 32 };
33 33
34 static PassOwnPtr<V8Debugger> create(v8::Isolate*, V8DebuggerClient*); 34 static PassOwnPtr<V8Debugger> create(v8::Isolate*, V8DebuggerClient*);
35 virtual ~V8Debugger() { } 35 virtual ~V8Debugger() { }
36 36
37 // Each v8::Context is a part of a group. The group id is used to find appro apriate 37 // Each v8::Context is a part of a group. The group id is used to find appro apriate
38 // V8DebuggerAgent to notify about events in the context. 38 // V8DebuggerAgent to notify about events in the context.
39 // |contextGroupId| must be non-0. 39 // |contextGroupId| must be non-0.
40 static void setContextDebugData(v8::Local<v8::Context>, const String& type, int contextGroupId); 40 static void setContextDebugData(v8::Local<v8::Context>, const String16& type , int contextGroupId);
41 static int contextId(v8::Local<v8::Context>); 41 static int contextId(v8::Local<v8::Context>);
42 42
43 static v8::Local<v8::Symbol> commandLineAPISymbol(v8::Isolate*); 43 static v8::Local<v8::Symbol> commandLineAPISymbol(v8::Isolate*);
44 static bool isCommandLineAPIMethod(const AtomicString& name); 44 static bool isCommandLineAPIMethod(const String16& name);
45 45
46 virtual PassOwnPtr<V8StackTrace> createStackTrace(v8::Local<v8::StackTrace>, size_t maxStackSize) = 0; 46 virtual PassOwnPtr<V8StackTrace> createStackTrace(v8::Local<v8::StackTrace>, size_t maxStackSize) = 0;
47 virtual PassOwnPtr<V8StackTrace> captureStackTrace(size_t maxStackSize) = 0; 47 virtual PassOwnPtr<V8StackTrace> captureStackTrace(size_t maxStackSize) = 0;
48 }; 48 };
49 49
50 } // namespace blink 50 } // namespace blink
51 51
52 52
53 #endif // V8Debugger_h 53 #endif // V8Debugger_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698