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

Side by Side Diff: chrome/browser/renderer_host/resource_message_filter.h

Issue 306032: Simplify threading in browser thread by making only ChromeThread deal with di... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: a few more simplifications Created 11 years, 1 month 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_
7 7
8 #if defined(OS_WIN) 8 #if defined(OS_WIN)
9 #include <windows.h> 9 #include <windows.h>
10 #endif 10 #endif
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 #endif 136 #endif
137 137
138 #if !defined(OS_MACOSX) 138 #if !defined(OS_MACOSX)
139 // Not handled in the IO thread on Mac. 139 // Not handled in the IO thread on Mac.
140 void OnGetScreenInfo(gfx::NativeViewId window, IPC::Message* reply); 140 void OnGetScreenInfo(gfx::NativeViewId window, IPC::Message* reply);
141 #endif 141 #endif
142 void OnGetPlugins(bool refresh, IPC::Message* reply_msg); 142 void OnGetPlugins(bool refresh, IPC::Message* reply_msg);
143 static void OnGetPluginsOnFileThread(ResourceMessageFilter* filter, 143 static void OnGetPluginsOnFileThread(ResourceMessageFilter* filter,
144 bool refresh, 144 bool refresh,
145 IPC::Message* reply_msg); 145 IPC::Message* reply_msg);
146 static void OnNotifyPluginsLoaded(ResourceMessageFilter* filter,
147 IPC::Message* reply_msg);
148 void OnPluginsLoaded(IPC::Message* reply_msg); 146 void OnPluginsLoaded(IPC::Message* reply_msg);
149 void OnGetPluginPath(const GURL& url, 147 void OnGetPluginPath(const GURL& url,
150 const GURL& policy_url, 148 const GURL& policy_url,
151 const std::string& mime_type, 149 const std::string& mime_type,
152 FilePath* filename, 150 FilePath* filename,
153 std::string* actual_mime_type); 151 std::string* actual_mime_type);
154 void OnOpenChannelToPlugin(const GURL& url, 152 void OnOpenChannelToPlugin(const GURL& url,
155 const std::string& mime_type, 153 const std::string& mime_type,
156 const std::wstring& locale, 154 const std::wstring& locale,
157 IPC::Message* reply_msg); 155 IPC::Message* reply_msg);
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 // Whether this process is used for off the record tabs. 373 // Whether this process is used for off the record tabs.
376 bool off_the_record_; 374 bool off_the_record_;
377 375
378 // A callback to create a routing id for the associated renderer process. 376 // A callback to create a routing id for the associated renderer process.
379 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_; 377 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_;
380 378
381 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); 379 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter);
382 }; 380 };
383 381
384 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ 382 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698