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

Unified Diff: chrome/browser/printing/cloud_print/cloud_print_consts.cc

Issue 1566047: First cut of Cloud Print Proxy implementation. The code is not enabled for no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Final review changes Created 10 years, 8 months 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
Index: chrome/browser/printing/cloud_print/cloud_print_consts.cc
===================================================================
--- chrome/browser/printing/cloud_print/cloud_print_consts.cc (revision 0)
+++ chrome/browser/printing/cloud_print/cloud_print_consts.cc (revision 0)
@@ -0,0 +1,30 @@
+// Copyright (c) 2010 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.
+
+// Constant defines used in the cloud print proxy code
+
+#include "chrome/browser/printing/cloud_print/cloud_print_consts.h"
+
+const char kProxyIdValue[] = "proxy";
+const char kPrinterNameValue[] = "printer";
+const char kPrinterDescValue[] = "description";
+const char kPrinterCapsValue[] = "capabilities";
+const char kPrinterDefaultsValue[] = "defaults";
+const char kPrinterStatusValue[] = "status";
+
+// Values in the respone JSON from the cloud print server
+const wchar_t kPrinterListValue[] = L"printers";
+const wchar_t kSuccessValue[] = L"success";
+const wchar_t kNameValue[] = L"name";
+const wchar_t kIdValue[] = L"id";
+const wchar_t kTicketUrlValue[] = L"ticketUrl";
+const wchar_t kFileUrlValue[] = L"fileUrl";
+const wchar_t kJobListValue[] = L"jobs";
+const wchar_t kTitleValue[] = L"title";
+const wchar_t kPrinterCapsHashValue[] = L"capsHash";
+
+// TODO(sanjeevr): Change this to a real one. Also read this from prefs instead
+// of hardcoding.
+const char kCloudPrintServerUrl[] = "https://<TBD>";
+
Property changes on: chrome\browser\printing\cloud_print\cloud_print_consts.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/printing/cloud_print/cloud_print_consts.h ('k') | chrome/browser/printing/cloud_print/cloud_print_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698