1 // Copyright 2014 The Chromium Authors. 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.
5 #ifndef MOJO_EXAMPLES_PEPPER_CONTAINER_APP_INTERFACE_LIST_H_
6 #define MOJO_EXAMPLES_PEPPER_CONTAINER_APP_INTERFACE_LIST_H_
11 #include "base/macros.h"
16 // InterfaceList maintains the mapping from Pepper interface names to
17 // interface pointers.
23 static InterfaceList
* GetInstance();
25 const void* GetBrowserInterface(const std::string
& name
) const;
28 typedef std::map
<std::string
, const void*> NameToInterfaceMap
;
29 NameToInterfaceMap browser_interfaces_
;
31 DISALLOW_COPY_AND_ASSIGN(InterfaceList
);
34 } // namespace examples
37 #endif // MOJO_EXAMPLES_PEPPER_CONTAINER_APP_INTERFACE_LIST_H_