1 // Copyright 2020 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "pdf/pdf_init.h"
11 bool g_sdk_initialized_via_plugin = false;
15 bool IsSDKInitializedViaPlugin() {
16 return g_sdk_initialized_via_plugin;
19 void SetIsSDKInitializedViaPlugin(bool initialized_via_plugin) {
20 g_sdk_initialized_via_plugin = initialized_via_plugin;
23 } // namespace chrome_pdf