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

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

Issue 7104074: Attempt at fixing crash. It looks like the printing code can delete (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another comment tweak Created 9 years, 6 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
« no previous file with comments | « chrome/browser/ui/tab_contents/tab_contents_wrapper.cc ('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) 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 CONTENT_COMMON_NOTIFICATION_TYPE_H_ 5 #ifndef CONTENT_COMMON_NOTIFICATION_TYPE_H_
6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_ 6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_
7 #pragma once 7 #pragma once
8 8
9 // This file describes various types used to describe and filter notifications 9 // This file describes various types used to describe and filter notifications
10 // that pass through the NotificationService. 10 // that pass through the NotificationService.
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 GOOGLE_URL_UPDATED, 785 GOOGLE_URL_UPDATED,
786 786
787 // Printing ---------------------------------------------------------------- 787 // Printing ----------------------------------------------------------------
788 788
789 // Notification from PrintJob that an event occured. It can be that a page 789 // Notification from PrintJob that an event occured. It can be that a page
790 // finished printing or that the print job failed. Details is 790 // finished printing or that the print job failed. Details is
791 // PrintJob::EventDetails. Source is a PrintJob. 791 // PrintJob::EventDetails. Source is a PrintJob.
792 PRINT_JOB_EVENT, 792 PRINT_JOB_EVENT,
793 793
794 // Sent when a PrintJob has been released. 794 // Sent when a PrintJob has been released.
795 // Source is the TabContents that holds the print job. 795 // Source is the TabContentsWrapper that holds the print job.
796 PRINT_JOB_RELEASED, 796 PRINT_JOB_RELEASED,
797 797
798 // Shutdown ---------------------------------------------------------------- 798 // Shutdown ----------------------------------------------------------------
799 799
800 // Sent on the browser IO thread when an net::URLRequestContext is released 800 // Sent on the browser IO thread when an net::URLRequestContext is released
801 // by its owning Profile. The source is a pointer to the 801 // by its owning Profile. The source is a pointer to the
802 // net::URLRequestContext. 802 // net::URLRequestContext.
803 URL_REQUEST_CONTEXT_RELEASED, 803 URL_REQUEST_CONTEXT_RELEASED,
804 804
805 // Sent when WM_ENDSESSION has been received, after the browsers have been 805 // Sent when WM_ENDSESSION has been received, after the browsers have been
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
1335 }; 1335 };
1336 1336
1337 inline bool operator==(NotificationType::Type a, NotificationType b) { 1337 inline bool operator==(NotificationType::Type a, NotificationType b) {
1338 return a == b.value; 1338 return a == b.value;
1339 } 1339 }
1340 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1340 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1341 return a != b.value; 1341 return a != b.value;
1342 } 1342 }
1343 1343
1344 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ 1344 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/tab_contents/tab_contents_wrapper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698