| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |