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

Side by Side Diff: chrome/plugin/plugin_thread.h

Issue 42054: Stop using renderer specific host ids in ResourceDispatcher. This allows it ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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
« no previous file with comments | « chrome/plugin/plugin_channel.cc ('k') | chrome/plugin/plugin_thread.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_PLUGIN_PLUGIN_THREAD_H_ 5 #ifndef CHROME_PLUGIN_PLUGIN_THREAD_H_
6 #define CHROME_PLUGIN_PLUGIN_THREAD_H_ 6 #define CHROME_PLUGIN_PLUGIN_THREAD_H_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "chrome/common/child_thread.h" 9 #include "chrome/common/child_thread.h"
10 #include "chrome/common/resource_dispatcher.h" 10 #include "chrome/common/resource_dispatcher.h"
(...skipping 17 matching lines...) Expand all
28 return resource_dispatcher_.get(); 28 return resource_dispatcher_.get();
29 } 29 }
30 30
31 private: 31 private:
32 virtual void OnControlMessageReceived(const IPC::Message& msg); 32 virtual void OnControlMessageReceived(const IPC::Message& msg);
33 33
34 // Thread implementation: 34 // Thread implementation:
35 virtual void Init(); 35 virtual void Init();
36 virtual void CleanUp(); 36 virtual void CleanUp();
37 37
38 void OnCreateChannel(int process_id, HANDLE renderer); 38 void OnCreateChannel();
39 void OnShutdownResponse(bool ok_to_shutdown); 39 void OnShutdownResponse(bool ok_to_shutdown);
40 void OnPluginMessage(const std::vector<uint8> &data); 40 void OnPluginMessage(const std::vector<uint8> &data);
41 void OnBrowserShutdown(); 41 void OnBrowserShutdown();
42 42
43 scoped_ptr<NotificationService> notification_service_; 43 scoped_ptr<NotificationService> notification_service_;
44 44
45 // Handles resource loads for this view. 45 // Handles resource loads for this view.
46 // NOTE: this object lives on the owner thread. 46 // NOTE: this object lives on the owner thread.
47 scoped_refptr<ResourceDispatcher> resource_dispatcher_; 47 scoped_refptr<ResourceDispatcher> resource_dispatcher_;
48 48
49 // The plugin module which is preloaded in Init 49 // The plugin module which is preloaded in Init
50 HMODULE preloaded_plugin_module_; 50 HMODULE preloaded_plugin_module_;
51 51
52 // Points to the plugin file that this process hosts. 52 // Points to the plugin file that this process hosts.
53 FilePath plugin_path_; 53 FilePath plugin_path_;
54 54
55 DISALLOW_EVIL_CONSTRUCTORS(PluginThread); 55 DISALLOW_EVIL_CONSTRUCTORS(PluginThread);
56 }; 56 };
57 57
58 #endif // CHROME_PLUGIN_PLUGIN_THREAD_H_ 58 #endif // CHROME_PLUGIN_PLUGIN_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/plugin/plugin_channel.cc ('k') | chrome/plugin/plugin_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698