Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(984)

Unified Diff: chromeos/printing/ppd_provider_unittest.cc

Issue 2580973002: Base64-decode encoded ppds from the quirksserver, and update tests. (Closed)
Patch Set: Fix some comments. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/printing/ppd_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/printing/ppd_provider_unittest.cc
diff --git a/chromeos/printing/ppd_provider_unittest.cc b/chromeos/printing/ppd_provider_unittest.cc
index 15d9e814ef1279f9abff74e4921e8474d4eadc2a..c21089fcb208f6ab45d22da615ffc7007e954bd8 100644
--- a/chromeos/printing/ppd_provider_unittest.cc
+++ b/chromeos/printing/ppd_provider_unittest.cc
@@ -27,9 +27,11 @@ const char kTestAPIKey[] = "BOGUSAPIKEY";
const char kLocalPpdUrl[] = "/some/path";
const char kTestManufacturer[] = "Bogus Printer Corp";
const char kTestModel[] = "MegaPrint 9000";
+// The compressedPPD contents here comes from running the command
+// echo -n "This is the quirks ppd" | base64
const char kQuirksResponse[] =
"{\n"
- " \"compressedPpd\": \"This is the quirks ppd\",\n"
+ " \"compressedPpd\": \"VGhpcyBpcyB0aGUgcXVpcmtzIHBwZA==\",\n"
" \"lastUpdatedTime\": \"1\"\n"
"}\n";
const char kQuirksPpd[] = "This is the quirks ppd";
« no previous file with comments | « chromeos/printing/ppd_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698