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

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

Issue 160480: Convert parts of SavePage UI tests to more reliable browser tests. (Closed)
Patch Set: Created 11 years, 4 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 // that should be given authentication. 424 // that should be given authentication.
425 AUTH_NEEDED, 425 AUTH_NEEDED,
426 426
427 // This is sent when authentication credentials have been supplied (either 427 // This is sent when authentication credentials have been supplied (either
428 // by the user or by an automation service), but before we've actually 428 // by the user or by an automation service), but before we've actually
429 // received another response from the server. The source is the 429 // received another response from the server. The source is the
430 // Source<NavigationController> for the tab in which the prompt was shown. 430 // Source<NavigationController> for the tab in which the prompt was shown.
431 // No details are expected. 431 // No details are expected.
432 AUTH_SUPPLIED, 432 AUTH_SUPPLIED,
433 433
434 // Downloads ---------------------------------------------------------------
Paul Godavari 2009/07/31 22:11:26 "Saved Pages" instead?
435
436 // Sent when a SavePackage finishes successfully. The source is the
437 // SavePackage, and Details are a GURL containing address of downloaded
438 // page.
439 SAVE_PACKAGE_SUCCESSFULLY_FINISHED,
440
434 // History ----------------------------------------------------------------- 441 // History -----------------------------------------------------------------
435 442
436 // Sent when a history service is created on the main thread. This is sent 443 // Sent when a history service is created on the main thread. This is sent
437 // after history is created, but before it has finished loading. Use 444 // after history is created, but before it has finished loading. Use
438 // HISTORY_LOADED is you need to know when loading has completed. 445 // HISTORY_LOADED is you need to know when loading has completed.
439 // The source is the profile that the history service belongs to, and the 446 // The source is the profile that the history service belongs to, and the
440 // details is the pointer to the newly created HistoryService object. 447 // details is the pointer to the newly created HistoryService object.
441 HISTORY_CREATED, 448 HISTORY_CREATED,
442 449
443 // Sent when a history service has finished loading. The source is the 450 // Sent when a history service has finished loading. The source is the
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 }; 645 };
639 646
640 inline bool operator==(NotificationType::Type a, NotificationType b) { 647 inline bool operator==(NotificationType::Type a, NotificationType b) {
641 return a == b.value; 648 return a == b.value;
642 } 649 }
643 inline bool operator!=(NotificationType::Type a, NotificationType b) { 650 inline bool operator!=(NotificationType::Type a, NotificationType b) {
644 return a != b.value; 651 return a != b.value;
645 } 652 }
646 653
647 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 654 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« chrome/browser/download/save_page_browsertest.cc ('K') | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698