blob: 05c51319cb2d9af91dc5e2e9c526c00b707bb757 [file] [log] [blame]
Henrique Nakashimafd7edf2a2017-11-29 22:03:491// Copyright 2017 The Chromium Authors. All rights reserved.
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_engine.h"
6
7namespace chrome_pdf {
8
9PDFEngine::PageFeatures::PageFeatures(){};
10
11PDFEngine::PageFeatures::PageFeatures(const PageFeatures& other)
12 : index(other.index), annotation_types(other.annotation_types) {}
13
14PDFEngine::PageFeatures::~PageFeatures(){};
15
16bool PDFEngine::PageFeatures::IsInitialized() const {
17 return index >= 0;
18}
19
20} // namespace chrome_pdf