| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/browser/plugin_process_host.h" | 5 #include "content/browser/plugin_process_host.h" |
| 6 | 6 |
| 7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #elif defined(OS_POSIX) | 9 #elif defined(OS_POSIX) |
| 10 #include <utility> // for pair<> | 10 #include <utility> // for pair<> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "chrome/browser/browser_process.h" | 22 #include "chrome/browser/browser_process.h" |
| 23 #include "chrome/browser/net/resolve_proxy_msg_helper.h" | 23 #include "chrome/browser/net/resolve_proxy_msg_helper.h" |
| 24 #include "chrome/browser/net/url_request_tracking.h" | 24 #include "chrome/browser/net/url_request_tracking.h" |
| 25 #include "chrome/browser/plugin_download_helper.h" | 25 #include "chrome/browser/plugin_download_helper.h" |
| 26 #include "chrome/browser/profiles/profile.h" | 26 #include "chrome/browser/profiles/profile.h" |
| 27 #include "chrome/common/chrome_paths.h" | 27 #include "chrome/common/chrome_paths.h" |
| 28 #include "chrome/common/chrome_switches.h" | 28 #include "chrome/common/chrome_switches.h" |
| 29 #include "chrome/common/logging_chrome.h" | 29 #include "chrome/common/logging_chrome.h" |
| 30 #include "chrome/common/net/url_request_context_getter.h" | 30 #include "chrome/common/net/url_request_context_getter.h" |
| 31 #include "chrome/common/render_messages.h" | 31 #include "chrome/common/render_messages.h" |
| 32 #include "chrome/common/render_messages_params.h" | |
| 33 #include "content/browser/browser_thread.h" | 32 #include "content/browser/browser_thread.h" |
| 34 #include "content/browser/plugin_service.h" | 33 #include "content/browser/plugin_service.h" |
| 35 #include "content/browser/renderer_host/resource_dispatcher_host.h" | 34 #include "content/browser/renderer_host/resource_dispatcher_host.h" |
| 36 #include "content/browser/renderer_host/resource_message_filter.h" | 35 #include "content/browser/renderer_host/resource_message_filter.h" |
| 37 #include "content/common/plugin_messages.h" | 36 #include "content/common/plugin_messages.h" |
| 38 #include "content/common/resource_messages.h" | 37 #include "content/common/resource_messages.h" |
| 39 #include "ipc/ipc_switches.h" | 38 #include "ipc/ipc_switches.h" |
| 40 #include "net/base/io_buffer.h" | 39 #include "net/base/io_buffer.h" |
| 41 #include "net/url_request/url_request.h" | 40 #include "net/url_request/url_request.h" |
| 42 #include "net/url_request/url_request_context.h" | 41 #include "net/url_request/url_request_context.h" |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 } | 362 } |
| 364 | 363 |
| 365 if (!g_browser_process->plugin_finder_disabled()) { | 364 if (!g_browser_process->plugin_finder_disabled()) { |
| 366 // TODO(iyengar): Add the plumbing to retrieve the default | 365 // TODO(iyengar): Add the plumbing to retrieve the default |
| 367 // plugin finder URL. | 366 // plugin finder URL. |
| 368 *plugin_finder_url = kDefaultPluginFinderURL; | 367 *plugin_finder_url = kDefaultPluginFinderURL; |
| 369 } else { | 368 } else { |
| 370 plugin_finder_url->clear(); | 369 plugin_finder_url->clear(); |
| 371 } | 370 } |
| 372 } | 371 } |
| OLD | NEW |