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

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

Issue 10949027: Close leaking FDs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed last comments and synced. Created 8 years, 3 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 20 matching lines...) Expand all
31 int child_process_id) OVERRIDE; 31 int child_process_id) OVERRIDE;
32 virtual void ResourceDispatcherHostCreated() OVERRIDE; 32 virtual void ResourceDispatcherHostCreated() OVERRIDE;
33 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; 33 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE;
34 virtual std::string GetDefaultDownloadName() OVERRIDE; 34 virtual std::string GetDefaultDownloadName() OVERRIDE;
35 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( 35 virtual WebContentsViewDelegate* GetWebContentsViewDelegate(
36 WebContents* web_contents) OVERRIDE; 36 WebContents* web_contents) OVERRIDE;
37 37
38 #if defined(OS_ANDROID) 38 #if defined(OS_ANDROID)
39 virtual void GetAdditionalMappedFilesForChildProcess( 39 virtual void GetAdditionalMappedFilesForChildProcess(
40 const CommandLine& command_line, 40 const CommandLine& command_line,
41 base::GlobalDescriptors::Mapping* mappings) OVERRIDE; 41 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE;
42 #endif 42 #endif
43 43
44 ShellBrowserContext* browser_context(); 44 ShellBrowserContext* browser_context();
45 ShellBrowserContext* off_the_record_browser_context(); 45 ShellBrowserContext* off_the_record_browser_context();
46 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { 46 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() {
47 return resource_dispatcher_host_delegate_.get(); 47 return resource_dispatcher_host_delegate_.get();
48 } 48 }
49 ShellBrowserMainParts* shell_browser_main_parts() { 49 ShellBrowserMainParts* shell_browser_main_parts() {
50 return shell_browser_main_parts_; 50 return shell_browser_main_parts_;
51 } 51 }
52 52
53 private: 53 private:
54 scoped_ptr<ShellResourceDispatcherHostDelegate> 54 scoped_ptr<ShellResourceDispatcherHostDelegate>
55 resource_dispatcher_host_delegate_; 55 resource_dispatcher_host_delegate_;
56 56
57 ShellBrowserMainParts* shell_browser_main_parts_; 57 ShellBrowserMainParts* shell_browser_main_parts_;
58 }; 58 };
59 59
60 } // namespace content 60 } // namespace content
61 61
62 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 62 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/browser/file_descriptor_info.h ('k') | content/shell/shell_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698