Index: content/browser/renderer_host/sandbox_ipc_linux.h |
diff --git a/content/browser/renderer_host/sandbox_ipc_linux.h b/content/browser/renderer_host/sandbox_ipc_linux.h |
index 3d9e98de331ba0d525499f2b1fd1b54f77e4afdb..ba59b8f978ceab8652d830f958475135ebcb19c6 100644 |
--- a/content/browser/renderer_host/sandbox_ipc_linux.h |
+++ b/content/browser/renderer_host/sandbox_ipc_linux.h |
@@ -8,12 +8,15 @@ |
#define CONTENT_BROWSER_RENDERER_HOST_SANDBOX_IPC_LINUX_H_ |
#include <memory> |
+#include <string> |
#include <vector> |
#include "base/files/scoped_file.h" |
#include "base/macros.h" |
#include "base/pickle.h" |
#include "base/threading/simple_thread.h" |
+#include "content/common/content_export.h" |
+#include "third_party/icu/source/common/unicode/uchar.h" |
class SkString; |
@@ -29,6 +32,15 @@ class SandboxIPCHandler : public base::DelegateSimpleThread::Delegate { |
void Run() override; |
+ class TestObserver { |
+ public: |
+ virtual void OnGetFallbackFontForChar(UChar32 c, |
+ std::string name, |
+ int id) = 0; |
+ virtual void OnFontOpen(int id) = 0; |
+ }; |
+ CONTENT_EXPORT static void SetObserverForTests(TestObserver* observer); |
+ |
private: |
int FindOrAddPath(const SkString& path); |