Pepper_47_C++_interfaces
extension_system_samsung_wrt.cc
Go to the documentation of this file.
1 // Copyright 2016 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 
6 
7 namespace {
8 const char kWrtEmbedderName[] = "TizenWRT";
9 } // namespace
10 
11 namespace pp {
12 
14  const InstanceHandle& instance)
15  : ExtensionSystemSamsungTizen(instance) {}
16 
18 
20  static bool is_valid = (GetEmbedderName() == kWrtEmbedderName);
21  return is_valid;
22 }
23 
24 } // namespace pp
std::string GetEmbedderName() const
GetEmbedderName() returns name of the extension system provider.
ExtensionSystemSamsungWRT(const InstanceHandle &instance)