fixup! [M120 Migration][NaCl][PPFWK] Upgradable pepper plugin requirement
[platform/framework/web/chromium-efl.git] / pdf / pdf_init.cc
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.
4
5 #include "pdf/pdf_init.h"
6
7 namespace chrome_pdf {
8
9 namespace {
10
11 bool g_sdk_initialized_via_plugin = false;
12
13 }  // namespace
14
15 bool IsSDKInitializedViaPlugin() {
16   return g_sdk_initialized_via_plugin;
17 }
18
19 void SetIsSDKInitializedViaPlugin(bool initialized_via_plugin) {
20   g_sdk_initialized_via_plugin = initialized_via_plugin;
21 }
22
23 }  // namespace chrome_pdf