Format fixes in pdf_features.h and pdf_features.cc.
This CL rearranges the variables in alphabetic order and fix the variable initialization syntax according to Chromium c++ style guide. Change-Id: I30495332713ac938a755999cda6547290070adf8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2031704 Commit-Queue: Hui Yingst <nigi@chromium.org> Reviewed-by: Daniel Hosseinian <dhoss@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#737322}
This commit is contained in:
@ -7,29 +7,27 @@
|
||||
namespace chrome_pdf {
|
||||
namespace features {
|
||||
|
||||
const base::Feature kSaveEditedPDFForm {
|
||||
"SaveEditedPDFForm",
|
||||
const base::Feature kAccessiblePDFHighlight = {
|
||||
"AccessiblePDFHighlight", base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
|
||||
const base::Feature kPDFAnnotations = {"PDFAnnotations",
|
||||
#if defined(OS_CHROMEOS)
|
||||
base::FEATURE_ENABLED_BY_DEFAULT
|
||||
base::FEATURE_ENABLED_BY_DEFAULT
|
||||
#else
|
||||
base::FEATURE_DISABLED_BY_DEFAULT
|
||||
base::FEATURE_DISABLED_BY_DEFAULT
|
||||
#endif // defined(OS_CHROMEOS)
|
||||
};
|
||||
|
||||
const base::Feature kPDFAnnotations {
|
||||
"PDFAnnotations",
|
||||
const base::Feature kPDFTwoUpView = {"PDFTwoUpView",
|
||||
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
|
||||
const base::Feature kSaveEditedPDFForm = {"SaveEditedPDFForm",
|
||||
#if defined(OS_CHROMEOS)
|
||||
base::FEATURE_ENABLED_BY_DEFAULT
|
||||
base::FEATURE_ENABLED_BY_DEFAULT
|
||||
#else
|
||||
base::FEATURE_DISABLED_BY_DEFAULT
|
||||
base::FEATURE_DISABLED_BY_DEFAULT
|
||||
#endif // defined(OS_CHROMEOS)
|
||||
};
|
||||
|
||||
const base::Feature kPDFTwoUpView{"PDFTwoUpView",
|
||||
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
|
||||
const base::Feature kAccessiblePDFHighlight{"AccessiblePDFHighlight",
|
||||
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
|
||||
} // namespace features
|
||||
} // namespace chrome_pdf
|
||||
|
@ -13,10 +13,10 @@
|
||||
namespace chrome_pdf {
|
||||
namespace features {
|
||||
|
||||
extern const base::Feature kSaveEditedPDFForm;
|
||||
extern const base::Feature kAccessiblePDFHighlight;
|
||||
extern const base::Feature kPDFAnnotations;
|
||||
extern const base::Feature kPDFTwoUpView;
|
||||
extern const base::Feature kAccessiblePDFHighlight;
|
||||
extern const base::Feature kSaveEditedPDFForm;
|
||||
|
||||
} // namespace features
|
||||
} // namespace chrome_pdf
|
||||
|
Reference in New Issue
Block a user