[WRTjs] Refactor popup
[platform/framework/web/chromium-efl.git] / wrt / src / browser / wrt_devtools_manager_delegate.cc
1 // Copyright 2019 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "wrt/src/browser/wrt_devtools_manager_delegate.h"
6
7 #if BUILDFLAG(IS_TIZEN_TV)
8 #include "tizen_src/chromium_impl/content/browser/inspector/devtools_util_manager.h"
9 #endif
10
11 namespace wrt {
12
13 bool WRTDevToolsManagerDelegate::HasBundledFrontendResources() {
14   return true;
15 }
16
17 #if BUILDFLAG(IS_TIZEN_TV)
18 void WRTDevToolsManagerDelegate::ReleasePort() {
19   content::DevToolsUtilManager::GetInstance()->ReleasePort();
20 }
21 #endif
22
23 }  // namespace wrt