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

Issue 2232002: Added CUPS options to the printer information. Options get uploaded to the cl... (Closed)

Created:
10 years, 7 months ago by gene
Modified:
9 years, 6 months ago
Reviewers:
sanjeevr, William Hesse
CC:
chromium-reviews
Visibility:
Public.

Description

On behalf of gene@chromium.org. Added CUPS options to the printer information. Options get uploaded to the cloud print server. Also added some logging for cups proxy. BUG=none TEST=Run linux CP proxy and verify that CUPS options gets uploaded to the cloud print server.

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -4 lines) Patch
M chrome/service/cloud_print/cloud_print_consts.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_consts.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy_backend.cc View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/printer_info.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/printer_info_cups.cc View 1 4 chunks +24 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
gene
Added CUPS options to the printer information
10 years, 7 months ago (2010-05-26 00:01:46 UTC) #1
sanjeevr
Some nits and one suggestion. http://codereview.chromium.org/2232002/diff/1/6 File chrome/service/cloud_print/cloud_print_proxy_backend.cc (right): http://codereview.chromium.org/2232002/diff/1/6#newcode383 chrome/service/cloud_print/cloud_print_proxy_backend.cc:383: std::string msg(it->first); Until you ...
10 years, 7 months ago (2010-05-26 03:55:12 UTC) #2
gene
On 2010/05/26 03:55:12, sanjeevr wrote: > Some nits and one suggestion. > > http://codereview.chromium.org/2232002/diff/1/6 > ...
10 years, 7 months ago (2010-05-26 18:19:25 UTC) #3
sanjeevr
http://codereview.chromium.org/2232002/diff/9001/10005 File chrome/service/cloud_print/cloud_print_proxy_backend.cc (right): http://codereview.chromium.org/2232002/diff/9001/10005#newcode385 chrome/service/cloud_print/cloud_print_proxy_backend.cc:385: DCHECK(false); NOTREACHED(); instead of DCHECK(false).
10 years, 7 months ago (2010-05-26 18:32:14 UTC) #4
sanjeevr
On 2010/05/26 18:19:25, gene wrote: > On 2010/05/26 03:55:12, sanjeevr wrote: > > Some nits ...
10 years, 7 months ago (2010-05-26 18:35:42 UTC) #5
gene
Done. Please take a look. On 2010/05/26 18:32:14, sanjeevr wrote: > http://codereview.chromium.org/2232002/diff/9001/10005 > File chrome/service/cloud_print/cloud_print_proxy_backend.cc ...
10 years, 7 months ago (2010-05-26 18:38:26 UTC) #6
gene
On 2010/05/26 18:35:42, sanjeevr wrote: > On 2010/05/26 18:19:25, gene wrote: > > On 2010/05/26 ...
10 years, 7 months ago (2010-05-26 18:39:06 UTC) #7
sanjeevr
LGTM
10 years, 7 months ago (2010-05-26 20:14:55 UTC) #8
William Hesse
This change causes compilation errors on my Linux system. /usr/include/cups only contains driver.h, not cups.h. ...
10 years, 7 months ago (2010-05-28 08:41:47 UTC) #9
William Hesse
OK, I found that somebody else has added the library to the src/build/install-build-deps.sh. So rerunning ...
10 years, 7 months ago (2010-05-28 08:50:54 UTC) #10
gene1
10 years, 7 months ago (2010-05-28 17:32:54 UTC) #11
yes you are correct. I've modified install-build-deps.sh to include cups and
you need to rereun it.
I'll try to update wiki page.

On Fri, May 28, 2010 at 1:50 AM, <whesse@chromium.org> wrote:

> OK, I found that somebody else has added the library to the
> src/build/install-build-deps.sh.  So rerunning that should fix things.  It
> is
> not listed on the Wiki page, though.  Perhaps the page should be changed to
> say
> that install-build-deps.sh is the most up-to-date list of build
> requirements,
> and the lists on the page are outdated.
>
>
> On 2010/05/28 08:41:47, William Hesse wrote:
>
>> This change causes compilation errors on my Linux system.
>>  /usr/include/cups
>> only contains driver.h, not cups.h.
>> If this is an additional dependency upon a new package that has been
>> introduced, I think we need to add it to the Wiki page
>> http://code.google.com/p/chromium/wiki/LinuxBuildInstructionsPrerequisites,
>> as
>>
> a
>
>> software requirement, and update the scripts on that page to automatically
>> install the package.  I just tried installing the package libcupsys2-dev,
>>
> which
>
>> includes cups/cups.h, and rebuilding chrome, and it seems to work.
>>
>
>
>
> http://codereview.chromium.org/2232002/show
>

Powered by Google App Engine
This is Rietveld 408576698