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

Side by Side Diff: content/browser/ppapi_plugin_process_host.h

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« no previous file with comments | « content/browser/power_save_blocker_win.cc ('k') | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PPAPI_PLUGIN_PROCESS_HOST_H_ 5 #ifndef CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
6 #define CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ 6 #define CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 int plugin_process_id, 85 int plugin_process_id,
86 int32 pp_instance, 86 int32 pp_instance,
87 const PepperRendererInstanceData& instance_data); 87 const PepperRendererInstanceData& instance_data);
88 88
89 // The opposite of DIdCreate... above. 89 // The opposite of DIdCreate... above.
90 static void DidDeleteOutOfProcessInstance(int plugin_process_id, 90 static void DidDeleteOutOfProcessInstance(int plugin_process_id,
91 int32 pp_instance); 91 int32 pp_instance);
92 92
93 // Returns the instances that match the specified process name. 93 // Returns the instances that match the specified process name.
94 // It can only be called on the IO thread. 94 // It can only be called on the IO thread.
95 static void FindByName(const string16& name, 95 static void FindByName(const base::string16& name,
96 std::vector<PpapiPluginProcessHost*>* hosts); 96 std::vector<PpapiPluginProcessHost*>* hosts);
97 97
98 // IPC::Sender implementation: 98 // IPC::Sender implementation:
99 virtual bool Send(IPC::Message* message) OVERRIDE; 99 virtual bool Send(IPC::Message* message) OVERRIDE;
100 100
101 // Opens a new channel to the plugin. The client will be notified when the 101 // Opens a new channel to the plugin. The client will be notified when the
102 // channel is ready or if there's an error. 102 // channel is ready or if there's an error.
103 void OpenChannelToPlugin(Client* client); 103 void OpenChannelToPlugin(Client* client);
104 104
105 BrowserPpapiHostImpl* host_impl() { return host_impl_.get(); } 105 BrowserPpapiHostImpl* host_impl() { return host_impl_.get(); }
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 public: 183 public:
184 PpapiBrokerProcessHostIterator() 184 PpapiBrokerProcessHostIterator()
185 : BrowserChildProcessHostTypeIterator< 185 : BrowserChildProcessHostTypeIterator<
186 PpapiPluginProcessHost>(PROCESS_TYPE_PPAPI_BROKER) {} 186 PpapiPluginProcessHost>(PROCESS_TYPE_PPAPI_BROKER) {}
187 }; 187 };
188 188
189 } // namespace content 189 } // namespace content
190 190
191 #endif // CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ 191 #endif // CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
192 192
OLDNEW
« no previous file with comments | « content/browser/power_save_blocker_win.cc ('k') | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698