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

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

Issue 2374253007: Report unpermitted interface requests as bad messages (Closed)
Patch Set: . Created 4 years, 2 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_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 content::ResourceContext* context, 146 content::ResourceContext* context,
147 int render_process_id, 147 int render_process_id,
148 int opener_render_view_id, 148 int opener_render_view_id,
149 int opener_render_frame_id, 149 int opener_render_frame_id,
150 bool* no_javascript_access) override; 150 bool* no_javascript_access) override;
151 void ExposeInterfacesToRenderer( 151 void ExposeInterfacesToRenderer(
152 ::shell::InterfaceRegistry* registry, 152 ::shell::InterfaceRegistry* registry,
153 content::RenderProcessHost* render_process_host) override; 153 content::RenderProcessHost* render_process_host) override;
154 void RegisterInProcessMojoApplications( 154 void RegisterInProcessMojoApplications(
155 StaticMojoApplicationMap* apps) override; 155 StaticMojoApplicationMap* apps) override;
156 std::unique_ptr<base::Value> GetServiceManifestOverlay(
157 const std::string& service_name) override;
156 #if defined(OS_ANDROID) 158 #if defined(OS_ANDROID)
157 void GetAdditionalMappedFilesForChildProcess( 159 void GetAdditionalMappedFilesForChildProcess(
158 const base::CommandLine& command_line, 160 const base::CommandLine& command_line,
159 int child_process_id, 161 int child_process_id,
160 content::FileDescriptorInfo* mappings, 162 content::FileDescriptorInfo* mappings,
161 std::map<int, base::MemoryMappedFile::Region>* regions) override; 163 std::map<int, base::MemoryMappedFile::Region>* regions) override;
162 #else 164 #else
163 ::media::ScopedAudioManagerPtr CreateAudioManager( 165 ::media::ScopedAudioManagerPtr CreateAudioManager(
164 ::media::AudioLogFactory* audio_log_factory) override; 166 ::media::AudioLogFactory* audio_log_factory) override;
165 std::unique_ptr<::media::CdmFactory> CreateCdmFactory() override; 167 std::unique_ptr<::media::CdmFactory> CreateCdmFactory() override;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 CastBrowserMainParts* cast_browser_main_parts_; 205 CastBrowserMainParts* cast_browser_main_parts_;
204 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; 206 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_;
205 207
206 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); 208 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient);
207 }; 209 };
208 210
209 } // namespace shell 211 } // namespace shell
210 } // namespace chromecast 212 } // namespace chromecast
211 213
212 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 214 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromecast/browser/cast_browser_resources.grd ('k') | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698