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

Side by Side Diff: content/renderer/browser_plugin/old/browser_plugin_channel_manager.h

Issue 10555029: Browser Plugin: Move to old directories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_CHANNEL_MANAGER_H_ 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_CHANNEL_MANAGER_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_CHANNEL_MANAGER_H_ 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_CHANNEL_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 10
11 #include "base/id_map.h" 11 #include "base/id_map.h"
12 #include "content/public/renderer/render_process_observer.h" 12 #include "content/public/renderer/render_process_observer.h"
13 #include "content/renderer/browser_plugin/guest_to_embedder_channel.h" 13 #include "content/renderer/browser_plugin/old/guest_to_embedder_channel.h"
14 #include "content/renderer/render_view_impl.h" 14 #include "content/renderer/render_view_impl.h"
15 15
16 class GuestToEmbedderChannel; 16 class GuestToEmbedderChannel;
17 struct ViewMsg_New_Params; 17 struct ViewMsg_New_Params;
18 18
19 namespace content { 19 namespace content {
20 20
21 // BrowserPluginChannelManager manages the lifetime of GuestToEmbedderChannels. 21 // BrowserPluginChannelManager manages the lifetime of GuestToEmbedderChannels.
22 // When a new RenderView is requested, it checks the embedder channel name 22 // When a new RenderView is requested, it checks the embedder channel name
23 // in ViewMsg_New_Params and decides whether to reuse an existing channel or 23 // in ViewMsg_New_Params and decides whether to reuse an existing channel or
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // have a PP_Instance and so they aren't yet ready to composite. 73 // have a PP_Instance and so they aren't yet ready to composite.
74 std::map<std::pair<std::string, int>, 74 std::map<std::pair<std::string, int>,
75 base::WeakPtr<RenderViewImpl> > pending_guests_; 75 base::WeakPtr<RenderViewImpl> > pending_guests_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(BrowserPluginChannelManager); 77 DISALLOW_COPY_AND_ASSIGN(BrowserPluginChannelManager);
78 }; 78 };
79 79
80 } // namespace content 80 } // namespace content
81 81
82 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_CHANNEL_MANAGER_H_ 82 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_CHANNEL_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698