Upstream version 9.38.204.0
[platform/framework/web/crosswalk.git] / src / xwalk / application / common / tizen / signature_parser.h
1 // Copyright (c) 2013 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_PARSER_H_
6 #define XWALK_APPLICATION_COMMON_TIZEN_SIGNATURE_PARSER_H_
7
8 #include "base/files/file_path.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "xwalk/application/common/tizen/signature_data.h"
11
12 namespace xwalk {
13 namespace application {
14
15 class SignatureParser {
16  public:
17   static scoped_ptr<SignatureData> CreateSignatureData(
18       const base::FilePath& signature_path, int signature_number);
19
20  private:
21   DISALLOW_COPY_AND_ASSIGN(SignatureParser);
22 };
23
24 }  // namespace application
25 }  // namespace xwalk
26
27 #endif  // XWALK_APPLICATION_COMMON_TIZEN_SIGNATURE_PARSER_H_