Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Side by Side Diff: chromecast/shell/browser/cast_content_browser_client.h

Issue 521753002: Chromecast: adds CastBrowserProcess to manage browser process entities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed obsolete member Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chromecast/shell/browser/cast_browser_process.cc ('k') | chromecast/shell/browser/cast_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698