summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-19 09:40:20 +0000
committerjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-19 09:40:20 +0000
commit12463cdc32232367015609e3ee0b78a941ac2369 (patch)
tree6bff5830585a849fd3c21704bd43b928387f5c34 /chrome/common
parente353940295ce88232a58f3452f03825c49ed0d7b (diff)
downloadchromium_src-12463cdc32232367015609e3ee0b78a941ac2369.zip
chromium_src-12463cdc32232367015609e3ee0b78a941ac2369.tar.gz
chromium_src-12463cdc32232367015609e3ee0b78a941ac2369.tar.bz2
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. Review URL: http://codereview.chromium.org/7383012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92993 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/chrome_notification_types.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/chrome/common/chrome_notification_types.h b/chrome/common/chrome_notification_types.h
index e3ed879..00b37ba 100644
--- a/chrome/common/chrome_notification_types.h
+++ b/chrome/common/chrome_notification_types.h
@@ -273,12 +273,14 @@ enum {
// updated.
NOTIFICATION_FAVICON_UPDATED,
- // Sent after an incognito profile has been created. The details are none
- // and the source is the new profile.
- NOTIFICATION_OTR_PROFILE_CREATED,
-
- // Sent before a Profile is destroyed. The details are
- // none and the source is a Profile*.
+ // Sent after a Profile has been created. This notification is sent both for
+ // normal and OTR profiles.
+ // The details are none and the source is the new profile.
+ NOTIFICATION_PROFILE_CREATED,
+
+ // Sent before a Profile is destroyed. This notification is sent both for
+ // normal and OTR profiles.
+ // The details are none and the source is a Profile*.
NOTIFICATION_PROFILE_DESTROYED,
// TopSites ----------------------------------------------------------------