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 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 // Returns the AppContainer SID for the specified sandboxed process type, or | 762 // Returns the AppContainer SID for the specified sandboxed process type, or |
763 // empty string if this sandboxed process type does not support living inside | 763 // empty string if this sandboxed process type does not support living inside |
764 // an AppContainer. | 764 // an AppContainer. |
765 virtual base::string16 GetAppContainerSidForSandboxType( | 765 virtual base::string16 GetAppContainerSidForSandboxType( |
766 int sandbox_type) const; | 766 int sandbox_type) const; |
767 #endif | 767 #endif |
768 | 768 |
769 // Returns an instance of MemoryCoordinatorDelegate. | 769 // Returns an instance of MemoryCoordinatorDelegate. |
770 virtual std::unique_ptr<MemoryCoordinatorDelegate> | 770 virtual std::unique_ptr<MemoryCoordinatorDelegate> |
771 GetMemoryCoordinatorDelegate(); | 771 GetMemoryCoordinatorDelegate(); |
| 772 |
| 773 // If this returns true, all BrowserThreads (but UI/IO) that support it on |
| 774 // this platform will experimentally be redirected to TaskScheduler. |
| 775 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler(); |
772 }; | 776 }; |
773 | 777 |
774 } // namespace content | 778 } // namespace content |
775 | 779 |
776 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 780 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |