| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/renderer/npapi/webplugin_delegate_proxy.h" | 5 #include "content/renderer/npapi/webplugin_delegate_proxy.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/auto_reset.h" | 9 #include "base/auto_reset.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/file_util.h" | 12 #include "base/files/file_util.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/process/process.h" | 16 #include "base/process/process.h" |
| 17 #include "base/strings/string_split.h" | 17 #include "base/strings/string_split.h" |
| 18 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
| 19 #include "base/strings/utf_string_conversions.h" | 19 #include "base/strings/utf_string_conversions.h" |
| 20 #include "base/version.h" | 20 #include "base/version.h" |
| 21 #include "content/child/child_process.h" | 21 #include "content/child/child_process.h" |
| 22 #include "content/child/npapi/npobject_proxy.h" | 22 #include "content/child/npapi/npobject_proxy.h" |
| (...skipping 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1242 | 1242 |
| 1243 plugin_->URLRedirectResponse(allow, resource_id); | 1243 plugin_->URLRedirectResponse(allow, resource_id); |
| 1244 } | 1244 } |
| 1245 | 1245 |
| 1246 void WebPluginDelegateProxy::OnCheckIfRunInsecureContent(const GURL& url, | 1246 void WebPluginDelegateProxy::OnCheckIfRunInsecureContent(const GURL& url, |
| 1247 bool* result) { | 1247 bool* result) { |
| 1248 *result = plugin_->CheckIfRunInsecureContent(url); | 1248 *result = plugin_->CheckIfRunInsecureContent(url); |
| 1249 } | 1249 } |
| 1250 | 1250 |
| 1251 } // namespace content | 1251 } // namespace content |
| OLD | NEW |