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

Side by Side Diff: chrome/browser/chrome_content_browser_client_parts.h

Issue 468033002: Remove worker process related codes from ContentBrowserClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_PARTS_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_PARTS_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_PARTS_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_PARTS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 24 matching lines...) Expand all
35 // Implements a platform or feature specific part of ChromeContentBrowserClient. 35 // Implements a platform or feature specific part of ChromeContentBrowserClient.
36 // All the public methods corresponds to the methods of the same name in 36 // All the public methods corresponds to the methods of the same name in
37 // content::ContentBrowserClient. 37 // content::ContentBrowserClient.
38 class ChromeContentBrowserClientParts { 38 class ChromeContentBrowserClientParts {
39 public: 39 public:
40 virtual ~ChromeContentBrowserClientParts() {} 40 virtual ~ChromeContentBrowserClientParts() {}
41 41
42 virtual void RenderProcessWillLaunch(content::RenderProcessHost* host) {} 42 virtual void RenderProcessWillLaunch(content::RenderProcessHost* host) {}
43 virtual void SiteInstanceGotProcess(content::SiteInstance* site_instance) {} 43 virtual void SiteInstanceGotProcess(content::SiteInstance* site_instance) {}
44 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) {} 44 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) {}
45 virtual void WorkerProcessCreated(content::SiteInstance* site_instance,
46 int worker_process_id) {}
47 virtual void WorkerProcessTerminated(content::SiteInstance* site_instance,
48 int worker_process_id) {}
49 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, 45 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh,
50 const GURL& url, 46 const GURL& url,
51 content::WebPreferences* web_prefs) {} 47 content::WebPreferences* web_prefs) {}
52 virtual void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) {} 48 virtual void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) {}
53 virtual void GetAdditionalAllowedSchemesForFileSystem( 49 virtual void GetAdditionalAllowedSchemesForFileSystem(
54 std::vector<std::string>* additional_allowed_schemes) {} 50 std::vector<std::string>* additional_allowed_schemes) {}
55 virtual void GetURLRequestAutoMountHandlers( 51 virtual void GetURLRequestAutoMountHandlers(
56 std::vector<fileapi::URLRequestAutoMountHandler>* handlers) {} 52 std::vector<fileapi::URLRequestAutoMountHandler>* handlers) {}
57 virtual void GetAdditionalFileSystemBackends( 53 virtual void GetAdditionalFileSystemBackends(
58 content::BrowserContext* browser_context, 54 content::BrowserContext* browser_context,
59 const base::FilePath& storage_partition_path, 55 const base::FilePath& storage_partition_path,
60 ScopedVector<fileapi::FileSystemBackend>* additional_backends) {} 56 ScopedVector<fileapi::FileSystemBackend>* additional_backends) {}
61 57
62 // Append extra switches to |command_line| for |process|. If |process| is not 58 // Append extra switches to |command_line| for |process|. If |process| is not
63 // NULL, then neither is |profile|. 59 // NULL, then neither is |profile|.
64 virtual void AppendExtraRendererCommandLineSwitches( 60 virtual void AppendExtraRendererCommandLineSwitches(
65 base::CommandLine* command_line, 61 base::CommandLine* command_line,
66 content::RenderProcessHost* process, 62 content::RenderProcessHost* process,
67 Profile* profile) {} 63 Profile* profile) {}
68 }; 64 };
69 65
70 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_PARTS_H_ 66 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_PARTS_H_
71 67
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698