| OLD | NEW |
| 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 #include "chrome/renderer/render_thread.h" | 5 #include "chrome/renderer/render_thread.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #if defined(OS_WIN) | 23 #if defined(OS_WIN) |
| 24 #include "chrome/plugin/plugin_channel.h" | 24 #include "chrome/plugin/plugin_channel.h" |
| 25 #else | 25 #else |
| 26 #include "base/scoped_handle.h" | 26 #include "base/scoped_handle.h" |
| 27 #include "chrome/plugin/plugin_channel_base.h" | 27 #include "chrome/plugin/plugin_channel_base.h" |
| 28 #endif | 28 #endif |
| 29 #include "chrome/renderer/devtools_agent_filter.h" | 29 #include "chrome/renderer/devtools_agent_filter.h" |
| 30 #include "chrome/renderer/extension_groups.h" | 30 #include "chrome/renderer/extension_groups.h" |
| 31 #include "chrome/renderer/extensions/event_bindings.h" | 31 #include "chrome/renderer/extensions/event_bindings.h" |
| 32 #include "chrome/renderer/extensions/extension_process_bindings.h" | 32 #include "chrome/renderer/extensions/extension_process_bindings.h" |
| 33 #include "chrome/renderer/extensions/js_only_v8_extensions.h" |
| 33 #include "chrome/renderer/extensions/renderer_extension_bindings.h" | 34 #include "chrome/renderer/extensions/renderer_extension_bindings.h" |
| 34 #include "chrome/renderer/external_extension.h" | 35 #include "chrome/renderer/external_extension.h" |
| 35 #include "chrome/renderer/js_only_v8_extensions.h" | |
| 36 #include "chrome/renderer/loadtimes_extension_bindings.h" | 36 #include "chrome/renderer/loadtimes_extension_bindings.h" |
| 37 #include "chrome/renderer/net/render_dns_master.h" | 37 #include "chrome/renderer/net/render_dns_master.h" |
| 38 #include "chrome/renderer/render_process.h" | 38 #include "chrome/renderer/render_process.h" |
| 39 #include "chrome/renderer/render_view.h" | 39 #include "chrome/renderer/render_view.h" |
| 40 #include "chrome/renderer/renderer_webkitclient_impl.h" | 40 #include "chrome/renderer/renderer_webkitclient_impl.h" |
| 41 #include "chrome/renderer/user_script_slave.h" | 41 #include "chrome/renderer/user_script_slave.h" |
| 42 #include "webkit/api/public/WebColor.h" | 42 #include "webkit/api/public/WebColor.h" |
| 43 #include "webkit/api/public/WebCache.h" | 43 #include "webkit/api/public/WebCache.h" |
| 44 #include "webkit/api/public/WebKit.h" | 44 #include "webkit/api/public/WebKit.h" |
| 45 #include "webkit/api/public/WebString.h" | 45 #include "webkit/api/public/WebString.h" |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 | 431 |
| 432 void RenderThread::OnPurgePluginListCache() { | 432 void RenderThread::OnPurgePluginListCache() { |
| 433 // The call below will cause a GetPlugins call with refresh=true, but at this | 433 // The call below will cause a GetPlugins call with refresh=true, but at this |
| 434 // point we already know that the browser has refreshed its list, so disable | 434 // point we already know that the browser has refreshed its list, so disable |
| 435 // refresh temporarily to prevent each renderer process causing the list to be | 435 // refresh temporarily to prevent each renderer process causing the list to be |
| 436 // regenerated. | 436 // regenerated. |
| 437 plugin_refresh_allowed_ = false; | 437 plugin_refresh_allowed_ = false; |
| 438 WebKit::resetPluginCache(); | 438 WebKit::resetPluginCache(); |
| 439 plugin_refresh_allowed_ = true; | 439 plugin_refresh_allowed_ = true; |
| 440 } | 440 } |
| OLD | NEW |