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

Side by Side Diff: chrome/service/cloud_print/cloud_print_consts.cc

Issue 6356007: Added a diagnostic user message when enumerating printers fails. Also tweaked... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Code review changes Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Constant defines used in the cloud print proxy code 5 // Constant defines used in the cloud print proxy code
6 6
7 #include "chrome/service/cloud_print/cloud_print_consts.h" 7 #include "chrome/service/cloud_print/cloud_print_consts.h"
8 8
9 const char kProxyIdValue[] = "proxy"; 9 const char kProxyIdValue[] = "proxy";
10 const char kPrinterNameValue[] = "printer"; 10 const char kPrinterNameValue[] = "printer";
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // Job fetch because we are polling. 50 // Job fetch because we are polling.
51 const char kJobFetchReasonPoll[] = "poll"; 51 const char kJobFetchReasonPoll[] = "poll";
52 // Job fetch on being notified by the server. 52 // Job fetch on being notified by the server.
53 const char kJobFetchReasonNotified[] = "notified"; 53 const char kJobFetchReasonNotified[] = "notified";
54 // Job fetch after a successful print to query for more jobs. 54 // Job fetch after a successful print to query for more jobs.
55 const char kJobFetchReasonQueryMore[] = "querymore"; 55 const char kJobFetchReasonQueryMore[] = "querymore";
56 56
57 // Short message ids for diagnostic messages sent to the server. 57 // Short message ids for diagnostic messages sent to the server.
58 const char kPrintSystemFailedMessageId[] = "printsystemfail"; 58 const char kPrintSystemFailedMessageId[] = "printsystemfail";
59 const char kGetPrinterCapsFailedMessageId[] = "getprncapsfail"; 59 const char kGetPrinterCapsFailedMessageId[] = "getprncapsfail";
60 60 const char kEnumPrintersFailedMessageId[] = "enumfail";
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/cloud_print_consts.h ('k') | chrome/service/cloud_print/cloud_print_proxy_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698