Upstream version 10.38.208.0
[platform/framework/web/crosswalk.git] / src / xwalk / application / common / tizen / signature_xmlsec_adaptor.h
1 // Copyright (c) 2014 Intel Corporation. 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 #ifndef XWALK_APPLICATION_COMMON_TIZEN_SIGNATURE_XMLSEC_ADAPTOR_H_
6 #define XWALK_APPLICATION_COMMON_TIZEN_SIGNATURE_XMLSEC_ADAPTOR_H_
7
8 #include "base/files/file_path.h"
9 #include "xwalk/application/common/tizen/signature_data.h"
10
11 namespace xwalk {
12 namespace application {
13
14 class SignatureXmlSecAdaptor {
15  public:
16   static bool ValidateFile(const SignatureData& signature_data,
17                            const base::FilePath& widget_path);
18
19  private:
20   DISALLOW_COPY_AND_ASSIGN(SignatureXmlSecAdaptor);
21 };
22
23 }  // namespace application
24 }  // namespace xwalk
25
26 #endif  // XWALK_APPLICATION_COMMON_TIZEN_SIGNATURE_XMLSEC_ADAPTOR_H_