| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_BROWSER_RENDERER_JAVA_BRIDGE_DISPATCHER_HOST_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_MANAGER_H
_ |
| 6 #define CONTENT_BROWSER_RENDERER_JAVA_BRIDGE_DISPATCHER_HOST_MANAGER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_MANAGER_H
_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "content/browser/tab_contents/tab_contents_observer.h" | 14 #include "content/browser/tab_contents/tab_contents_observer.h" |
| 15 | 15 |
| 16 class JavaBridgeDispatcherHost; | 16 class JavaBridgeDispatcherHost; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 39 private: | 39 private: |
| 40 typedef std::map<RenderViewHost*, scoped_refptr<JavaBridgeDispatcherHost> > | 40 typedef std::map<RenderViewHost*, scoped_refptr<JavaBridgeDispatcherHost> > |
| 41 InstanceMap; | 41 InstanceMap; |
| 42 InstanceMap instances_; | 42 InstanceMap instances_; |
| 43 typedef std::map<string16, NPObject*> ObjectMap; | 43 typedef std::map<string16, NPObject*> ObjectMap; |
| 44 ObjectMap objects_; | 44 ObjectMap objects_; |
| 45 | 45 |
| 46 DISALLOW_COPY_AND_ASSIGN(JavaBridgeDispatcherHostManager); | 46 DISALLOW_COPY_AND_ASSIGN(JavaBridgeDispatcherHostManager); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 #endif // CONTENT_BROWSER_RENDERER_JAVA_BRIDGE_DISPATCHER_HOST_MANAGER_H_ | 49 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_MANAGE
R_H_ |
| OLD | NEW |