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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 2947413002: Restrict CM API interface request and message dispatch. (Closed)
Patch Set: Address nit from clamy@. Created 3 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 content::AssociatedInterfaceRegistry* associated_registry, 278 content::AssociatedInterfaceRegistry* associated_registry,
279 content::RenderProcessHost* render_process_host) override; 279 content::RenderProcessHost* render_process_host) override;
280 void ExposeInterfacesToMediaService( 280 void ExposeInterfacesToMediaService(
281 service_manager::BinderRegistry* registry, 281 service_manager::BinderRegistry* registry,
282 content::RenderFrameHost* render_frame_host) override; 282 content::RenderFrameHost* render_frame_host) override;
283 void BindInterfaceRequestFromFrame( 283 void BindInterfaceRequestFromFrame(
284 content::RenderFrameHost* render_frame_host, 284 content::RenderFrameHost* render_frame_host,
285 const service_manager::BindSourceInfo& source_info, 285 const service_manager::BindSourceInfo& source_info,
286 const std::string& interface_name, 286 const std::string& interface_name,
287 mojo::ScopedMessagePipeHandle interface_pipe) override; 287 mojo::ScopedMessagePipeHandle interface_pipe) override;
288 bool BindAssociatedInterfaceRequestFromFrame(
289 content::RenderFrameHost* render_frame_host,
290 const std::string& interface_name,
291 mojo::ScopedInterfaceEndpointHandle* handle) override;
288 void BindInterfaceRequest( 292 void BindInterfaceRequest(
289 const service_manager::BindSourceInfo& source_info, 293 const service_manager::BindSourceInfo& source_info,
290 const std::string& interface_name, 294 const std::string& interface_name,
291 mojo::ScopedMessagePipeHandle* interface_pipe) override; 295 mojo::ScopedMessagePipeHandle* interface_pipe) override;
292 void RegisterInProcessServices(StaticServiceMap* services) override; 296 void RegisterInProcessServices(StaticServiceMap* services) override;
293 void RegisterOutOfProcessServices( 297 void RegisterOutOfProcessServices(
294 OutOfProcessServiceMap* services) override; 298 OutOfProcessServiceMap* services) override;
295 std::unique_ptr<base::Value> GetServiceManifestOverlay( 299 std::unique_ptr<base::Value> GetServiceManifestOverlay(
296 base::StringPiece name) override; 300 base::StringPiece name) override;
297 std::vector<content::ContentBrowserClient::ServiceManifestInfo> 301 std::vector<content::ContentBrowserClient::ServiceManifestInfo>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 std::unique_ptr< 400 std::unique_ptr<
397 service_manager::BinderRegistryWithParams<content::RenderFrameHost*>> 401 service_manager::BinderRegistryWithParams<content::RenderFrameHost*>>
398 frame_interfaces_parameterized_; 402 frame_interfaces_parameterized_;
399 403
400 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 404 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
401 405
402 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 406 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
403 }; 407 };
404 408
405 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 409 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698