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

Issue 8387011: Chrome proxy refactoring. (Closed)

Created:
9 years, 2 months ago by gene
Modified:
9 years, 1 month ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Chrome proxy refactoring.Adding myself to the OWNERS file for handling cloud print proxy issues.Split proxy code from cloud_print_proxy_backend to a separate pieces: - auth code goes to cloud_print_auth.h/cc - connector logic goes to cloud_print_connector.h/cc (printer enumeration, registration and deletion) - wiring backend/frontend threads, notifications with other parts will stay in cloud_print_backend.h/ccMade proxy logic more straightforward. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107758

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 4

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Total comments: 6

Patch Set 14 : '' #

Patch Set 15 : '' #

Total comments: 5

Patch Set 16 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1337 lines, -922 lines) Patch
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/service/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -1 line 0 comments Download
A chrome/service/cloud_print/cloud_print_auth.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +114 lines, -0 lines 0 comments Download
A chrome/service/cloud_print/cloud_print_auth.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +205 lines, -0 lines 0 comments Download
A chrome/service/cloud_print/cloud_print_connector.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +187 lines, -0 lines 0 comments Download
A chrome/service/cloud_print/cloud_print_connector.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +551 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_consts.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_consts.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_helpers.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_helpers.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy_backend.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy_backend.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 14 chunks +134 lines, -788 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_token_store.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -6 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_token_store.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_token_store_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -5 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_url_fetcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +12 lines, -1 line 0 comments Download
M chrome/service/cloud_print/cloud_print_url_fetcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +20 lines, -16 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -1 line 0 comments Download
M chrome/service/cloud_print/job_status_updater.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M chrome/service/cloud_print/job_status_updater.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +11 lines, -1 line 0 comments Download
M chrome/service/cloud_print/printer_job_handler.h View 1 2 3 4 5 6 7 8 9 10 6 chunks +12 lines, -21 lines 0 comments Download
M chrome/service/cloud_print/printer_job_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 20 chunks +43 lines, -77 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
gene
9 years, 2 months ago (2011-10-25 00:22:51 UTC) #1
Albert Bodenhamer
Just getting started but here are a few initial comments. I'll do the rest tomorrow. ...
9 years, 2 months ago (2011-10-25 01:17:28 UTC) #2
gene1
Done. Please take a look. I've moved treading comment to the cloud_print_proxy_backend.cc, where it dchecks ...
9 years, 2 months ago (2011-10-25 01:52:56 UTC) #3
Albert Bodenhamer
http://codereview.chromium.org/8387011/diff/8005/chrome/service/cloud_print/cloud_print_auth.cc File chrome/service/cloud_print/cloud_print_auth.cc (right): http://codereview.chromium.org/8387011/diff/8005/chrome/service/cloud_print/cloud_print_auth.cc#newcode41 chrome/service/cloud_print/cloud_print_auth.cc:41: VLOG(1) << "CP_AUTH: Authenticating with LSID"; Add comment explaining ...
9 years, 1 month ago (2011-10-26 23:58:09 UTC) #4
gene1
Done. Please take a look. some comment inline :) On Wed, Oct 26, 2011 at ...
9 years, 1 month ago (2011-10-27 00:27:23 UTC) #5
Albert Bodenhamer
LGTM with one concern The word "proxy" is still used in many places, mostly in ...
9 years, 1 month ago (2011-10-27 15:21:40 UTC) #6
gene1
Thanks! I am going to replace proxy with connector in all log strings to make ...
9 years, 1 month ago (2011-10-27 18:37:09 UTC) #7
Albert Bodenhamer
LGTM On Thu, Oct 27, 2011 at 11:37 AM, Gene Gutnik <gene@google.com> wrote: > Thanks! ...
9 years, 1 month ago (2011-10-27 18:38:03 UTC) #8
gene1
Scott, Do you mind taking a look? I need lgtm from somebody from the OWNERS ...
9 years, 1 month ago (2011-10-27 18:42:11 UTC) #9
Scott Byer
Some spelling errors to fix. http://codereview.chromium.org/8387011/diff/25001/chrome/service/cloud_print/cloud_print_connector.cc File chrome/service/cloud_print/cloud_print_connector.cc (right): http://codereview.chromium.org/8387011/diff/25001/chrome/service/cloud_print/cloud_print_connector.cc#newcode41 chrome/service/cloud_print/cloud_print_connector.cc:41: pedning_tasks_.clear(); spelling: pending_tasks http://codereview.chromium.org/8387011/diff/25001/chrome/service/cloud_print/cloud_print_connector.cc#newcode358 ...
9 years, 1 month ago (2011-10-27 22:22:50 UTC) #10
gene1
Thanks, done. On Thu, Oct 27, 2011 at 3:22 PM, <scottbyer@chromium.org> wrote: > Some spelling ...
9 years, 1 month ago (2011-10-27 22:33:08 UTC) #11
Scott Byer
9 years, 1 month ago (2011-10-27 22:35:44 UTC) #12
lgtm

Powered by Google App Engine
This is Rietveld 408576698