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

Issue 1323443006: [MD settings] pulling in chrome.send for using current pages for on startup pages] (Closed)

Created:
5 years, 3 months ago by dschuyler
Modified:
5 years ago
Reviewers:
Dan Beam
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD settings] pulling in chrome.send for using current pages for on startup pages. This will be used in a near-future CL to set the On Startup URL list settings. BUG=425627 Committed: https://crrev.com/87b67c7e0ad9e29f623d7411eae91f5950e63d73 Cr-Commit-Position: refs/heads/master@{#347026}

Patch Set 1 #

Total comments: 15

Patch Set 2 : review changes #

Total comments: 5

Patch Set 3 : nit changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -0 lines) Patch
M chrome/browser/ui/webui/settings/md_settings_ui.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/settings/settings_startup_pages_handler.h View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
dschuyler
5 years, 3 months ago (2015-09-01 23:37:11 UTC) #2
Dan Beam
this generally looks good to me, but where is the code that uses this handler? ...
5 years, 3 months ago (2015-09-02 07:31:23 UTC) #3
dschuyler
The code is used in another pending change I have, but I'm trying to keep ...
5 years, 3 months ago (2015-09-02 19:38:21 UTC) #4
Dan Beam
lgtm https://codereview.chromium.org/1323443006/diff/20001/chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc File chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc (right): https://codereview.chromium.org/1323443006/diff/20001/chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc#newcode33 chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc:33: base::DictionaryValue* entry = new base::DictionaryValue(); nit: use scoped_ptr<> ...
5 years, 3 months ago (2015-09-02 19:43:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1323443006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1323443006/40001
5 years, 3 months ago (2015-09-02 20:40:20 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 3 months ago (2015-09-02 21:18:33 UTC) #9
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/87b67c7e0ad9e29f623d7411eae91f5950e63d73 Cr-Commit-Position: refs/heads/master@{#347026}
5 years, 3 months ago (2015-09-02 21:19:17 UTC) #10
Dan Beam
5 years ago (2015-12-02 02:07:20 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/1323443006/diff/1/chrome/browser/ui/webui/set...
File chrome/browser/ui/webui/settings/startup_pages_handler.cc (right):

https://codereview.chromium.org/1323443006/diff/1/chrome/browser/ui/webui/set...
chrome/browser/ui/webui/settings/startup_pages_handler.cc:26: if
(Profile::FromWebUI(web_ui())->IsOffTheRecord())
On 2015/09/02 07:31:23, Dan Beam wrote:
> should this be a DCHECK() instead?

no it should not!

Powered by Google App Engine
This is Rietveld 408576698