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

Unified Diff: chrome/browser/download/download_target_determiner_unittest.cc

Issue 374773002: Remove GTalk/O1D plugins and related code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/webui/plugins_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_target_determiner_unittest.cc
diff --git a/chrome/browser/download/download_target_determiner_unittest.cc b/chrome/browser/download/download_target_determiner_unittest.cc
index 0418af8a10e9d8795d40daebc57dfa36c6b6409a..a0b8cdee625a9e5af8fb652bccfcec4a7ab4f773 100644
--- a/chrome/browser/download/download_target_determiner_unittest.cc
+++ b/chrome/browser/download/download_target_determiner_unittest.cc
@@ -2104,22 +2104,6 @@ TEST_F(DownloadTargetDeterminerTestWithPlugin,
target_info = RunDownloadTargetDeterminer(
GetPathInDownloadDir(kInitialPath), item.get());
EXPECT_FALSE(target_info->is_filetype_handled_safely);
-
- // Now register an unsandboxed PPAPI plugin. This plugin should not be
- // considered secure.
- ScopedRegisterInternalPlugin ppapi_unsandboxed_plugin(
- plugin_service,
- content::WebPluginInfo::PLUGIN_TYPE_PEPPER_UNSANDBOXED,
- test_download_dir().AppendASCII("ppapi-nosandbox"),
- kTestMIMEType,
- "fakeext");
- EXPECT_CALL(mock_plugin_filter_,
- MockPluginAvailable(ppapi_unsandboxed_plugin.path()))
- .WillRepeatedly(Return(true));
-
- target_info = RunDownloadTargetDeterminer(
- GetPathInDownloadDir(kInitialPath), item.get());
- EXPECT_FALSE(target_info->is_filetype_handled_safely);
}
// Check if secure handling of filetypes is determined correctly for NPAPI
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/webui/plugins_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698