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

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

Issue 5841002: Finish deinlining virtual methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert parts of the balloon modifications Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
6 #define CHROME_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "chrome/browser/browser_child_process_host.h" 11 #include "chrome/browser/browser_child_process_host.h"
12 12
13 class RenderMessageFilter; 13 class RenderMessageFilter;
14 14
15 namespace IPC { 15 namespace IPC {
16 struct ChannelHandle; 16 struct ChannelHandle;
17 class Message; 17 class Message;
18 } 18 }
19 19
20 class PpapiPluginProcessHost : public BrowserChildProcessHost { 20 class PpapiPluginProcessHost : public BrowserChildProcessHost {
21 public: 21 public:
22 explicit PpapiPluginProcessHost(RenderMessageFilter* filter); 22 explicit PpapiPluginProcessHost(RenderMessageFilter* filter);
23 virtual ~PpapiPluginProcessHost(); 23 virtual ~PpapiPluginProcessHost();
24 24
25 void Init(const FilePath& path, IPC::Message* reply_msg); 25 void Init(const FilePath& path, IPC::Message* reply_msg);
26 26
27 private: 27 private:
28 virtual bool CanShutdown() { return true; } 28 virtual bool CanShutdown();
29 virtual void OnProcessLaunched(); 29 virtual void OnProcessLaunched();
30 virtual URLRequestContext* GetRequestContext( 30 virtual URLRequestContext* GetRequestContext(
31 uint32 request_id, 31 uint32 request_id,
32 const ViewHostMsg_Resource_Request& request_data); 32 const ViewHostMsg_Resource_Request& request_data);
33 33
34 virtual void OnMessageReceived(const IPC::Message& msg); 34 virtual void OnMessageReceived(const IPC::Message& msg);
35 virtual void OnChannelConnected(int32 peer_pid); 35 virtual void OnChannelConnected(int32 peer_pid);
36 virtual void OnChannelError(); 36 virtual void OnChannelError();
37 37
38 // IPC message handlers. 38 // IPC message handlers.
(...skipping 10 matching lines...) Expand all
49 49
50 // When we're waiting for initialization of the plugin, this contains the 50 // When we're waiting for initialization of the plugin, this contains the
51 // reply message for the renderer to tell it that it can continue. 51 // reply message for the renderer to tell it that it can continue.
52 scoped_ptr<IPC::Message> reply_msg_; 52 scoped_ptr<IPC::Message> reply_msg_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(PpapiPluginProcessHost); 54 DISALLOW_COPY_AND_ASSIGN(PpapiPluginProcessHost);
55 }; 55 };
56 56
57 #endif // CHROME_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ 57 #endif // CHROME_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
58 58
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698