1# Copyright 2021 The PDFium Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4"""PDFium implementation of 5//build/skia_gold_common/skia_gold_session_manager.py.""" 6 7from . import pdfium_skia_gold_session 8from skia_gold_common import skia_gold_session_manager as sgsm 9 10SKIA_PDF_INSTANCE = 'pdfium' 11 12 13class PDFiumSkiaGoldSessionManager(sgsm.SkiaGoldSessionManager): 14 15 @staticmethod 16 def GetSessionClass(): 17 return pdfium_skia_gold_session.PDFiumSkiaGoldSession 18 19 @staticmethod 20 def _GetDefaultInstance(): 21 return SKIA_PDF_INSTANCE 22