| 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 "chrome/renderer/chrome_content_renderer_client.h" | 5 #include "chrome/renderer/chrome_content_renderer_client.h" |
| 6 | 6 |
| 7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
| 8 #include "chrome/common/extensions/extension.h" | 8 #include "chrome/common/extensions/extension.h" |
| 9 #include "chrome/common/extensions/extension_builder.h" | 9 #include "chrome/common/extensions/extension_builder.h" |
| 10 #include "chrome/common/extensions/extension_manifest_constants.h" | 10 #include "chrome/common/extensions/extension_manifest_constants.h" |
| 11 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 13 #include "third_party/WebKit/public/platform/WebString.h" |
| 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" | 14 #include "third_party/WebKit/public/platform/WebVector.h" |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" |
| 16 #include "webkit/plugins/webplugininfo.h" | 16 #include "webkit/plugins/webplugininfo.h" |
| 17 | 17 |
| 18 using WebKit::WebPluginParams; | 18 using WebKit::WebPluginParams; |
| 19 using WebKit::WebString; | 19 using WebKit::WebString; |
| 20 using WebKit::WebVector; | 20 using WebKit::WebVector; |
| 21 using chrome::ChromeContentRendererClient; | 21 using chrome::ChromeContentRendererClient; |
| 22 using webkit::WebPluginInfo; | 22 using webkit::WebPluginInfo; |
| 23 using webkit::WebPluginMimeType; | 23 using webkit::WebPluginMimeType; |
| 24 | 24 |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 EXPECT_FALSE(ChromeContentRendererClient::IsNaClAllowed( | 281 EXPECT_FALSE(ChromeContentRendererClient::IsNaClAllowed( |
| 282 GURL(), GURL("http://example.evil.com/test.html"), | 282 GURL(), GURL("http://example.evil.com/test.html"), |
| 283 kNaClRestricted, | 283 kNaClRestricted, |
| 284 CreateHostedApp(kExtensionRestricted, kExtensionNotFromWebStore, | 284 CreateHostedApp(kExtensionRestricted, kExtensionNotFromWebStore, |
| 285 "http://example.com/"), | 285 "http://example.com/"), |
| 286 ¶ms)); | 286 ¶ms)); |
| 287 } | 287 } |
| 288 } | 288 } |
| 289 | 289 |
| 290 } // namespace chrome | 290 } // namespace chrome |
| OLD | NEW |