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

Side by Side Diff: content/shell/shell_content_browser_client.h

Issue 11931024: Removed static factories for data, ftp, file, and about jobs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add test for IsSafeRedirectTarget Created 7 years, 10 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
OLDNEW
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 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 46 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
47 blob_protocol_handler, 47 blob_protocol_handler,
48 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 48 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
49 file_system_protocol_handler, 49 file_system_protocol_handler,
50 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 50 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
51 developer_protocol_handler, 51 developer_protocol_handler,
52 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 52 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
53 chrome_protocol_handler, 53 chrome_protocol_handler,
54 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 54 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
55 chrome_devtools_protocol_handler) OVERRIDE; 55 chrome_devtools_protocol_handler) OVERRIDE;
56 virtual bool IsHandledURL(const GURL& url) OVERRIDE;
56 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 57 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
57 int child_process_id) OVERRIDE; 58 int child_process_id) OVERRIDE;
58 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, 59 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host,
59 const GURL& url, 60 const GURL& url,
60 webkit_glue::WebPreferences* prefs) OVERRIDE; 61 webkit_glue::WebPreferences* prefs) OVERRIDE;
61 virtual void ResourceDispatcherHostCreated() OVERRIDE; 62 virtual void ResourceDispatcherHostCreated() OVERRIDE;
62 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; 63 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE;
63 virtual std::string GetDefaultDownloadName() OVERRIDE; 64 virtual std::string GetDefaultDownloadName() OVERRIDE;
64 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( 65 virtual WebContentsViewDelegate* GetWebContentsViewDelegate(
65 WebContents* web_contents) OVERRIDE; 66 WebContents* web_contents) OVERRIDE;
(...skipping 22 matching lines...) Expand all
88 resource_dispatcher_host_delegate_; 89 resource_dispatcher_host_delegate_;
89 90
90 base::FilePath webkit_source_dir_; 91 base::FilePath webkit_source_dir_;
91 92
92 ShellBrowserMainParts* shell_browser_main_parts_; 93 ShellBrowserMainParts* shell_browser_main_parts_;
93 }; 94 };
94 95
95 } // namespace content 96 } // namespace content
96 97
97 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 98 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698