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

Issue 350005: Use the original profile to get the sync service when building the app menu.... (Closed)

Created:
11 years, 1 month ago by tim (not reviewing)
Modified:
9 years, 6 months ago
Reviewers:
idana
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

Use the original profile to get the sync service when building the app menu. BUG=23993 TEST=Open incognito window. Click the bookmark sync button. Either the signin dialog or the options panel should open. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30624

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M chrome/browser/browser.cc View 1 2 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/views/toolbar_view.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
tim (not reviewing)
11 years, 1 month ago (2009-10-30 18:15:40 UTC) #1
ncarter (slow)
Nice fix. On Fri, Oct 30, 2009 at 11:15 AM, <tim@chromium.org> wrote: > > Reviewers: ...
11 years, 1 month ago (2009-10-30 18:25:27 UTC) #2
idana
11 years, 1 month ago (2009-10-30 18:42:48 UTC) #3
LGTM

http://codereview.chromium.org/350005/diff/1003/5
File chrome/browser/browser.cc (right):

http://codereview.chromium.org/350005/diff/1003/5#newcode1208
Line 1208: return;
Since it shouldn't be possible for this function to get called if sync is
disabled, you should probably add a DCHECK().

Powered by Google App Engine
This is Rietveld 408576698