| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "content/public/browser/content_browser_client.h" | 10 #include "content/public/browser/content_browser_client.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 content::ResourceContext* context, | 64 content::ResourceContext* context, |
| 65 int render_process_id, | 65 int render_process_id, |
| 66 int opener_id, | 66 int opener_id, |
| 67 bool* no_javascript_access) OVERRIDE; | 67 bool* no_javascript_access) OVERRIDE; |
| 68 virtual void GetAdditionalMappedFilesForChildProcess( | 68 virtual void GetAdditionalMappedFilesForChildProcess( |
| 69 const base::CommandLine& command_line, | 69 const base::CommandLine& command_line, |
| 70 int child_process_id, | 70 int child_process_id, |
| 71 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; | 71 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; |
| 72 | 72 |
| 73 private: | 73 private: |
| 74 // Note: BrowserMainLoop holds ownership of CastBrowserMainParts after it is | |
| 75 // created. | |
| 76 CastBrowserMainParts* shell_browser_main_parts_; | |
| 77 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; | 74 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; |
| 78 | 75 |
| 79 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 76 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
| 80 }; | 77 }; |
| 81 | 78 |
| 82 } // namespace shell | 79 } // namespace shell |
| 83 } // namespace chromecast | 80 } // namespace chromecast |
| 84 | 81 |
| 85 #endif // CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 82 #endif // CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |