Index: components/pdf/renderer/pdf_resource_util.h |
diff --git a/components/pdf/renderer/pdf_resource_util.h b/components/pdf/renderer/pdf_resource_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aab8a1cf47c45ff3685a6a7a5f60f570f4984aff |
--- /dev/null |
+++ b/components/pdf/renderer/pdf_resource_util.h |
@@ -0,0 +1,24 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_ |
+#define COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_ |
+ |
+#include <string> |
+ |
+#include "ppapi/c/private/ppb_pdf.h" |
+ |
+namespace gfx { |
+class ImageSkia; |
+} |
+ |
+namespace pdf { |
+ |
+gfx::ImageSkia* GetImageResource(PP_ResourceImage image_id); |
+ |
+std::string GetStringResource(PP_ResourceString string_id); |
+ |
+} // namespace pdf |
+ |
+#endif // COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_ |