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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8SchemaAgentImpl.cpp

Issue 2295913003: [DevTools] Switch from platform/v8_inspector to v8/v8-inspector.h. (Closed)
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/v8_inspector/V8SchemaAgentImpl.cpp
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8SchemaAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8SchemaAgentImpl.cpp
deleted file mode 100644
index bf1c63dcfb1f433a499a97c9df6a6f30f60d572e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/platform/v8_inspector/V8SchemaAgentImpl.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "platform/v8_inspector/V8SchemaAgentImpl.h"
-
-#include "platform/v8_inspector/V8InspectorSessionImpl.h"
-#include "platform/v8_inspector/protocol/Protocol.h"
-
-namespace v8_inspector {
-
-V8SchemaAgentImpl::V8SchemaAgentImpl(V8InspectorSessionImpl* session, protocol::FrontendChannel* frontendChannel, protocol::DictionaryValue* state)
- : m_session(session)
- , m_frontend(frontendChannel)
-{
-}
-
-V8SchemaAgentImpl::~V8SchemaAgentImpl()
-{
-}
-
-void V8SchemaAgentImpl::getDomains(ErrorString*, std::unique_ptr<protocol::Array<protocol::Schema::Domain>>* result)
-{
- std::vector<std::unique_ptr<protocol::Schema::Domain>> domains = m_session->supportedDomainsImpl();
- *result = protocol::Array<protocol::Schema::Domain>::create();
- for (size_t i = 0; i < domains.size(); ++i)
- (*result)->addItem(std::move(domains[i]));
-}
-
-} // namespace v8_inspector

Powered by Google App Engine
This is Rietveld 408576698