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

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

Issue 2182423002: [DevTools] Remove V8ContentSearchUtil. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@strings-1
Patch Set: query ensure16bit Created 4 years, 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 V8InspectorSessionImpl_h 5 #ifndef V8InspectorSessionImpl_h
6 #define V8InspectorSessionImpl_h 6 #define V8InspectorSessionImpl_h
7 7
8 #include "platform/inspector_protocol/Allocator.h" 8 #include "platform/inspector_protocol/Allocator.h"
9 #include "platform/inspector_protocol/DispatcherBase.h" 9 #include "platform/inspector_protocol/DispatcherBase.h"
10 #include "platform/inspector_protocol/Platform.h" 10 #include "platform/inspector_protocol/Platform.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 void addInspectedObject(std::unique_ptr<V8InspectorSession::Inspectable>) ov erride; 57 void addInspectedObject(std::unique_ptr<V8InspectorSession::Inspectable>) ov erride;
58 void schedulePauseOnNextStatement(const String16& breakReason, const String1 6& breakDetails) override; 58 void schedulePauseOnNextStatement(const String16& breakReason, const String1 6& breakDetails) override;
59 void cancelPauseOnNextStatement() override; 59 void cancelPauseOnNextStatement() override;
60 void breakProgram(const String16& breakReason, const String16& breakDetails) override; 60 void breakProgram(const String16& breakReason, const String16& breakDetails) override;
61 void setSkipAllPauses(bool) override; 61 void setSkipAllPauses(bool) override;
62 void resume() override; 62 void resume() override;
63 void stepOver() override; 63 void stepOver() override;
64 void releaseObjectGroup(const String16& objectGroup) override; 64 void releaseObjectGroup(const String16& objectGroup) override;
65 v8::Local<v8::Value> findObject(ErrorString*, const String16& objectId, v8:: Local<v8::Context>* = nullptr, String16* groupName = nullptr) override; 65 v8::Local<v8::Value> findObject(ErrorString*, const String16& objectId, v8:: Local<v8::Context>* = nullptr, String16* groupName = nullptr) override;
66 std::unique_ptr<protocol::Runtime::API::RemoteObject> wrapObject(v8::Local<v 8::Context>, v8::Local<v8::Value>, const String16& groupName) override; 66 std::unique_ptr<protocol::Runtime::API::RemoteObject> wrapObject(v8::Local<v 8::Context>, v8::Local<v8::Value>, const String16& groupName) override;
67 std::unique_ptr<protocol::Array<protocol::Debugger::API::SearchMatch>> searc hInTextByLines(const uint16_t* text, size_t textLength, const uint16_t* query, s ize_t queryLength, const bool caseSensitive, const bool isRegex) override;
kozy 2016/07/27 01:17:05 "const bool" -> "bool"
dgozman 2016/07/27 01:19:12 Done.
67 68
68 V8InspectorSession::Inspectable* inspectedObject(unsigned num); 69 V8InspectorSession::Inspectable* inspectedObject(unsigned num);
69 static const unsigned kInspectedObjectBufferSize = 5; 70 static const unsigned kInspectedObjectBufferSize = 5;
70 71
71 private: 72 private:
72 V8InspectorSessionImpl(V8DebuggerImpl*, int contextGroupId, protocol::Fronte ndChannel*, V8InspectorSessionClient*, const String16* state); 73 V8InspectorSessionImpl(V8DebuggerImpl*, int contextGroupId, protocol::Fronte ndChannel*, V8InspectorSessionClient*, const String16* state);
73 protocol::DictionaryValue* agentState(const String16& name); 74 protocol::DictionaryValue* agentState(const String16& name);
74 75
75 int m_contextGroupId; 76 int m_contextGroupId;
76 V8DebuggerImpl* m_debugger; 77 V8DebuggerImpl* m_debugger;
77 V8InspectorSessionClient* m_client; 78 V8InspectorSessionClient* m_client;
78 bool m_customObjectFormatterEnabled; 79 bool m_customObjectFormatterEnabled;
79 80
80 protocol::UberDispatcher m_dispatcher; 81 protocol::UberDispatcher m_dispatcher;
81 std::unique_ptr<protocol::DictionaryValue> m_state; 82 std::unique_ptr<protocol::DictionaryValue> m_state;
82 83
83 std::unique_ptr<V8RuntimeAgentImpl> m_runtimeAgent; 84 std::unique_ptr<V8RuntimeAgentImpl> m_runtimeAgent;
84 std::unique_ptr<V8DebuggerAgentImpl> m_debuggerAgent; 85 std::unique_ptr<V8DebuggerAgentImpl> m_debuggerAgent;
85 std::unique_ptr<V8HeapProfilerAgentImpl> m_heapProfilerAgent; 86 std::unique_ptr<V8HeapProfilerAgentImpl> m_heapProfilerAgent;
86 std::unique_ptr<V8ProfilerAgentImpl> m_profilerAgent; 87 std::unique_ptr<V8ProfilerAgentImpl> m_profilerAgent;
87 std::unique_ptr<V8ConsoleAgentImpl> m_consoleAgent; 88 std::unique_ptr<V8ConsoleAgentImpl> m_consoleAgent;
88 std::vector<std::unique_ptr<V8InspectorSession::Inspectable>> m_inspectedObj ects; 89 std::vector<std::unique_ptr<V8InspectorSession::Inspectable>> m_inspectedObj ects;
89 }; 90 };
90 91
91 } // namespace blink 92 } // namespace blink
92 93
93 #endif 94 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698