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

Issue 7383012: Start and stop the safe browsing service depending on whether any profile is using it. (Closed)

Created:
9 years, 5 months ago by Joao da Silva
Modified:
9 years, 5 months ago
CC:
chromium-reviews, rginda+watch_chromium.org, achuith+watch_chromium.org
Visibility:
Public.

Description

Start and stop the safe browsing service depending on whether any profile is using it. It is currently always running, even if no profiles uses it. BUG=88661 TEST=Safe browsing should still work as intended. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92993

Patch Set 1 #

Patch Set 2 : Added test, simplified threading issue #

Total comments: 4

Patch Set 3 : Reviewed, rebased #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -37 lines) Patch
M chrome/browser/profiles/profile_impl.cc View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.h View 1 5 chunks +21 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 8 chunks +98 lines, -20 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc View 1 4 chunks +68 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/common/chrome_notification_types.h View 1 2 1 chunk +8 lines, -6 lines 0 comments Download
M chrome/test/testing_profile.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Joao da Silva
@mirandac: here's a fix, as we discussed. Please review profiles/ in particular, thanks! @shess: please ...
9 years, 5 months ago (2011-07-15 18:21:56 UTC) #1
Miranda Callahan
LGTM for profiles (the other stuff looks good, but Scott should look more closely as ...
9 years, 5 months ago (2011-07-15 18:45:44 UTC) #2
Scott Hess - ex-Googler
LGTM. http://codereview.chromium.org/7383012/diff/2001/chrome/browser/safe_browsing/safe_browsing_service.cc File chrome/browser/safe_browsing/safe_browsing_service.cc (right): http://codereview.chromium.org/7383012/diff/2001/chrome/browser/safe_browsing/safe_browsing_service.cc#newcode1223 chrome/browser/safe_browsing/safe_browsing_service.cc:1223: std::string* pref; Can these not be declared inline ...
9 years, 5 months ago (2011-07-15 20:58:26 UTC) #3
mattm
On 2011/07/15 18:21:56, Joao da Silva wrote: > @mirandac: here's a fix, as we discussed. ...
9 years, 5 months ago (2011-07-15 21:30:50 UTC) #4
Joao da Silva
@shess: please review again the changes to profile created/destroyed notifications. @mattm: this CL was only ...
9 years, 5 months ago (2011-07-18 11:38:32 UTC) #5
Scott Hess - ex-Googler
LGTM. Sending created/destroyed the same in all cases seems pretty reasonable.
9 years, 5 months ago (2011-07-18 20:25:50 UTC) #6
commit-bot: I haz the power
9 years, 5 months ago (2011-07-19 09:40:22 UTC) #7
Change committed as 92993

Powered by Google App Engine
This is Rietveld 408576698