1234567891011121314151617181920212223 |
- // Copyright 2021 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #ifndef PDF_LOADER_RESULT_CODES_H_
- #define PDF_LOADER_RESULT_CODES_H_
- namespace chrome_pdf {
- // TODO(crbug.com/702993): After migrating away from PPAPI, re-evaluate where
- // this enum should live, whether it should become an enum class, and what
- // values it should contain.
- enum Result {
- kSuccess = 0,
- kErrorFailed = -2,
- kErrorAborted = -3,
- kErrorBadArgument = -4,
- kErrorNoAccess = -7,
- };
- } // namespace chrome_pdf
- #endif // PDF_LOADER_RESULT_CODES_H_
|