1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pdf / pdf_init.cc [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "pdf/pdf_init.h"
namespace chrome_pdf {
namespace {
bool g_sdk_initialized_via_plugin = false;
} // namespace
bool IsSDKInitializedViaPlugin() {
return g_sdk_initialized_via_plugin;
}
void SetIsSDKInitializedViaPlugin(bool initialized_via_plugin) {
g_sdk_initialized_via_plugin = initialized_via_plugin;
}
} // namespace chrome_pdf