OLD | NEW |
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 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 // Binds a new media remoter service to |request|, if supported by the | 791 // Binds a new media remoter service to |request|, if supported by the |
792 // embedder, for the |source| that lives in the render frame represented | 792 // embedder, for the |source| that lives in the render frame represented |
793 // by |render_frame_host|. This may be called multiple times if there is more | 793 // by |render_frame_host|. This may be called multiple times if there is more |
794 // than one source candidate in the same render frame. | 794 // than one source candidate in the same render frame. |
795 virtual void CreateMediaRemoter(RenderFrameHost* render_frame_host, | 795 virtual void CreateMediaRemoter(RenderFrameHost* render_frame_host, |
796 media::mojom::RemotingSourcePtr source, | 796 media::mojom::RemotingSourcePtr source, |
797 media::mojom::RemoterRequest request) {} | 797 media::mojom::RemoterRequest request) {} |
798 | 798 |
799 // Returns the RapporService from the browser process. | 799 // Returns the RapporService from the browser process. |
800 virtual ::rappor::RapporService* GetRapporService(); | 800 virtual ::rappor::RapporService* GetRapporService(); |
| 801 |
| 802 // If this returns true, all BrowserThreads (but UI/IO) that support it on |
| 803 // this platform will experimentally be redirected to TaskScheduler. |
| 804 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler(); |
801 }; | 805 }; |
802 | 806 |
803 } // namespace content | 807 } // namespace content |
804 | 808 |
805 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 809 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |