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

Side by Side Diff: chrome/common/chrome_notification_types.h

Issue 7383012: Start and stop the safe browsing service depending on whether any profile is using it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added test, simplified threading issue Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/common/content_notification_types.h" 9 #include "content/common/content_notification_types.h"
10 10
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 // Sent by history when the favicon of a URL changes. The source is the 267 // Sent by history when the favicon of a URL changes. The source is the
268 // profile, and the details is history::FaviconChangeDetails (see 268 // profile, and the details is history::FaviconChangeDetails (see
269 // history_notifications.h). 269 // history_notifications.h).
270 NOTIFICATION_FAVICON_CHANGED, 270 NOTIFICATION_FAVICON_CHANGED,
271 271
272 // Sent by FaviconTabHelper when a tab's favicon has been successfully 272 // Sent by FaviconTabHelper when a tab's favicon has been successfully
273 // updated. 273 // updated.
274 NOTIFICATION_FAVICON_UPDATED, 274 NOTIFICATION_FAVICON_UPDATED,
275 275
276 // Sent after a regular profile has been created. The details are none
277 // and the source is the new profile.
278 NOTIFICATION_PROFILE_CREATED,
279
276 // Sent after an incognito profile has been created. The details are none 280 // Sent after an incognito profile has been created. The details are none
277 // and the source is the new profile. 281 // and the source is the new profile.
278 NOTIFICATION_OTR_PROFILE_CREATED, 282 NOTIFICATION_OTR_PROFILE_CREATED,
279 283
280 // Sent before a Profile is destroyed. The details are 284 // Sent before a Profile is destroyed. The details are
281 // none and the source is a Profile*. 285 // none and the source is a Profile*.
282 NOTIFICATION_PROFILE_DESTROYED, 286 NOTIFICATION_PROFILE_DESTROYED,
283 287
284 // TopSites ---------------------------------------------------------------- 288 // TopSites ----------------------------------------------------------------
285 289
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 // Currently only Content and Chrome define and use notifications. 928 // Currently only Content and Chrome define and use notifications.
925 // Custom notifications not belonging to Content and Chrome should start 929 // Custom notifications not belonging to Content and Chrome should start
926 // from here. 930 // from here.
927 NOTIFICATION_CHROME_END, 931 NOTIFICATION_CHROME_END,
928 }; 932 };
929 933
930 } // namespace chrome 934 } // namespace chrome
931 935
932 936
933 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 937 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698