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

Issue 412007: Add extensions BookmarkModel observer automatically when manifest has bookmarks permission. (Closed)

Created:
11 years, 1 month ago by mattm
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add extensions BookmarkModel observer automatically when manifest has bookmarks permission. BUG=28136 TEST=see bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=32594

Patch Set 1 #

Total comments: 1

Patch Set 2 : remove extraneous event_router->Observe #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M chrome/browser/extensions/extension_bookmarks_module.cc View 1 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
mattm
I left the existing stuff with BookmarksFunction checking the loaded status since it seems necessary ...
11 years, 1 month ago (2009-11-20 01:39:15 UTC) #1
Erik does not do reviews
11 years, 1 month ago (2009-11-20 01:47:31 UTC) #2
otherwise, LGTM

http://codereview.chromium.org/412007/diff/1/2
File chrome/browser/extensions/extension_bookmarks_module.cc (right):

http://codereview.chromium.org/412007/diff/1/2#newcode114
Line 114: event_router->Observe(model);
These two lines are no longer needed.  for a bookmark API function to be run
successfully, it would have had to have had bookmarks permissions.

Powered by Google App Engine
This is Rietveld 408576698