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

Side by Side Diff: webkit/tools/test_shell/test_shell_mac.mm

Issue 164305: Ensure we don't load plugins on the IO thread (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/tools/test_shell/test_shell_gtk.cc ('k') | webkit/tools/test_shell/test_shell_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <ApplicationServices/ApplicationServices.h> 5 #include <ApplicationServices/ApplicationServices.h>
6 #import <Cocoa/Cocoa.h> 6 #import <Cocoa/Cocoa.h>
7 #import <objc/objc-runtime.h> 7 #import <objc/objc-runtime.h>
8 #include <sys/stat.h> 8 #include <sys/stat.h>
9 9
10 #include "webkit/tools/test_shell/test_shell.h" 10 #include "webkit/tools/test_shell/test_shell.h"
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 case IDR_SEARCH_MAGNIFIER_RESULTS: 693 case IDR_SEARCH_MAGNIFIER_RESULTS:
694 return TestShell::NetResourceProvider(resource_id); 694 return TestShell::NetResourceProvider(resource_id);
695 695
696 default: 696 default:
697 break; 697 break;
698 } 698 }
699 699
700 return StringPiece(); 700 return StringPiece();
701 } 701 }
702 702
703 bool GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) { 703 void GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) {
704 return NPAPI::PluginList::Singleton()->GetPlugins(refresh, plugins); 704 NPAPI::PluginList::Singleton()->GetPlugins(refresh, plugins);
705 } 705 }
706 706
707 bool DownloadUrl(const std::string& url, NSWindow* caller_window) { 707 bool DownloadUrl(const std::string& url, NSWindow* caller_window) {
708 return false; 708 return false;
709 } 709 }
710 710
711 void DidLoadPlugin(const std::string& filename) { 711 void DidLoadPlugin(const std::string& filename) {
712 } 712 }
713 713
714 void DidUnloadPlugin(const std::string& filename) { 714 void DidUnloadPlugin(const std::string& filename) {
715 } 715 }
716 716
717 } // namespace webkit_glue 717 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_shell_gtk.cc ('k') | webkit/tools/test_shell/test_shell_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698