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

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

Issue 119463003: Rename ContentBrowserClient::RenderProcessHostCreated to RenderProcessWillLaunch. It is called each… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_BROWSER_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 15 matching lines...) Expand all
26 static ShellContentBrowserClient* Get(); 26 static ShellContentBrowserClient* Get();
27 27
28 static void SetSwapProcessesForRedirect(bool swap); 28 static void SetSwapProcessesForRedirect(bool swap);
29 29
30 ShellContentBrowserClient(); 30 ShellContentBrowserClient();
31 virtual ~ShellContentBrowserClient(); 31 virtual ~ShellContentBrowserClient();
32 32
33 // ContentBrowserClient overrides. 33 // ContentBrowserClient overrides.
34 virtual BrowserMainParts* CreateBrowserMainParts( 34 virtual BrowserMainParts* CreateBrowserMainParts(
35 const MainFunctionParams& parameters) OVERRIDE; 35 const MainFunctionParams& parameters) OVERRIDE;
36 virtual void RenderProcessHostCreated(RenderProcessHost* host) OVERRIDE; 36 virtual void RenderProcessWillLaunch(RenderProcessHost* host) OVERRIDE;
37 virtual net::URLRequestContextGetter* CreateRequestContext( 37 virtual net::URLRequestContextGetter* CreateRequestContext(
38 BrowserContext* browser_context, 38 BrowserContext* browser_context,
39 ProtocolHandlerMap* protocol_handlers) OVERRIDE; 39 ProtocolHandlerMap* protocol_handlers) OVERRIDE;
40 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 40 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
41 BrowserContext* browser_context, 41 BrowserContext* browser_context,
42 const base::FilePath& partition_path, 42 const base::FilePath& partition_path,
43 bool in_memory, 43 bool in_memory,
44 ProtocolHandlerMap* protocol_handlers) OVERRIDE; 44 ProtocolHandlerMap* protocol_handlers) OVERRIDE;
45 virtual bool IsHandledURL(const GURL& url) OVERRIDE; 45 virtual bool IsHandledURL(const GURL& url) OVERRIDE;
46 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 46 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 resource_dispatcher_host_delegate_; 87 resource_dispatcher_host_delegate_;
88 88
89 base::FilePath webkit_source_dir_; 89 base::FilePath webkit_source_dir_;
90 90
91 ShellBrowserMainParts* shell_browser_main_parts_; 91 ShellBrowserMainParts* shell_browser_main_parts_;
92 }; 92 };
93 93
94 } // namespace content 94 } // namespace content
95 95
96 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 96 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/shell/browser/shell_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698