OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PPAPI_SHARED_IMPL_DICTIONARY_VAR_H_ | 5 #ifndef PPAPI_SHARED_IMPL_DICTIONARY_VAR_H_ |
6 #define PPAPI_SHARED_IMPL_DICTIONARY_VAR_H_ | 6 #define PPAPI_SHARED_IMPL_DICTIONARY_VAR_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
13 #include "ppapi/c/pp_var.h" | 13 #include "ppapi/c/pp_var.h" |
14 #include "ppapi/shared_impl/ppapi_shared_export.h" | 14 #include "ppapi/shared_impl/ppapi_shared_export.h" |
15 #include "ppapi/shared_impl/scoped_pp_var.h" | 15 #include "ppapi/shared_impl/scoped_pp_var.h" |
16 #include "ppapi/shared_impl/var.h" | 16 #include "ppapi/shared_impl/var.h" |
17 | 17 |
18 namespace ppapi { | 18 namespace ppapi { |
19 | 19 |
20 class PPAPI_SHARED_EXPORT DictionaryVar : public Var { | 20 class PPAPI_SHARED_EXPORT DictionaryVar : public Var { |
21 public: | 21 public: |
22 typedef std::map<std::string, ScopedPPVar> KeyValueMap; | 22 typedef std::map<std::string, ScopedPPVar> KeyValueMap; |
(...skipping 29 matching lines...) Expand all Loading... |
52 | 52 |
53 private: | 53 private: |
54 KeyValueMap key_value_map_; | 54 KeyValueMap key_value_map_; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(DictionaryVar); | 56 DISALLOW_COPY_AND_ASSIGN(DictionaryVar); |
57 }; | 57 }; |
58 | 58 |
59 } // namespace ppapi | 59 } // namespace ppapi |
60 | 60 |
61 #endif // PPAPI_SHARED_IMPL_DICTIONARY_VAR_H_ | 61 #endif // PPAPI_SHARED_IMPL_DICTIONARY_VAR_H_ |
OLD | NEW |