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

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

Issue 333041: Take 2 at browser_sync::ExtensionsActivityMonitor.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
« no previous file with comments | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_NOTIFICATION_TYPE_H_ 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_
6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_
7 7
8 // This file describes various types used to describe and filter notifications 8 // This file describes various types used to describe and filter notifications
9 // that pass through the NotificationService. 9 // that pass through the NotificationService.
10 // 10 //
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 605
606 // Sent on the browser IO thread when an URLRequestContext is released by 606 // Sent on the browser IO thread when an URLRequestContext is released by
607 // its owning Profile. The source is a pointer to the URLRequestContext. 607 // its owning Profile. The source is a pointer to the URLRequestContext.
608 URL_REQUEST_CONTEXT_RELEASED, 608 URL_REQUEST_CONTEXT_RELEASED,
609 609
610 // Sent when WM_ENDSESSION has been received, after the browsers have been 610 // Sent when WM_ENDSESSION has been received, after the browsers have been
611 // closed but before browser process has been shutdown. The source/details 611 // closed but before browser process has been shutdown. The source/details
612 // are all source and no details. 612 // are all source and no details.
613 SESSION_END, 613 SESSION_END,
614 614
615 // Personalization ---------------------------------------------------------
616
617 PERSONALIZATION,
618 PERSONALIZATION_CREATED,
619
620 // Privacy blacklists ------------------------------------------------------ 615 // Privacy blacklists ------------------------------------------------------
621 616
622 // Sent when a privacy blacklist path provider changes the list of its 617 // Sent when a privacy blacklist path provider changes the list of its
623 // blacklist paths (like adds/removes items). The details are 618 // blacklist paths (like adds/removes items). The details are
624 // a BlacklistPathProvider, and the source is a Profile. 619 // a BlacklistPathProvider, and the source is a Profile.
625 PRIVACY_BLACKLIST_PATH_PROVIDER_UPDATED, 620 PRIVACY_BLACKLIST_PATH_PROVIDER_UPDATED,
626 621
627 // User Scripts ------------------------------------------------------------ 622 // User Scripts ------------------------------------------------------------
628 623
629 // Sent when there are new user scripts available. The details are a 624 // Sent when there are new user scripts available. The details are a
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 702
708 // Sent when a browser action's state has changed. The source is the 703 // Sent when a browser action's state has changed. The source is the
709 // ExtensionAction* that changed. The details are an ExtensionActionState*. 704 // ExtensionAction* that changed. The details are an ExtensionActionState*.
710 EXTENSION_BROWSER_ACTION_UPDATED, 705 EXTENSION_BROWSER_ACTION_UPDATED,
711 706
712 // Sent by an extension to notify the browser about the results of a unit 707 // Sent by an extension to notify the browser about the results of a unit
713 // test. 708 // test.
714 EXTENSION_TEST_PASSED, 709 EXTENSION_TEST_PASSED,
715 EXTENSION_TEST_FAILED, 710 EXTENSION_TEST_FAILED,
716 711
712 // Sent when an bookmarks extensions API function was successfully invoked.
713 // The source is the id of the extension that invoked the function, and the
714 // details are a pointer to the const BookmarksFunction in question.
715 EXTENSION_BOOKMARKS_API_INVOKED,
716
717 // Privacy Blacklist ------------------------------------------------------- 717 // Privacy Blacklist -------------------------------------------------------
718 718
719 // Sent by the resource dispatcher host when a resource is blocked. 719 // Sent by the resource dispatcher host when a resource is blocked.
720 BLACKLIST_BLOCKED_RESOURCE, 720 BLACKLIST_BLOCKED_RESOURCE,
721 721
722 // Debugging --------------------------------------------------------------- 722 // Debugging ---------------------------------------------------------------
723 723
724 // TODO(mpcomplete): Sent to diagnose a bug. Remove when fixed. 724 // TODO(mpcomplete): Sent to diagnose a bug. Remove when fixed.
725 // http://code.google.com/p/chromium/issues/detail?id=21201 725 // http://code.google.com/p/chromium/issues/detail?id=21201
726 EXTENSION_PORT_DELETED_DEBUG, 726 EXTENSION_PORT_DELETED_DEBUG,
(...skipping 17 matching lines...) Expand all
744 }; 744 };
745 745
746 inline bool operator==(NotificationType::Type a, NotificationType b) { 746 inline bool operator==(NotificationType::Type a, NotificationType b) {
747 return a == b.value; 747 return a == b.value;
748 } 748 }
749 inline bool operator!=(NotificationType::Type a, NotificationType b) { 749 inline bool operator!=(NotificationType::Type a, NotificationType b) {
750 return a != b.value; 750 return a != b.value;
751 } 751 }
752 752
753 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 753 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698