OLD | NEW |
1 // Copyright 2013 Google Inc. | 1 // Copyright 2013 Google Inc. |
2 // | 2 // |
3 // Licensed under the Apache License, Version 2.0 (the "License"); you may not | 3 // Licensed under the Apache License, Version 2.0 (the "License"); you may not |
4 // use this file except in compliance with the License. You may obtain a copy of | 4 // use this file except in compliance with the License. You may obtain a copy of |
5 // the License at | 5 // the License at |
6 // | 6 // |
7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
8 // | 8 // |
9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
10 // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | 10 // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
11 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | 11 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
12 // License for the specific language governing permissions and limitations under | 12 // License for the specific language governing permissions and limitations under |
13 // the License. | 13 // the License. |
14 | 14 |
15 #ifndef LIBLOUIS_NACL_LIBLOUIS_INSTANCE_H_ | 15 #ifndef LIBLOUIS_NACL_LIBLOUIS_INSTANCE_H_ |
16 #define LIBLOUIS_NACL_LIBLOUIS_INSTANCE_H_ | 16 #define LIBLOUIS_NACL_LIBLOUIS_INSTANCE_H_ |
17 | 17 |
| 18 #include <stdint.h> |
| 19 |
18 #include <string> | 20 #include <string> |
19 | 21 |
20 #include "base/basictypes.h" | 22 #include "base/macros.h" |
21 #include "liblouis_wrapper.h" | 23 #include "liblouis_wrapper.h" |
22 #include "ppapi/c/pp_instance.h" | 24 #include "ppapi/c/pp_instance.h" |
23 #include "ppapi/cpp/completion_callback.h" | 25 #include "ppapi/cpp/completion_callback.h" |
24 #include "ppapi/cpp/instance.h" | 26 #include "ppapi/cpp/instance.h" |
25 #include "ppapi/cpp/message_loop.h" | 27 #include "ppapi/cpp/message_loop.h" |
26 #include "ppapi/cpp/var.h" | 28 #include "ppapi/cpp/var.h" |
27 #include "ppapi/utility/completion_callback_factory.h" | 29 #include "ppapi/utility/completion_callback_factory.h" |
28 #include "ppapi/utility/threading/simple_thread.h" | 30 #include "ppapi/utility/threading/simple_thread.h" |
29 #include "third_party/jsoncpp/source/include/json/json.h" | 31 #include "third_party/jsoncpp/source/include/json/json.h" |
30 #include "translation_params.h" | 32 #include "translation_params.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 LibLouisWrapper liblouis_; | 85 LibLouisWrapper liblouis_; |
84 pp::SimpleThread liblouis_thread_; | 86 pp::SimpleThread liblouis_thread_; |
85 pp::CompletionCallbackFactory<LibLouisInstance> cc_factory_; | 87 pp::CompletionCallbackFactory<LibLouisInstance> cc_factory_; |
86 | 88 |
87 DISALLOW_COPY_AND_ASSIGN(LibLouisInstance); | 89 DISALLOW_COPY_AND_ASSIGN(LibLouisInstance); |
88 }; | 90 }; |
89 | 91 |
90 } // namespace liblouis_nacl | 92 } // namespace liblouis_nacl |
91 | 93 |
92 #endif // LIBLOUIS_NACL_LIBLOUIS_INSTANCE_H_ | 94 #endif // LIBLOUIS_NACL_LIBLOUIS_INSTANCE_H_ |
OLD | NEW |