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

Issue 2468063003: Initial hookup of PpdProvider. (Closed)

Created:
4 years, 1 month ago by Carlson
Modified:
4 years, 1 month ago
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, oshima+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Initial hookup of PpdProvider. Adds machinery for creating the provider, and APIs for getting available manufacturer/models. These still need to be hooked up on the javascript side. BUG=617254 Committed: https://crrev.com/f256972e7229d0d1827392bd7d03bd71971ddb52 Cr-Commit-Position: refs/heads/master@{#429780}

Patch Set 1 #

Patch Set 2 : Fix callback name bug. #

Total comments: 6

Patch Set 3 : Convert to ResolveJavascriptCallback, address xdai comments. #

Total comments: 4

Patch Set 4 : Address skau comments #

Patch Set 5 : Remove unused variable #

Total comments: 2

Patch Set 6 : string -> const string& #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -5 lines) Patch
M chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h View 1 2 3 4 5 4 chunks +32 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc View 1 2 3 4 5 5 chunks +84 lines, -2 lines 0 comments Download
M chrome/common/chrome_paths.h View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/common/chrome_paths.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (20 generated)
Carlson
Daisy, Sean, can you look this over for general sanity? It's the first steps to ...
4 years, 1 month ago (2016-11-02 20:26:31 UTC) #3
xdai1
On 2016/11/02 20:26:31, Carlson wrote: > Daisy, Sean, can you look this over for general ...
4 years, 1 month ago (2016-11-02 21:51:51 UTC) #4
xdai1
oops, forgot to send the review comments. https://codereview.chromium.org/2468063003/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h (right): https://codereview.chromium.org/2468063003/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h#newcode57 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h:57: // result, ...
4 years, 1 month ago (2016-11-02 21:52:32 UTC) #5
Carlson
Thanks for the ResolveJavascriptCallback pointer, converted to use that. https://codereview.chromium.org/2468063003/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h (right): https://codereview.chromium.org/2468063003/diff/20001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h#newcode57 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h:57: ...
4 years, 1 month ago (2016-11-02 22:32:49 UTC) #6
xdai1
lgtm
4 years, 1 month ago (2016-11-02 22:49:04 UTC) #7
skau
In order to test this, we can write browser tests but it's difficult to do ...
4 years, 1 month ago (2016-11-02 23:20:13 UTC) #8
Carlson
I don't think I need to do js in this change, it can be added ...
4 years, 1 month ago (2016-11-02 23:27:44 UTC) #9
Carlson
https://codereview.chromium.org/2468063003/diff/40001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc (right): https://codereview.chromium.org/2468063003/diff/40001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc#newcode252 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc:252: base::Unretained(this), js_callback)); On 2016/11/02 23:20:13, skau wrote: > Get ...
4 years, 1 month ago (2016-11-02 23:28:56 UTC) #10
xdai1
On 2016/11/02 23:27:44, Carlson wrote: > I don't think I need to do js in ...
4 years, 1 month ago (2016-11-02 23:31:15 UTC) #11
skau
On 2016/11/02 23:27:44, Carlson wrote: > I don't think I need to do js in ...
4 years, 1 month ago (2016-11-02 23:34:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2468063003/80001
4 years, 1 month ago (2016-11-03 21:01:34 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/296332)
4 years, 1 month ago (2016-11-03 21:11:40 UTC) #21
Carlson
On 2016/11/03 21:11:40, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 1 month ago (2016-11-03 21:28:12 UTC) #22
xdai1
On 2016/11/03 21:28:12, Carlson wrote: > On 2016/11/03 21:11:40, commit-bot: I haz the power wrote: ...
4 years, 1 month ago (2016-11-03 21:29:44 UTC) #23
xdai1
On 2016/11/03 21:29:44, xdai1 wrote: > On 2016/11/03 21:28:12, Carlson wrote: > > On 2016/11/03 ...
4 years, 1 month ago (2016-11-03 21:31:27 UTC) #24
justincarlson
On 2016/11/03 21:31:27, xdai1 wrote: > On 2016/11/03 21:29:44, xdai1 wrote: > > On 2016/11/03 ...
4 years, 1 month ago (2016-11-03 21:34:47 UTC) #25
Carlson
Lei, are you good for reviewing this? You know the library better than anyone else ...
4 years, 1 month ago (2016-11-03 21:37:31 UTC) #27
Lei Zhang
lgtm https://codereview.chromium.org/2468063003/diff/80001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h (right): https://codereview.chromium.org/2468063003/diff/80001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h#newcode70 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h:70: std::string js_callback, Pass by const ref? Also line ...
4 years, 1 month ago (2016-11-03 22:17:47 UTC) #28
Carlson
Thanks for the quick review. https://codereview.chromium.org/2468063003/diff/80001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h (right): https://codereview.chromium.org/2468063003/diff/80001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h#newcode70 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h:70: std::string js_callback, On 2016/11/03 ...
4 years, 1 month ago (2016-11-03 23:22:40 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2468063003/100001
4 years, 1 month ago (2016-11-03 23:24:15 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/310776)
4 years, 1 month ago (2016-11-04 01:23:38 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2468063003/100001
4 years, 1 month ago (2016-11-04 04:24:31 UTC) #40
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-04 04:30:22 UTC) #42
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 04:34:25 UTC) #44
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f256972e7229d0d1827392bd7d03bd71971ddb52
Cr-Commit-Position: refs/heads/master@{#429780}

Powered by Google App Engine
This is Rietveld 408576698