Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(657)

Side by Side Diff: content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.h

Issue 16625010: Use a direct include of strings headers in content/browser/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_MANAGER_H _ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_MANAGER_H _
6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_MANAGER_H _ 6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_MANAGER_H _
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/android/jni_helper.h" 10 #include "base/android/jni_helper.h"
11 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/string16.h" 15 #include "base/strings/string16.h"
16 #include "content/public/browser/web_contents_observer.h" 16 #include "content/public/browser/web_contents_observer.h"
17 17
18 struct NPObject; 18 struct NPObject;
19 19
20 namespace content { 20 namespace content {
21 class JavaBridgeDispatcherHost; 21 class JavaBridgeDispatcherHost;
22 class RenderViewHost; 22 class RenderViewHost;
23 23
24 // This class handles injecting Java objects into all of the RenderViews 24 // This class handles injecting Java objects into all of the RenderViews
25 // associated with a WebContents. It manages a set of JavaBridgeDispatcherHost 25 // associated with a WebContents. It manages a set of JavaBridgeDispatcherHost
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 typedef std::map<string16, NPObject*> ObjectMap; 61 typedef std::map<string16, NPObject*> ObjectMap;
62 ObjectMap objects_; 62 ObjectMap objects_;
63 JavaObjectWeakGlobalRef retained_object_set_; 63 JavaObjectWeakGlobalRef retained_object_set_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(JavaBridgeDispatcherHostManager); 65 DISALLOW_COPY_AND_ASSIGN(JavaBridgeDispatcherHostManager);
66 }; 66 };
67 67
68 } // namespace content 68 } // namespace content
69 69
70 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_MANAGE R_H_ 70 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_MANAGE R_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/java/java_bridge_dispatcher_host.h ('k') | content/browser/renderer_host/java/java_method.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698