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

Side by Side Diff: src/inspector/v8-inspector-session-impl.cc

Issue 2338413003: [inspector] change implementation file extension from cpp to cc (Closed)
Patch Set: string16 -> string-16 Created 4 years, 2 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
« no previous file with comments | « src/inspector/v8-inspector-session-impl.h ('k') | src/inspector/v8-internal-value-type.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project 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 #include "src/inspector/V8InspectorSessionImpl.h" 5 #include "src/inspector/v8-inspector-session-impl.h"
6 6
7 #include "src/inspector/InjectedScript.h" 7 #include "src/inspector/injected-script.h"
8 #include "src/inspector/InspectedContext.h" 8 #include "src/inspector/inspected-context.h"
9 #include "src/inspector/RemoteObjectId.h"
10 #include "src/inspector/SearchUtil.h"
11 #include "src/inspector/StringUtil.h"
12 #include "src/inspector/V8ConsoleAgentImpl.h"
13 #include "src/inspector/V8Debugger.h"
14 #include "src/inspector/V8DebuggerAgentImpl.h"
15 #include "src/inspector/V8HeapProfilerAgentImpl.h"
16 #include "src/inspector/V8InspectorImpl.h"
17 #include "src/inspector/V8ProfilerAgentImpl.h"
18 #include "src/inspector/V8RuntimeAgentImpl.h"
19 #include "src/inspector/V8SchemaAgentImpl.h"
20 #include "src/inspector/protocol/Protocol.h" 9 #include "src/inspector/protocol/Protocol.h"
10 #include "src/inspector/remote-object-id.h"
11 #include "src/inspector/search-util.h"
12 #include "src/inspector/string-util.h"
13 #include "src/inspector/v8-console-agent-impl.h"
14 #include "src/inspector/v8-debugger-agent-impl.h"
15 #include "src/inspector/v8-debugger.h"
16 #include "src/inspector/v8-heap-profiler-agent-impl.h"
17 #include "src/inspector/v8-inspector-impl.h"
18 #include "src/inspector/v8-profiler-agent-impl.h"
19 #include "src/inspector/v8-runtime-agent-impl.h"
20 #include "src/inspector/v8-schema-agent-impl.h"
21 21
22 namespace v8_inspector { 22 namespace v8_inspector {
23 23
24 // static 24 // static
25 bool V8InspectorSession::canDispatchMethod(const StringView& method) { 25 bool V8InspectorSession::canDispatchMethod(const StringView& method) {
26 return stringViewStartsWith(method, 26 return stringViewStartsWith(method,
27 protocol::Runtime::Metainfo::commandPrefix) || 27 protocol::Runtime::Metainfo::commandPrefix) ||
28 stringViewStartsWith(method, 28 stringViewStartsWith(method,
29 protocol::Debugger::Metainfo::commandPrefix) || 29 protocol::Debugger::Metainfo::commandPrefix) ||
30 stringViewStartsWith(method, 30 stringViewStartsWith(method,
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 std::vector<std::unique_ptr<protocol::Debugger::SearchMatch>> matches = 409 std::vector<std::unique_ptr<protocol::Debugger::SearchMatch>> matches =
410 searchInTextByLinesImpl(this, toString16(text), toString16(query), 410 searchInTextByLinesImpl(this, toString16(text), toString16(query),
411 caseSensitive, isRegex); 411 caseSensitive, isRegex);
412 std::vector<std::unique_ptr<protocol::Debugger::API::SearchMatch>> result; 412 std::vector<std::unique_ptr<protocol::Debugger::API::SearchMatch>> result;
413 for (size_t i = 0; i < matches.size(); ++i) 413 for (size_t i = 0; i < matches.size(); ++i)
414 result.push_back(std::move(matches[i])); 414 result.push_back(std::move(matches[i]));
415 return result; 415 return result;
416 } 416 }
417 417
418 } // namespace v8_inspector 418 } // namespace v8_inspector
OLDNEW
« no previous file with comments | « src/inspector/v8-inspector-session-impl.h ('k') | src/inspector/v8-internal-value-type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698