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

Side by Side Diff: chrome/browser/plugin_service.cc

Issue 20066: Move resource_message_filter and resource_request_details to the renderer_hos... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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) 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 #include "chrome/browser/plugin_service.h" 5 #include "chrome/browser/plugin_service.h"
6 6
7 #include "base/singleton.h" 7 #include "base/singleton.h"
8 #include "base/thread.h" 8 #include "base/thread.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/chrome_plugin_host.h" 10 #include "chrome/browser/chrome_plugin_host.h"
11 #include "chrome/browser/chrome_thread.h" 11 #include "chrome/browser/chrome_thread.h"
12 #include "chrome/browser/plugin_process_host.h" 12 #include "chrome/browser/plugin_process_host.h"
13 #include "chrome/browser/renderer_host/render_process_host.h" 13 #include "chrome/browser/renderer_host/render_process_host.h"
14 #include "chrome/browser/resource_message_filter.h" 14 #include "chrome/browser/renderer_host/resource_message_filter.h"
15 #include "chrome/common/chrome_plugin_lib.h" 15 #include "chrome/common/chrome_plugin_lib.h"
16 #include "chrome/common/logging_chrome.h" 16 #include "chrome/common/logging_chrome.h"
17 #include "webkit/glue/plugins/plugin_list.h" 17 #include "webkit/glue/plugins/plugin_list.h"
18 18
19 // static 19 // static
20 PluginService* PluginService::GetInstance() { 20 PluginService* PluginService::GetInstance() {
21 return Singleton<PluginService>::get(); 21 return Singleton<PluginService>::get();
22 } 22 }
23 23
24 PluginService::PluginService() 24 PluginService::PluginService()
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 NewRunnableMethod(this, &ShutdownHandler::OnShutdown)); 208 NewRunnableMethod(this, &ShutdownHandler::OnShutdown));
209 } 209 }
210 210
211 void PluginService::ShutdownHandler::OnShutdown() { 211 void PluginService::ShutdownHandler::OnShutdown() {
212 PluginService* plugin_service = PluginService::GetInstance(); 212 PluginService* plugin_service = PluginService::GetInstance();
213 if (plugin_service) { 213 if (plugin_service) {
214 plugin_service->OnShutdown(); 214 plugin_service->OnShutdown();
215 } 215 }
216 } 216 }
217 217
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698