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

Issue 9691032: Use OffTheRecord profile in case of GuestLogin for AppList. (Closed)

Created:
8 years, 9 months ago by Jun Mukai
Modified:
8 years, 9 months ago
CC:
chromium-reviews, dhollowa+watch_chromium.org, sadrul, ben+watch_chromium.org, Denis Kuznetsov (DE-MUC)
Visibility:
Public.

Description

Use OffTheRecord profile in case of GuestLogin for AppList. BUG=117915 TEST=manually Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=128129

Patch Set 1 #

Total comments: 2

Patch Set 2 : add todo comment #

Patch Set 3 : move code to profile_manager #

Patch Set 4 : add a missing #include #

Patch Set 5 : back to patchset 2 #

Patch Set 6 : fix #

Total comments: 4

Patch Set 7 : Add ProfileManager's method #

Total comments: 2

Patch Set 8 : add a TODO comment #

Patch Set 9 : change the TODO assignment #

Total comments: 2

Patch Set 10 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -9 lines) Patch
M chrome/browser/profiles/profile_manager.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 6 7 8 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -8 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
Jun Mukai
8 years, 9 months ago (2012-03-13 06:30:55 UTC) #1
sky
http://codereview.chromium.org/9691032/diff/1/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc File chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc (right): http://codereview.chromium.org/9691032/diff/1/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc#newcode26 chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc:26: if (chromeos::UserManager::Get()->IsLoggedInAsGuest()) I think you need the same logic ...
8 years, 9 months ago (2012-03-13 16:04:11 UTC) #2
xiyuan
http://codereview.chromium.org/9691032/diff/1/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc File chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc (right): http://codereview.chromium.org/9691032/diff/1/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc#newcode26 chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc:26: if (chromeos::UserManager::Get()->IsLoggedInAsGuest()) On 2012/03/13 16:04:12, sky wrote: > I ...
8 years, 9 months ago (2012-03-13 17:22:02 UTC) #3
sky
On Tue, Mar 13, 2012 at 10:22 AM, <xiyuan@chromium.org> wrote: > > http://codereview.chromium.org/9691032/diff/1/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc > File ...
8 years, 9 months ago (2012-03-13 17:43:18 UTC) #4
Nikita (slow)
On 2012/03/13 17:43:18, sky wrote: > On Tue, Mar 13, 2012 at 10:22 AM, <mailto:xiyuan@chromium.org> ...
8 years, 9 months ago (2012-03-15 10:39:12 UTC) #5
Jun Mukai
On 2012/03/15 10:39:12, Nikita Kostylev wrote: > On 2012/03/13 17:43:18, sky wrote: > > On ...
8 years, 9 months ago (2012-03-15 11:08:51 UTC) #6
Nikita (slow)
lgtm but please run trybots Is Guest mode working fine with this fix?
8 years, 9 months ago (2012-03-15 11:13:50 UTC) #7
Jun Mukai
On 2012/03/15 11:13:50, Nikita Kostylev wrote: > lgtm but please run trybots > Is Guest ...
8 years, 9 months ago (2012-03-15 11:33:17 UTC) #8
Nikita (slow)
On 2012/03/15 11:33:17, mukai wrote: > On 2012/03/15 11:13:50, Nikita Kostylev wrote: > > lgtm ...
8 years, 9 months ago (2012-03-15 11:42:51 UTC) #9
Jun Mukai
On 2012/03/15 11:42:51, Nikita Kostylev wrote: > On 2012/03/15 11:33:17, mukai wrote: > > On ...
8 years, 9 months ago (2012-03-15 11:53:33 UTC) #10
Jun Mukai
On 2012/03/15 11:53:33, mukai wrote: > On 2012/03/15 11:42:51, Nikita Kostylev wrote: > > On ...
8 years, 9 months ago (2012-03-15 12:08:16 UTC) #11
Nikita (slow)
http://codereview.chromium.org/9691032/diff/11001/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc File chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc (right): http://codereview.chromium.org/9691032/diff/11001/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc#newcode30 chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc:30: AppListModelBuilder builder(profile, model); This results in calling BrowserList::GetLastActiveWithProfile(). Seems ...
8 years, 9 months ago (2012-03-15 12:11:29 UTC) #12
xiyuan
On 2012/03/15 12:08:16, mukai wrote: > On 2012/03/15 11:53:33, mukai wrote: > > On 2012/03/15 ...
8 years, 9 months ago (2012-03-15 16:41:10 UTC) #13
sky
http://codereview.chromium.org/9691032/diff/11001/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc File chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc (right): http://codereview.chromium.org/9691032/diff/11001/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc#newcode27 chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc:27: if (chromeos::UserManager::Get()->IsLoggedInAsGuest()) Can you use the same code as ...
8 years, 9 months ago (2012-03-15 16:49:45 UTC) #14
Jun Mukai
On 2012/03/15 16:41:10, xiyuan wrote: > On 2012/03/15 12:08:16, mukai wrote: > > On 2012/03/15 ...
8 years, 9 months ago (2012-03-15 16:50:14 UTC) #15
Jun Mukai
http://codereview.chromium.org/9691032/diff/11001/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc File chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc (right): http://codereview.chromium.org/9691032/diff/11001/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc#newcode27 chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc:27: if (chromeos::UserManager::Get()->IsLoggedInAsGuest()) On 2012/03/15 16:49:45, sky wrote: > Can ...
8 years, 9 months ago (2012-03-19 10:38:09 UTC) #16
Nikita (slow)
lgtm http://codereview.chromium.org/9691032/diff/13001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): http://codereview.chromium.org/9691032/diff/13001/chrome/browser/profiles/profile_manager.cc#newcode187 chrome/browser/profiles/profile_manager.cc:187: Profile* ProfileManager::GetDefaultProfileOrOffTheRecord() { I see this method as ...
8 years, 9 months ago (2012-03-19 10:50:46 UTC) #17
Jun Mukai
http://codereview.chromium.org/9691032/diff/13001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): http://codereview.chromium.org/9691032/diff/13001/chrome/browser/profiles/profile_manager.cc#newcode187 chrome/browser/profiles/profile_manager.cc:187: Profile* ProfileManager::GetDefaultProfileOrOffTheRecord() { On 2012/03/19 10:50:46, Nikita Kostylev wrote: ...
8 years, 9 months ago (2012-03-19 11:00:59 UTC) #18
sky
http://codereview.chromium.org/9691032/diff/17002/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc File chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc (right): http://codereview.chromium.org/9691032/diff/17002/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc#newcode522 chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc:522: if (browser_defaults::kAlwaysOpenIncognitoWindow && Do we need 522-526 anymore? Isn't ...
8 years, 9 months ago (2012-03-19 15:29:28 UTC) #19
Jun Mukai
http://codereview.chromium.org/9691032/diff/17002/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc File chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc (right): http://codereview.chromium.org/9691032/diff/17002/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc#newcode522 chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc:522: if (browser_defaults::kAlwaysOpenIncognitoWindow && On 2012/03/19 15:29:28, sky wrote: > ...
8 years, 9 months ago (2012-03-20 04:36:07 UTC) #20
sky
LGTM
8 years, 9 months ago (2012-03-20 15:32:08 UTC) #21
xiyuan
lgtm
8 years, 9 months ago (2012-03-20 16:07:40 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/9691032/22002
8 years, 9 months ago (2012-03-21 00:49:17 UTC) #23
commit-bot: I haz the power
Presubmit check for 9691032-22002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 9 months ago (2012-03-21 00:49:21 UTC) #24
Jun Mukai
davemoore, could you have a look at this CL? I need your approval...
8 years, 9 months ago (2012-03-21 00:56:54 UTC) #25
DaveMoore
8 years, 9 months ago (2012-03-22 00:47:14 UTC) #26
lgtm

Powered by Google App Engine
This is Rietveld 408576698