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

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: rebased 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 an incognito profile has been created. The details are none 276 // Sent after a Profile has been created. This notification is sent both for
277 // and the source is the new profile. 277 // normal and OTR profiles.
278 NOTIFICATION_OTR_PROFILE_CREATED, 278 // The details are none and the source is the new profile.
279 NOTIFICATION_PROFILE_CREATED,
279 280
280 // Sent before a Profile is destroyed. The details are 281 // Sent before a Profile is destroyed. This notification is sent both for
281 // none and the source is a Profile*. 282 // normal and OTR profiles.
283 // The details are none and the source is a Profile*.
282 NOTIFICATION_PROFILE_DESTROYED, 284 NOTIFICATION_PROFILE_DESTROYED,
283 285
284 // TopSites ---------------------------------------------------------------- 286 // TopSites ----------------------------------------------------------------
285 287
286 // Sent by TopSites when it finishes loading. The source is the profile the 288 // Sent by TopSites when it finishes loading. The source is the profile the
287 // details the TopSites. 289 // details the TopSites.
288 NOTIFICATION_TOP_SITES_LOADED, 290 NOTIFICATION_TOP_SITES_LOADED,
289 291
290 // Sent by TopSites when it has finished updating its most visited URLs 292 // Sent by TopSites when it has finished updating its most visited URLs
291 // cache after querying the history service. The source is the TopSites and 293 // cache after querying the history service. The source is the TopSites and
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 // Currently only Content and Chrome define and use notifications. 926 // Currently only Content and Chrome define and use notifications.
925 // Custom notifications not belonging to Content and Chrome should start 927 // Custom notifications not belonging to Content and Chrome should start
926 // from here. 928 // from here.
927 NOTIFICATION_CHROME_END, 929 NOTIFICATION_CHROME_END,
928 }; 930 };
929 931
930 } // namespace chrome 932 } // namespace chrome
931 933
932 934
933 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 935 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/content_settings_handler.cc ('k') | chrome/test/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698