Commit 19446194 authored by Sean Kau's avatar Sean Kau Committed by Commit Bot

Update constants in synced printers manager unit test to constexpr

We use constexpr now.

Bug: None
Change-Id: I305ac8ef63c4a5a0d7b789b9e5ec8dd58c860a4f
Reviewed-on: https://chromium-review.googlesource.com/875254Reviewed-by: default avatarXiaoqian Dai <xdai@chromium.org>
Commit-Queue: Sean Kau <skau@chromium.org>
Cr-Commit-Position: refs/heads/master@{#530397}
parent 0294165d
......@@ -29,11 +29,11 @@ namespace chromeos {
namespace {
const char kTestPrinterId[] = "UUID-UUID-UUID-PRINTER";
const char kTestPrinterId2[] = "UUID-UUID-UUID-PRINTR2";
const char kTestUri[] = "ipps://printer.chromium.org/ipp/print";
constexpr char kTestPrinterId[] = "UUID-UUID-UUID-PRINTER";
constexpr char kTestPrinterId2[] = "UUID-UUID-UUID-PRINTR2";
constexpr char kTestUri[] = "ipps://printer.chromium.org/ipp/print";
const char kLexJson[] = R"({
constexpr char kLexJson[] = R"({
"display_name": "LexaPrint",
"description": "Laser on the test shelf",
"manufacturer": "LexaPrint, Inc.",
......@@ -45,7 +45,7 @@ const char kLexJson[] = R"({
},
} )";
const char kColorLaserJson[] = R"json({
constexpr char kColorLaserJson[] = R"json({
"display_name": "Color Laser",
"description": "The printer next to the water cooler.",
"manufacturer": "Printer Manufacturer",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment