| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_BROWSER_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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 private: | 99 private: |
| 100 ShellBrowserContext* ShellBrowserContextForBrowserContext( | 100 ShellBrowserContext* ShellBrowserContextForBrowserContext( |
| 101 BrowserContext* content_browser_context); | 101 BrowserContext* content_browser_context); |
| 102 | 102 |
| 103 scoped_ptr<ShellResourceDispatcherHostDelegate> | 103 scoped_ptr<ShellResourceDispatcherHostDelegate> |
| 104 resource_dispatcher_host_delegate_; | 104 resource_dispatcher_host_delegate_; |
| 105 | 105 |
| 106 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 106 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 107 base::ScopedFD v8_natives_fd_; | 107 base::ScopedFD v8_natives_fd_; |
| 108 base::ScopedFD v8_snapshot_fd_; | 108 base::ScopedFD v8_snapshot_fd_; |
| 109 bool natives_fd_exists() { return v8_natives_fd_ != -1; } |
| 110 bool snapshot_fd_exists() { return v8_snapshot_fd_ != -1; } |
| 109 #endif | 111 #endif |
| 110 | 112 |
| 111 base::Closure select_client_certificate_callback_; | 113 base::Closure select_client_certificate_callback_; |
| 112 | 114 |
| 113 ShellBrowserMainParts* shell_browser_main_parts_; | 115 ShellBrowserMainParts* shell_browser_main_parts_; |
| 114 }; | 116 }; |
| 115 | 117 |
| 116 } // namespace content | 118 } // namespace content |
| 117 | 119 |
| 118 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 120 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |