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 26 matching lines...) Expand all Loading... |
37 virtual void GetAdditionalMappedFilesForChildProcess( | 37 virtual void GetAdditionalMappedFilesForChildProcess( |
38 const CommandLine& command_line, | 38 const CommandLine& command_line, |
39 base::GlobalDescriptors::Mapping* mappings) OVERRIDE; | 39 base::GlobalDescriptors::Mapping* mappings) OVERRIDE; |
40 #endif | 40 #endif |
41 | 41 |
42 ShellBrowserContext* browser_context(); | 42 ShellBrowserContext* browser_context(); |
43 ShellBrowserContext* off_the_record_browser_context(); | 43 ShellBrowserContext* off_the_record_browser_context(); |
44 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { | 44 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { |
45 return resource_dispatcher_host_delegate_.get(); | 45 return resource_dispatcher_host_delegate_.get(); |
46 } | 46 } |
| 47 ShellBrowserMainParts* shell_browser_main_parts() { |
| 48 return shell_browser_main_parts_; |
| 49 } |
47 | 50 |
48 private: | 51 private: |
49 scoped_ptr<ShellResourceDispatcherHostDelegate> | 52 scoped_ptr<ShellResourceDispatcherHostDelegate> |
50 resource_dispatcher_host_delegate_; | 53 resource_dispatcher_host_delegate_; |
51 | 54 |
52 ShellBrowserMainParts* shell_browser_main_parts_; | 55 ShellBrowserMainParts* shell_browser_main_parts_; |
53 }; | 56 }; |
54 | 57 |
55 } // namespace content | 58 } // namespace content |
56 | 59 |
57 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 60 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |