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 22 matching lines...) Expand all Loading... |
33 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 33 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
34 virtual std::string GetDefaultDownloadName() OVERRIDE; | 34 virtual std::string GetDefaultDownloadName() OVERRIDE; |
35 | 35 |
36 #if defined(OS_ANDROID) | 36 #if defined(OS_ANDROID) |
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(); |
| 44 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { |
| 45 return resource_dispatcher_host_delegate_.get(); |
| 46 } |
43 | 47 |
44 private: | 48 private: |
45 scoped_ptr<ShellResourceDispatcherHostDelegate> | 49 scoped_ptr<ShellResourceDispatcherHostDelegate> |
46 resource_dispatcher_host_delegate_; | 50 resource_dispatcher_host_delegate_; |
47 | 51 |
48 ShellBrowserMainParts* shell_browser_main_parts_; | 52 ShellBrowserMainParts* shell_browser_main_parts_; |
49 }; | 53 }; |
50 | 54 |
51 } // namespace content | 55 } // namespace content |
52 | 56 |
53 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 57 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |