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

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 2562393005: [Chromecast] Reference internal services manifest. (Closed)
Patch Set: Fix CastContentClient header Created 4 years 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
« content/public/app/BUILD.gn ('K') | « content/public/app/BUILD.gn ('k') | no next file » | 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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 namespace content { 106 namespace content {
107 107
108 enum class PermissionType; 108 enum class PermissionType;
109 class BrowserChildProcessHost; 109 class BrowserChildProcessHost;
110 class BrowserContext; 110 class BrowserContext;
111 class BrowserMainParts; 111 class BrowserMainParts;
112 class BrowserPpapiHost; 112 class BrowserPpapiHost;
113 class BrowserURLHandler; 113 class BrowserURLHandler;
114 class ClientCertificateDelegate; 114 class ClientCertificateDelegate;
115 class ConnectionFilter;
115 class DevToolsManagerDelegate; 116 class DevToolsManagerDelegate;
116 class GpuProcessHost; 117 class GpuProcessHost;
117 class MediaObserver; 118 class MediaObserver;
118 class MemoryCoordinatorDelegate; 119 class MemoryCoordinatorDelegate;
119 class NavigationHandle; 120 class NavigationHandle;
120 class NavigationUIData; 121 class NavigationUIData;
121 class PlatformNotificationService; 122 class PlatformNotificationService;
122 class PresentationServiceDelegate; 123 class PresentationServiceDelegate;
123 class QuotaPermissionContext; 124 class QuotaPermissionContext;
124 class RenderFrameHost; 125 class RenderFrameHost;
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 // Registers services to be loaded out of the browser process (in a utility 701 // Registers services to be loaded out of the browser process (in a utility
701 // process) without the sandbox. 702 // process) without the sandbox.
702 // 703 //
703 // WARNING: This path is NOT recommended! If a service needs another service 704 // WARNING: This path is NOT recommended! If a service needs another service
704 // that is only available out of the sandbox, it could ask the browser 705 // that is only available out of the sandbox, it could ask the browser
705 // process to provide it. Only use this method when that approach does not 706 // process to provide it. Only use this method when that approach does not
706 // work. 707 // work.
707 virtual void RegisterUnsandboxedOutOfProcessServices( 708 virtual void RegisterUnsandboxedOutOfProcessServices(
708 OutOfProcessServiceMap* services) {} 709 OutOfProcessServiceMap* services) {}
709 710
711 using ConnectionFilterList = std::vector<std::unique_ptr<ConnectionFilter>>;
712
713 // Adds ConnectionFilters for incoming requests.
714 virtual void AddConnectionFilters(ConnectionFilterList* filters) {}
715
710 // Allow the embedder to provide a dictionary loaded from a JSON file 716 // Allow the embedder to provide a dictionary loaded from a JSON file
711 // resembling a service manifest whose capabilities section will be merged 717 // resembling a service manifest whose capabilities section will be merged
712 // with content's own for |name|. Additional entries will be appended to their 718 // with content's own for |name|. Additional entries will be appended to their
713 // respective sections. 719 // respective sections.
714 virtual std::unique_ptr<base::Value> GetServiceManifestOverlay( 720 virtual std::unique_ptr<base::Value> GetServiceManifestOverlay(
715 const std::string& name); 721 const std::string& name);
716 722
717 // Allows to override the visibility state of a RenderFrameHost. 723 // Allows to override the visibility state of a RenderFrameHost.
718 // |visibility_state| should not be null. It will only be set if needed. 724 // |visibility_state| should not be null. It will only be set if needed.
719 virtual void OverridePageVisibilityState( 725 virtual void OverridePageVisibilityState(
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* 814 base::TaskScheduler::WorkerPoolIndexForTraitsCallback*
809 index_to_traits_callback) {} 815 index_to_traits_callback) {}
810 816
811 // Performs any necessary PostTask API redirection to the task scheduler. 817 // Performs any necessary PostTask API redirection to the task scheduler.
812 virtual void PerformExperimentalTaskSchedulerRedirections() {} 818 virtual void PerformExperimentalTaskSchedulerRedirections() {}
813 }; 819 };
814 820
815 } // namespace content 821 } // namespace content
816 822
817 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 823 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« content/public/app/BUILD.gn ('K') | « content/public/app/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698