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

Issue 10409068: Use browser::ShowWebDialog() directly in MobileSetup rather than using BrowserList. (Closed)

Created:
8 years, 7 months ago by Ben Goodger (Google)
Modified:
8 years, 7 months ago
Reviewers:
Nikita (slow), zel
CC:
chromium-reviews, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Use browser::ShowWebDialog() directly in MobileSetup rather than using BrowserList. http://crbug.com/129187 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138355

Patch Set 1 : #

Total comments: 3

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -6 lines) Patch
M chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc View 1 2 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Ben Goodger (Google)
http://codereview.chromium.org/10409068/diff/3001/chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc File chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc (right): http://codereview.chromium.org/10409068/diff/3001/chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc#newcode76 chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc:76: ProfileManager::GetDefaultProfileOrOffTheRecord(), Is this how you get the active profile ...
8 years, 7 months ago (2012-05-22 17:58:30 UTC) #1
zel
lgtm http://codereview.chromium.org/10409068/diff/3001/chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc File chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc (right): http://codereview.chromium.org/10409068/diff/3001/chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc#newcode76 chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc:76: ProfileManager::GetDefaultProfileOrOffTheRecord(), On 2012/05/22 17:58:30, Ben Goodger (Google) wrote: ...
8 years, 7 months ago (2012-05-22 18:02:32 UTC) #2
Ben Goodger (Google)
Thanks. sky told me that the "or off the record" variant would return you an ...
8 years, 7 months ago (2012-05-22 18:04:15 UTC) #3
Nikita (slow)
8 years, 7 months ago (2012-05-23 19:01:20 UTC) #4
http://codereview.chromium.org/10409068/diff/3001/chrome/browser/ui/webui/chr...
File chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc (right):

http://codereview.chromium.org/10409068/diff/3001/chrome/browser/ui/webui/chr...
chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc:76:
ProfileManager::GetDefaultProfileOrOffTheRecord(),
On 2012/05/22 18:02:32, zel wrote:
> On 2012/05/22 17:58:30, Ben Goodger (Google) wrote:
> > Is this how you get the active profile on cros?
> 
> I think so, even though GetDefaultProfileOrOffTheRecord() method seems new to
> me. ProfileManager::GetDefaultProfile() used to give you default or offline
> profile depending on login state.

This is an ugly hack that we're planning to get rid of:
http://code.google.com/p/chromium/issues/detail?id=128520

Powered by Google App Engine
This is Rietveld 408576698