notification 44 ash/display/display_error_observer_chromeos.cc scoped_ptr<Notification> notification(new Notification( notification 56 ash/display/display_error_observer_chromeos.cc message_center::MessageCenter::Get()->AddNotification(notification.Pass()); notification 239 ash/display/resolution_notification_controller.cc scoped_ptr<Notification> notification(new Notification( notification 252 ash/display/resolution_notification_controller.cc notification->SetSystemPriority(); notification 253 ash/display/resolution_notification_controller.cc message_center->AddNotification(notification.Pass()); notification 340 ash/shell/window_type_launcher.cc scoped_ptr<message_center::Notification> notification; notification 341 ash/shell/window_type_launcher.cc notification.reset(new message_center::Notification( notification 355 ash/shell/window_type_launcher.cc ->AddNotification(notification.Pass()); notification 292 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc scoped_ptr<Notification> notification(new Notification( notification 307 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc message_center::MessageCenter::Get()->AddNotification(notification.Pass()); notification 326 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc scoped_ptr<Notification> notification(new Notification( notification 339 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc message_center::MessageCenter::Get()->AddNotification(notification.Pass()); notification 354 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc scoped_ptr<Notification> notification(new Notification( notification 367 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc message_center::MessageCenter::Get()->AddNotification(notification.Pass()); notification 80 ash/system/chromeos/managed/tray_locally_managed_user.cc scoped_ptr<Notification> notification( notification 88 ash/system/chromeos/managed/tray_locally_managed_user.cc message_center::MessageCenter::Get()->AddNotification(notification.Pass()); notification 72 ash/system/chromeos/managed/tray_locally_managed_user_unittest.cc message_center::Notification* notification = GetPopup(); notification 73 ash/system/chromeos/managed/tray_locally_managed_user_unittest.cc ASSERT_NE(static_cast<message_center::Notification*>(NULL), notification); notification 75 ash/system/chromeos/managed/tray_locally_managed_user_unittest.cc notification->rich_notification_data().priority); notification 81 ash/system/chromeos/managed/tray_locally_managed_user_unittest.cc message_center::Notification* notification = GetPopup(); notification 82 ash/system/chromeos/managed/tray_locally_managed_user_unittest.cc ASSERT_NE(static_cast<message_center::Notification*>(NULL), notification); notification 84 ash/system/chromeos/managed/tray_locally_managed_user_unittest.cc notification->rich_notification_data().priority); notification 261 ash/system/chromeos/power/tray_power.cc scoped_ptr<Notification> notification(new Notification( notification 274 ash/system/chromeos/power/tray_power.cc message_center_->AddNotification(notification.Pass()); notification 27 ash/system/chromeos/power/tray_power_unittest.cc virtual void AddNotification(scoped_ptr<Notification> notification) OVERRIDE { notification 58 ash/system/chromeos/screen_security/screen_capture_tray_item.cc scoped_ptr<Notification> notification(new Notification( notification 70 ash/system/chromeos/screen_security/screen_capture_tray_item.cc notification->SetSystemPriority(); notification 71 ash/system/chromeos/screen_security/screen_capture_tray_item.cc message_center::MessageCenter::Get()->AddNotification(notification.Pass()); notification 68 ash/system/chromeos/screen_security/screen_share_tray_item.cc scoped_ptr<Notification> notification(new Notification( notification 80 ash/system/chromeos/screen_security/screen_share_tray_item.cc notification->SetSystemPriority(); notification 81 ash/system/chromeos/screen_security/screen_share_tray_item.cc message_center::MessageCenter::Get()->AddNotification(notification.Pass()); notification 96 ash/system/chromeos/session/tray_session_length_limit.cc scoped_ptr<Notification> notification(new Notification( notification 108 ash/system/chromeos/session/tray_session_length_limit.cc notification->SetSystemPriority(); notification 109 ash/system/chromeos/session/tray_session_length_limit.cc message_center::MessageCenter::Get()->AddNotification(notification.Pass()); notification 121 ash/system/chromeos/session/tray_session_length_limit_unittest.cc message_center::Notification* notification = GetNotification(); notification 122 ash/system/chromeos/session/tray_session_length_limit_unittest.cc EXPECT_TRUE(notification); notification 123 ash/system/chromeos/session/tray_session_length_limit_unittest.cc EXPECT_EQ(message_center::SYSTEM_PRIORITY, notification->priority()); notification 124 ash/system/chromeos/session/tray_session_length_limit_unittest.cc base::string16 first_content = notification->title(); notification 126 ash/system/chromeos/session/tray_session_length_limit_unittest.cc EXPECT_TRUE(notification->rich_notification_data(). notification 131 ash/system/chromeos/session/tray_session_length_limit_unittest.cc notification = GetNotification(); notification 132 ash/system/chromeos/session/tray_session_length_limit_unittest.cc EXPECT_TRUE(notification); notification 133 ash/system/chromeos/session/tray_session_length_limit_unittest.cc EXPECT_EQ(message_center::SYSTEM_PRIORITY, notification->priority()); notification 135 ash/system/chromeos/session/tray_session_length_limit_unittest.cc EXPECT_NE(first_content, notification->title()); notification 137 ash/system/chromeos/session/tray_session_length_limit_unittest.cc EXPECT_FALSE(notification->rich_notification_data(). notification 142 ash/system/chromeos/session/tray_session_length_limit_unittest.cc notification = GetNotification(); notification 143 ash/system/chromeos/session/tray_session_length_limit_unittest.cc EXPECT_TRUE(notification); notification 144 ash/system/chromeos/session/tray_session_length_limit_unittest.cc EXPECT_EQ(message_center::SYSTEM_PRIORITY, notification->priority()); notification 146 ash/system/chromeos/session/tray_session_length_limit_unittest.cc EXPECT_TRUE(notification->rich_notification_data(). notification 152 ash/system/chromeos/session/tray_session_length_limit_unittest.cc notification = GetNotification(); notification 153 ash/system/chromeos/session/tray_session_length_limit_unittest.cc EXPECT_TRUE(notification); notification 154 ash/system/chromeos/session/tray_session_length_limit_unittest.cc EXPECT_EQ(message_center::SYSTEM_PRIORITY, notification->priority()); notification 156 ash/system/chromeos/session/tray_session_length_limit_unittest.cc EXPECT_FALSE(notification->rich_notification_data(). notification 378 ash/system/chromeos/tray_display.cc scoped_ptr<Notification> notification(new Notification( notification 391 ash/system/chromeos/tray_display.cc message_center::MessageCenter::Get()->AddNotification(notification.Pass()); notification 152 ash/system/chromeos/tray_display_unittest.cc const message_center::Notification* notification = GetDisplayNotification(); notification 153 ash/system/chromeos/tray_display_unittest.cc return notification ? notification->title() : base::string16(); notification 157 ash/system/chromeos/tray_display_unittest.cc const message_center::Notification* notification = GetDisplayNotification(); notification 158 ash/system/chromeos/tray_display_unittest.cc return notification ? notification->message() : base::string16(); notification 111 ash/system/locale/locale_notification_controller.cc scoped_ptr<Notification> notification(new Notification( notification 124 ash/system/locale/locale_notification_controller.cc message_center::MessageCenter::Get()->AddNotification(notification.Pass()); notification 107 ash/system/web_notification/web_notification_tray_unittest.cc scoped_ptr<message_center::Notification> notification; notification 108 ash/system/web_notification/web_notification_tray_unittest.cc notification.reset(new message_center::Notification( notification 118 ash/system/web_notification/web_notification_tray_unittest.cc GetMessageCenter()->AddNotification(notification.Pass()); notification 123 ash/system/web_notification/web_notification_tray_unittest.cc scoped_ptr<message_center::Notification> notification; notification 124 ash/system/web_notification/web_notification_tray_unittest.cc notification.reset(new message_center::Notification( notification 134 ash/system/web_notification/web_notification_tray_unittest.cc GetMessageCenter()->UpdateNotification(old_id, notification.Pass()); notification 359 chrome/browser/background/background_contents_service_unittest.cc const Notification* notification = CreateCrashNotification(extension); notification 360 chrome/browser/background/background_contents_service_unittest.cc EXPECT_FALSE(notification->icon().IsEmpty()); notification 375 chrome/browser/background/background_contents_service_unittest.cc const Notification* notification = CreateCrashNotification(extension); notification 376 chrome/browser/background/background_contents_service_unittest.cc EXPECT_FALSE(notification->icon().IsEmpty()); notification 471 chrome/browser/chromeos/first_run/drive_first_run_controller.cc scoped_ptr<message_center::Notification> notification( notification 483 chrome/browser/chromeos/first_run/drive_first_run_controller.cc notification->set_priority(message_center::LOW_PRIORITY); notification 484 chrome/browser/chromeos/first_run/drive_first_run_controller.cc message_center::MessageCenter::Get()->AddNotification(notification.Pass()); notification 90 chrome/browser/chromeos/login/multi_profile_first_run_notification.cc scoped_ptr<Notification> notification(new Notification( notification 106 chrome/browser/chromeos/login/multi_profile_first_run_notification.cc notification->SetSystemPriority(); notification 107 chrome/browser/chromeos/login/multi_profile_first_run_notification.cc message_center::MessageCenter::Get()->AddNotification(notification.Pass()); notification 157 chrome/browser/chromeos/net/network_portal_notification_controller.cc scoped_ptr<Notification> notification(new Notification( notification 168 chrome/browser/chromeos/net/network_portal_notification_controller.cc notification->SetSystemPriority(); notification 176 chrome/browser/chromeos/net/network_portal_notification_controller.cc message_center::MessageCenter::Get()->AddNotification(notification.Pass()); notification 217 chrome/browser/chromeos/power/peripheral_battery_observer.cc Notification notification( notification 230 chrome/browser/chromeos/power/peripheral_battery_observer.cc notification, notification 503 chrome/browser/devtools/port_forwarding_controller.cc scoped_ptr<DevToolsProtocol::Notification> notification( notification 505 chrome/browser/devtools/port_forwarding_controller.cc if (!notification) notification 508 chrome/browser/devtools/port_forwarding_controller.cc if (notification->method() != kTetheringAccepted) notification 511 chrome/browser/devtools/port_forwarding_controller.cc base::DictionaryValue* params = notification->params(); notification 326 chrome/browser/extensions/api/notifications/notifications_api.cc Notification notification(type, notification 340 chrome/browser/extensions/api/notifications/notifications_api.cc g_browser_process->notification_ui_manager()->Add(notification, GetProfile()); notification 347 chrome/browser/extensions/api/notifications/notifications_api.cc Notification* notification) { notification 350 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_type(MapApiTemplateTypeToType(options->type)); notification 352 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_title(base::UTF8ToUTF16(*options->title)); notification 354 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_message(base::UTF8ToUTF16(*options->message)); notification 360 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_icon(icon); notification 365 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_priority(*options->priority); notification 368 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_timestamp(base::Time::FromJsTime(*options->event_time)); notification 383 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_buttons(buttons); notification 387 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_context_message( notification 394 chrome/browser/extensions/api/notifications/notifications_api.cc if (notification->type() != message_center::NOTIFICATION_TYPE_IMAGE) notification 396 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_image(image); notification 401 chrome/browser/extensions/api/notifications/notifications_api.cc if (notification->type() != message_center::NOTIFICATION_TYPE_PROGRESS) { notification 411 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_progress(progress); notification 416 chrome/browser/extensions/api/notifications/notifications_api.cc if (notification->type() != message_center::NOTIFICATION_TYPE_MULTIPLE) notification 428 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_items(items); notification 434 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_clickable(*options->is_clickable); notification 436 chrome/browser/extensions/api/notifications/notifications_api.cc g_browser_process->notification_ui_manager()->Update(*notification, notification 541 chrome/browser/extensions/api/notifications/notifications_api.cc Notification notification = *matched_notification; notification 548 chrome/browser/extensions/api/notifications/notifications_api.cc params_->notification_id, ¶ms_->options, ¬ification); notification 34 chrome/browser/extensions/api/notifications/notifications_api.h Notification* notification); notification 722 chrome/browser/extensions/api/notifications/notifications_apitest.cc message_center::Notification* notification = *(notifications.begin()); notification 723 chrome/browser/extensions/api/notifications/notifications_apitest.cc EXPECT_EQ(base::ASCIIToUTF16(kNewTitle), notification->title()); notification 724 chrome/browser/extensions/api/notifications/notifications_apitest.cc EXPECT_EQ(base::ASCIIToUTF16(kNewMessage), notification->message()); notification 725 chrome/browser/extensions/api/notifications/notifications_apitest.cc EXPECT_EQ(kNewPriority, notification->priority()); notification 726 chrome/browser/extensions/api/notifications/notifications_apitest.cc EXPECT_EQ(0u, notification->buttons().size()); notification 174 chrome/browser/extensions/extension_crash_recovery_browsertest.cc std::string id = balloon->notification().notification_id(); notification 24 chrome/browser/hang_monitor/hung_window_detector.cc HungWindowDetector::HungWindowDetector(HungWindowNotification* notification) notification 25 chrome/browser/hang_monitor/hung_window_detector.cc : notification_(notification), notification 50 chrome/browser/hang_monitor/hung_window_detector.h explicit HungWindowDetector(HungWindowNotification* notification); notification 262 chrome/browser/local_discovery/privet_notifications.cc Notification notification( notification 277 chrome/browser/local_discovery/privet_notifications.cc notification, profile_object); notification 280 chrome/browser/local_discovery/privet_notifications.cc g_browser_process->notification_ui_manager()->Add(notification, notification 189 chrome/browser/mac/keystone_glue.h - (void)checkForUpdateComplete:(NSNotification*)notification; notification 192 chrome/browser/mac/keystone_glue.h - (void)installUpdateComplete:(NSNotification*)notification; notification 23 chrome/browser/notifications/balloon.cc Balloon::Balloon(const Notification& notification, Profile* profile, notification 26 chrome/browser/notifications/balloon.cc notification_(new Notification(notification)), notification 55 chrome/browser/notifications/balloon.cc void Balloon::Update(const Notification& notification) { notification 57 chrome/browser/notifications/balloon.cc notification_.reset(new Notification(notification)); notification 88 chrome/browser/notifications/balloon.cc notification().origin_url()); notification 53 chrome/browser/notifications/balloon.h Balloon(const Notification& notification, notification 58 chrome/browser/notifications/balloon.h const Notification& notification() const { return *notification_.get(); } notification 98 chrome/browser/notifications/balloon.h virtual void Update(const Notification& notification); notification 54 chrome/browser/notifications/balloon_collection.h virtual void Add(const Notification& notification, notification 42 chrome/browser/notifications/balloon_collection_base.cc if ((*iter)->notification().notification_id() == id) { notification 43 chrome/browser/notifications/balloon_collection_base.cc return &((*iter)->notification()); notification 55 chrome/browser/notifications/balloon_collection_base.cc if ((*iter)->notification().notification_id() == id) notification 71 chrome/browser/notifications/balloon_collection_base.cc if ((*iter)->notification().origin_url() == source_origin) notification 108 chrome/browser/notifications/balloon_collection_base.cc if ((*iter)->notification().notification_id() == notification_id) { notification 115 chrome/browser/notifications/balloon_collection_base.cc Balloon* BalloonCollectionBase::FindBalloon(const Notification& notification) { notification 116 chrome/browser/notifications/balloon_collection_base.cc return FindBalloonById(notification.notification_id()); notification 64 chrome/browser/notifications/balloon_collection_base.h Balloon* FindBalloon(const Notification& notification); notification 61 chrome/browser/notifications/balloon_collection_impl.cc void BalloonCollectionImpl::AddImpl(const Notification& notification, notification 64 chrome/browser/notifications/balloon_collection_impl.cc Balloon* new_balloon = MakeBalloon(notification, profile); notification 89 chrome/browser/notifications/balloon_collection_impl.cc void BalloonCollectionImpl::Add(const Notification& notification, notification 91 chrome/browser/notifications/balloon_collection_impl.cc AddImpl(notification, profile, false); notification 47 chrome/browser/notifications/balloon_collection_impl.h virtual void Add(const Notification& notification, notification 188 chrome/browser/notifications/balloon_collection_impl.h virtual Balloon* MakeBalloon(const Notification& notification, notification 193 chrome/browser/notifications/balloon_collection_impl.h void AddImpl(const Notification& notification, notification 44 chrome/browser/notifications/balloon_host.cc balloon_->profile(), balloon_->notification().content_url()); notification 65 chrome/browser/notifications/balloon_host.cc return balloon_->notification().display_source(); notification 153 chrome/browser/notifications/balloon_host.cc balloon_->notification().content_url(), content::Referrer(), notification 24 chrome/browser/notifications/balloon_notification_ui_manager.cc QueuedNotification(const Notification& notification, Profile* profile) notification 25 chrome/browser/notifications/balloon_notification_ui_manager.cc : notification_(notification), notification 77 chrome/browser/notifications/balloon_notification_ui_manager.cc void BalloonNotificationUIManager::Add(const Notification& notification, notification 79 chrome/browser/notifications/balloon_notification_ui_manager.cc if (Update(notification, profile)) { notification 84 chrome/browser/notifications/balloon_notification_ui_manager.cc << notification.content_url().spec(); notification 86 chrome/browser/notifications/balloon_notification_ui_manager.cc new QueuedNotification(notification, profile))); notification 90 chrome/browser/notifications/balloon_notification_ui_manager.cc bool BalloonNotificationUIManager::Update(const Notification& notification, notification 92 chrome/browser/notifications/balloon_notification_ui_manager.cc const GURL& origin = notification.origin_url(); notification 93 chrome/browser/notifications/balloon_notification_ui_manager.cc const base::string16& replace_id = notification.replace_id(); notification 103 chrome/browser/notifications/balloon_notification_ui_manager.cc origin == (*iter)->notification().origin_url() && notification 104 chrome/browser/notifications/balloon_notification_ui_manager.cc replace_id == (*iter)->notification().replace_id()) { notification 105 chrome/browser/notifications/balloon_notification_ui_manager.cc (*iter)->Replace(notification); notification 110 chrome/browser/notifications/balloon_notification_ui_manager.cc return UpdateNotification(notification, profile); notification 117 chrome/browser/notifications/balloon_notification_ui_manager.cc if ((*iter)->notification().notification_id() == id) { notification 118 chrome/browser/notifications/balloon_notification_ui_manager.cc return &((*iter)->notification()); notification 128 chrome/browser/notifications/balloon_notification_ui_manager.cc if ((*iter)->notification().notification_id() == id) { notification 144 chrome/browser/notifications/balloon_notification_ui_manager.cc if ((*iter)->notification().origin_url() == source && notification 146 chrome/browser/notifications/balloon_notification_ui_manager.cc notification_ids.insert((*iter)->notification().notification_id()); notification 155 chrome/browser/notifications/balloon_notification_ui_manager.cc source == (*iter)->notification().origin_url()) { notification 156 chrome/browser/notifications/balloon_notification_ui_manager.cc notification_ids.insert((*iter)->notification().notification_id()); notification 168 chrome/browser/notifications/balloon_notification_ui_manager.cc if ((*loopiter)->notification().origin_url() != source) { notification 208 chrome/browser/notifications/balloon_notification_ui_manager.cc const Notification& notification, notification 212 chrome/browser/notifications/balloon_notification_ui_manager.cc balloon_collection_->Add(notification, profile); notification 226 chrome/browser/notifications/balloon_notification_ui_manager.cc const Notification& notification, notification 228 chrome/browser/notifications/balloon_notification_ui_manager.cc const GURL& origin = notification.origin_url(); notification 229 chrome/browser/notifications/balloon_notification_ui_manager.cc const base::string16& replace_id = notification.replace_id(); notification 238 chrome/browser/notifications/balloon_notification_ui_manager.cc origin == (*iter)->notification().origin_url() && notification 239 chrome/browser/notifications/balloon_notification_ui_manager.cc replace_id == (*iter)->notification().replace_id()) { notification 240 chrome/browser/notifications/balloon_notification_ui_manager.cc (*iter)->Update(notification); notification 280 chrome/browser/notifications/balloon_notification_ui_manager.cc if (!ShowNotification(queued_notification->notification(), notification 305 chrome/browser/notifications/balloon_notification_ui_manager.cc notifications->push_back(&(*iter)->notification()); notification 43 chrome/browser/notifications/balloon_notification_ui_manager.h virtual void Add(const Notification& notification, notification 45 chrome/browser/notifications/balloon_notification_ui_manager.h virtual bool Update(const Notification& notification, notification 74 chrome/browser/notifications/balloon_notification_ui_manager.h bool ShowNotification(const Notification& notification, Profile* profile); notification 75 chrome/browser/notifications/balloon_notification_ui_manager.h bool UpdateNotification(const Notification& notification, Profile* profile); notification 397 chrome/browser/notifications/desktop_notification_service.cc Notification notification(origin_url, icon_url, title, message, notification 400 chrome/browser/notifications/desktop_notification_service.cc g_browser_process->notification_ui_manager()->Add(notification, profile); notification 401 chrome/browser/notifications/desktop_notification_service.cc return notification.notification_id(); notification 407 chrome/browser/notifications/desktop_notification_service.cc Notification notification( notification 409 chrome/browser/notifications/desktop_notification_service.cc g_browser_process->notification_ui_manager()->Add(notification, profile); notification 410 chrome/browser/notifications/desktop_notification_service.cc return notification.notification_id(); notification 424 chrome/browser/notifications/desktop_notification_service.cc Notification notification(origin_url, icon, title, message, notification 427 chrome/browser/notifications/desktop_notification_service.cc g_browser_process->notification_ui_manager()->Add(notification, profile); notification 428 chrome/browser/notifications/desktop_notification_service.cc return notification.notification_id(); notification 599 chrome/browser/notifications/desktop_notification_service.cc const Notification& notification) { notification 600 chrome/browser/notifications/desktop_notification_service.cc GetUIManager()->Add(notification, profile_); notification 624 chrome/browser/notifications/desktop_notification_service.cc Notification notification(origin, params.icon_url, params.title, notification 629 chrome/browser/notifications/desktop_notification_service.cc notification.set_never_timeout(true); notification 631 chrome/browser/notifications/desktop_notification_service.cc ShowNotification(notification); notification 748 chrome/browser/notifications/desktop_notification_service.cc const Notification& notification) { notification 757 chrome/browser/notifications/desktop_notification_service.cc notification); notification 164 chrome/browser/notifications/desktop_notification_service.h void ShowWelcomeNotificationIfNecessary(const Notification& notification); notification 168 chrome/browser/notifications/desktop_notification_service.h void ShowNotification(const Notification& notification); notification 32 chrome/browser/notifications/desktop_notification_service_win.cc const Notification& notification) { notification 38 chrome/browser/notifications/desktop_notification_service_win.cc if (!notification.is_html()) { notification 39 chrome/browser/notifications/desktop_notification_service_win.cc display_metro_notification(notification.origin_url().spec().c_str(), notification 40 chrome/browser/notifications/desktop_notification_service_win.cc notification.content_url().spec().c_str(), notification 41 chrome/browser/notifications/desktop_notification_service_win.cc notification.title().c_str(), notification 42 chrome/browser/notifications/desktop_notification_service_win.cc notification.message().c_str(), notification 43 chrome/browser/notifications/desktop_notification_service_win.cc notification.display_source().c_str(), notification 44 chrome/browser/notifications/desktop_notification_service_win.cc notification.notification_id().c_str(), notification 51 chrome/browser/notifications/desktop_notification_service_win.cc GetUIManager()->Add(notification, profile_); notification 49 chrome/browser/notifications/desktop_notifications_unittest.cc void MockBalloonCollection::Add(const Notification& notification, notification 55 chrome/browser/notifications/desktop_notifications_unittest.cc notification.origin_url(), notification 56 chrome/browser/notifications/desktop_notifications_unittest.cc notification.content_url(), notification 57 chrome/browser/notifications/desktop_notifications_unittest.cc notification.display_source(), notification 58 chrome/browser/notifications/desktop_notifications_unittest.cc notification.replace_id(), notification 59 chrome/browser/notifications/desktop_notifications_unittest.cc new LoggingNotificationProxy(notification.notification_id())); notification 67 chrome/browser/notifications/desktop_notifications_unittest.cc Balloon* MockBalloonCollection::MakeBalloon(const Notification& notification, notification 70 chrome/browser/notifications/desktop_notifications_unittest.cc Balloon* balloon = BalloonCollectionImpl::MakeBalloon(notification, profile); notification 295 chrome/browser/notifications/desktop_notifications_unittest.cc if ((*iter)->notification().origin_url().host() == "long.google.com") { notification 473 chrome/browser/notifications/desktop_notifications_unittest.cc GURL data_url = balloon->notification().content_url(); notification 48 chrome/browser/notifications/desktop_notifications_unittest.h virtual void Add(const Notification& notification, notification 51 chrome/browser/notifications/desktop_notifications_unittest.h virtual Balloon* MakeBalloon(const Notification& notification, notification 166 chrome/browser/notifications/extension_welcome_notification.cc const Notification& notification) { notification 167 chrome/browser/notifications/extension_welcome_notification.cc if ((notification.notifier_id() == notifier_id_) && !delayed_notification_) { notification 187 chrome/browser/notifications/extension_welcome_notification.cc notification.display_source(), pop_up_request); notification 191 chrome/browser/notifications/extension_welcome_notification.cc delayed_notification_.reset(new Notification(notification)); notification 83 chrome/browser/notifications/extension_welcome_notification.h void ShowWelcomeNotificationIfNecessary(const Notification& notification); notification 48 chrome/browser/notifications/extension_welcome_notification_unittest.cc scoped_ptr<message_center::Notification> notification) OVERRIDE { notification 50 chrome/browser/notifications/extension_welcome_notification_unittest.cc last_notification.swap(notification); notification 234 chrome/browser/notifications/extension_welcome_notification_unittest.cc Notification notification(message_center::NOTIFICATION_TYPE_BASE_FORMAT, notification 245 chrome/browser/notifications/extension_welcome_notification_unittest.cc welcome_notification_->ShowWelcomeNotificationIfNecessary(notification); notification 96 chrome/browser/notifications/message_center_notification_manager.cc void MessageCenterNotificationManager::Add(const Notification& notification, notification 98 chrome/browser/notifications/message_center_notification_manager.cc if (Update(notification, profile)) notification 102 chrome/browser/notifications/message_center_notification_manager.cc ShowWelcomeNotificationIfNecessary(notification); notification 105 chrome/browser/notifications/message_center_notification_manager.cc new ProfileNotification(profile, notification, message_center_)); notification 108 chrome/browser/notifications/message_center_notification_manager.cc bool MessageCenterNotificationManager::Update(const Notification& notification, notification 110 chrome/browser/notifications/message_center_notification_manager.cc const base::string16& replace_id = notification.replace_id(); notification 114 chrome/browser/notifications/message_center_notification_manager.cc const GURL origin_url = notification.origin_url(); notification 123 chrome/browser/notifications/message_center_notification_manager.cc if (old_notification->notification().replace_id() == replace_id && notification 124 chrome/browser/notifications/message_center_notification_manager.cc old_notification->notification().origin_url() == origin_url && notification 129 chrome/browser/notifications/message_center_notification_manager.cc old_notification->notification().notification_id(); notification 137 chrome/browser/notifications/message_center_notification_manager.cc new ProfileNotification(profile, notification, message_center_); notification 138 chrome/browser/notifications/message_center_notification_manager.cc profile_notifications_[notification.notification_id()] = new_notification; notification 142 chrome/browser/notifications/message_center_notification_manager.cc make_scoped_ptr(new message_center::Notification(notification))); notification 158 chrome/browser/notifications/message_center_notification_manager.cc return &(iter->second->notification()); notification 181 chrome/browser/notifications/message_center_notification_manager.cc if ((*iter).second->notification().origin_url() == source && notification 198 chrome/browser/notifications/message_center_notification_manager.cc if ((*curiter).second->notification().origin_url() == source) { notification 304 chrome/browser/notifications/message_center_notification_manager.cc const Notification& notification) { notification 310 chrome/browser/notifications/message_center_notification_manager.cc notification, notification 311 chrome/browser/notifications/message_center_notification_manager.cc ¬ification.icon(), notification 312 chrome/browser/notifications/message_center_notification_manager.cc notification.icon_url(), notification 315 chrome/browser/notifications/message_center_notification_manager.cc notification.notification_id())); notification 319 chrome/browser/notifications/message_center_notification_manager.cc notification, notification 321 chrome/browser/notifications/message_center_notification_manager.cc notification.image_url(), notification 324 chrome/browser/notifications/message_center_notification_manager.cc notification.notification_id())); notification 328 chrome/browser/notifications/message_center_notification_manager.cc notification, notification 330 chrome/browser/notifications/message_center_notification_manager.cc notification.button_one_icon_url(), notification 333 chrome/browser/notifications/message_center_notification_manager.cc notification.notification_id(), notification 336 chrome/browser/notifications/message_center_notification_manager.cc notification, notification 338 chrome/browser/notifications/message_center_notification_manager.cc notification.button_two_icon_url(), notification 341 chrome/browser/notifications/message_center_notification_manager.cc notification.notification_id(), notification 349 chrome/browser/notifications/message_center_notification_manager.cc const Notification& notification, notification 363 chrome/browser/notifications/message_center_notification_manager.cc content::RenderViewHost* host = notification.GetRenderViewHost(); notification 421 chrome/browser/notifications/message_center_notification_manager.cc const Notification& notification, notification 424 chrome/browser/notifications/message_center_notification_manager.cc notification_(notification), notification 450 chrome/browser/notifications/message_center_notification_manager.cc notification().origin_url(), notification().process_id(), notification 470 chrome/browser/notifications/message_center_notification_manager.cc const Notification& notification = profile_notification->notification(); notification 471 chrome/browser/notifications/message_center_notification_manager.cc std::string id = notification.notification_id(); notification 478 chrome/browser/notifications/message_center_notification_manager.cc new message_center::Notification(notification)); notification 486 chrome/browser/notifications/message_center_notification_manager.cc std::string id = profile_notification->notification().notification_id(); notification 52 chrome/browser/notifications/message_center_notification_manager.h virtual void Add(const Notification& notification, notification 54 chrome/browser/notifications/message_center_notification_manager.h virtual bool Update(const Notification& notification, notification 112 chrome/browser/notifications/message_center_notification_manager.h void StartDownloads(const Notification& notification); notification 113 chrome/browser/notifications/message_center_notification_manager.h void StartDownloadWithImage(const Notification& notification, notification 117 chrome/browser/notifications/message_center_notification_manager.h void StartDownloadByKey(const Notification& notification, notification 163 chrome/browser/notifications/message_center_notification_manager.h const Notification& notification, notification 173 chrome/browser/notifications/message_center_notification_manager.h const Notification& notification() const { return notification_; } notification 327 chrome/browser/notifications/message_center_notifications_browsertest.cc Notification notification = CreateTestNotification("n", &delegate); notification 328 chrome/browser/notifications/message_center_notifications_browsertest.cc manager()->Add(notification, profile()); notification 332 chrome/browser/notifications/message_center_notifications_browsertest.cc notification.set_title(base::ASCIIToUTF16("title2")); notification 333 chrome/browser/notifications/message_center_notifications_browsertest.cc manager()->Update(notification, profile()); notification 369 chrome/browser/notifications/message_center_notifications_browsertest.cc Notification notification = CreateTestNotification("n", &delegate); notification 370 chrome/browser/notifications/message_center_notifications_browsertest.cc manager()->Add(notification, profile()); notification 374 chrome/browser/notifications/message_center_notifications_browsertest.cc notification.set_type(message_center::NOTIFICATION_TYPE_PROGRESS); notification 375 chrome/browser/notifications/message_center_notifications_browsertest.cc manager()->Update(notification, profile()); notification 410 chrome/browser/notifications/message_center_notifications_browsertest.cc Notification notification = CreateTestNotification("n", &delegate); notification 411 chrome/browser/notifications/message_center_notifications_browsertest.cc notification.set_type(message_center::NOTIFICATION_TYPE_PROGRESS); notification 412 chrome/browser/notifications/message_center_notifications_browsertest.cc manager()->Add(notification, profile()); notification 416 chrome/browser/notifications/message_center_notifications_browsertest.cc notification.set_progress(50); notification 417 chrome/browser/notifications/message_center_notifications_browsertest.cc manager()->Update(notification, profile()); notification 118 chrome/browser/notifications/notification.cc Notification::Notification(const Notification& notification) notification 119 chrome/browser/notifications/notification.cc : message_center::Notification(notification), notification 120 chrome/browser/notifications/notification.cc origin_url_(notification.origin_url()), notification 121 chrome/browser/notifications/notification.cc icon_url_(notification.icon_url()), notification 122 chrome/browser/notifications/notification.cc is_html_(notification.is_html()), notification 123 chrome/browser/notifications/notification.cc content_url_(notification.content_url()), notification 124 chrome/browser/notifications/notification.cc button_one_icon_url_(notification.button_one_icon_url()), notification 125 chrome/browser/notifications/notification.cc button_two_icon_url_(notification.button_two_icon_url()), notification 126 chrome/browser/notifications/notification.cc image_url_(notification.image_url()), notification 127 chrome/browser/notifications/notification.cc replace_id_(notification.replace_id()), notification 128 chrome/browser/notifications/notification.cc delegate_(notification.delegate()) {} notification 132 chrome/browser/notifications/notification.cc Notification& Notification::operator=(const Notification& notification) { notification 133 chrome/browser/notifications/notification.cc message_center::Notification::operator=(notification); notification 134 chrome/browser/notifications/notification.cc origin_url_ = notification.origin_url(); notification 135 chrome/browser/notifications/notification.cc icon_url_ = notification.icon_url(); notification 136 chrome/browser/notifications/notification.cc is_html_ = notification.is_html(); notification 137 chrome/browser/notifications/notification.cc content_url_ = notification.content_url(); notification 138 chrome/browser/notifications/notification.cc button_one_icon_url_ = notification.button_one_icon_url(); notification 139 chrome/browser/notifications/notification.cc button_two_icon_url_ = notification.button_two_icon_url(); notification 140 chrome/browser/notifications/notification.cc image_url_ = notification.image_url(); notification 141 chrome/browser/notifications/notification.cc replace_id_ = notification.replace_id(); notification 142 chrome/browser/notifications/notification.cc delegate_ = notification.delegate(); notification 69 chrome/browser/notifications/notification.h Notification(const Notification& notification); notification 71 chrome/browser/notifications/notification.h Notification& operator=(const Notification& notification); notification 214 chrome/browser/notifications/notification_browsertest.cc bool CloseNotificationAndWait(const Notification& notification); notification 289 chrome/browser/notifications/notification_browsertest.cc const Notification& notification) { notification 292 chrome/browser/notifications/notification_browsertest.cc CancelById(notification.notification_id()); notification 546 chrome/browser/notifications/notification_browsertest.cc const Notification& notification = balloon->notification(); notification 547 chrome/browser/notifications/notification_browsertest.cc EXPECT_EQ(EXPECTED_ICON_URL, notification.icon_url()); notification 548 chrome/browser/notifications/notification_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("My Title"), notification.title()); notification 549 chrome/browser/notifications/notification_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("My Body"), notification.message()); notification 572 chrome/browser/notifications/notification_browsertest.cc EXPECT_TRUE(CloseNotificationAndWait(balloons[0]->notification())); notification 756 chrome/browser/notifications/notification_browsertest.cc ASSERT_TRUE(CloseNotificationAndWait(balloons[0]->notification())); notification 955 chrome/browser/notifications/notification_browsertest.cc const Notification& notification = balloon->notification(); notification 957 chrome/browser/notifications/notification_browsertest.cc EXPECT_EQ(EXPECTED_ICON_URL, notification.icon_url()); notification 958 chrome/browser/notifications/notification_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Title2"), notification.title()); notification 959 chrome/browser/notifications/notification_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Body2"), notification.message()); notification 136 chrome/browser/notifications/notification_options_menu_model.cc const Notification& notification = balloon->notification(); notification 137 chrome/browser/notifications/notification_options_menu_model.cc const GURL& origin = notification.origin_url(); notification 151 chrome/browser/notifications/notification_options_menu_model.cc } else if (!notification.display_source().empty()) { notification 154 chrome/browser/notifications/notification_options_menu_model.cc notification.display_source()); notification 158 chrome/browser/notifications/notification_options_menu_model.cc if (!notification.display_source().empty()) { notification 185 chrome/browser/notifications/notification_options_menu_model.cc const Notification& notification = balloon_->notification(); notification 186 chrome/browser/notifications/notification_options_menu_model.cc const GURL& origin = notification.origin_url(); notification 205 chrome/browser/notifications/notification_options_menu_model.cc notification.display_source()); notification 209 chrome/browser/notifications/notification_options_menu_model.cc notification.display_source()); notification 242 chrome/browser/notifications/notification_options_menu_model.cc const GURL& origin = balloon_->notification().origin_url(); notification 30 chrome/browser/notifications/notification_test_util.cc void StubNotificationUIManager::Add(const Notification& notification, notification 33 chrome/browser/notifications/notification_test_util.cc notification_ = notification; notification 37 chrome/browser/notifications/notification_test_util.cc if (notification.origin_url() == welcome_origin_) notification 41 chrome/browser/notifications/notification_test_util.cc bool StubNotificationUIManager::Update(const Notification& notification, notification 44 chrome/browser/notifications/notification_test_util.cc notification_ = notification; notification 91 chrome/browser/notifications/notification_test_util.h virtual void Add(const Notification& notification, Profile* profile) OVERRIDE; notification 92 chrome/browser/notifications/notification_test_util.h virtual bool Update(const Notification& notification, notification 121 chrome/browser/notifications/notification_test_util.h const Notification& notification() const { return notification_; } notification 29 chrome/browser/notifications/notification_ui_manager.h virtual void Add(const Notification& notification, Profile* profile) = 0; notification 33 chrome/browser/notifications/notification_ui_manager.h virtual bool Update(const Notification& notification, Profile* profile) = 0; notification 48 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc SyncedNotification* notification = notification 50 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc if (notification) { notification 51 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc GURL destination = notification->GetButtonUrl(button_index); notification 91 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc SyncedNotification* notification = notification 93 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc if (notification == NULL) notification 96 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc return notification->GetDefaultDestinationUrl(); notification 47 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate_unittest.cc notifier::SyncedNotification* notification = notification 50 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate_unittest.cc owned_notifications_.push_back(notification); notification 51 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate_unittest.cc return notification; notification 264 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc const SyncedNotification& notification) { notification 267 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc notification.GetKey(), notification.GetKey(), notification 268 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc notification.GetEntitySpecifics()); notification 321 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc scoped_ptr<SyncedNotification> notification( notification 324 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc return notification.Pass(); notification 337 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc SyncedNotification* notification = *it; notification 338 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc if (notification_id == notification->GetKey()) notification 349 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc SyncedNotification* notification = *it; notification 350 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc if (notification_id == notification->GetKey()) { notification 442 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc SyncedNotification* notification = FindNotificationById(key); notification 443 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc CHECK(notification != NULL); notification 445 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc notification->NotificationHasBeenRead(); notification 448 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncData sync_data = CreateSyncDataFromNotification(*notification); notification 460 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc void ChromeNotifierService::Add(scoped_ptr<SyncedNotification> notification) { notification 461 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc SyncedNotification* notification_copy = notification.get(); notification 463 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc notification_data_.push_back(notification.release()); notification 494 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc scoped_ptr<notifier::SyncedNotification> notification) { notification 495 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc notification_data_.push_back(notification.release()); notification 509 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc SyncedNotification* notification) { notification 515 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc notification->LogNotification(); notification 517 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc if (notification->GetReadState() == SyncedNotification::kUnread) { notification 519 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc Display(notification); notification 523 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc notification_manager_->CancelById(notification->GetKey()); notification 527 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc void ChromeNotifierService::Display(SyncedNotification* notification) { notification 533 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc notification->set_toast_state(false); notification 538 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc notification->Show(profile_); notification 543 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc notification->QueueBitmapFetchJobs(this, profile_); notification 547 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc notification->StartBitmapFetch(); notification 786 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc Notification notification = CreateWelcomeNotificationForService(app_info); notification 787 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc notification_ui_manager->Add(notification, profile_); notification 81 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h const SyncedNotification& notification); notification 119 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h void AddForTest(scoped_ptr<notifier::SyncedNotification> notification); notification 136 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h const SyncedNotification* notification, notification 141 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h void Add(scoped_ptr<notifier::SyncedNotification> notification); notification 144 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h void UpdateInMessageCenter(notifier::SyncedNotification* notification); notification 147 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h void Display(notifier::SyncedNotification* notification); notification 169 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc SyncedNotification* notification) { notification 172 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc scoped_ptr<SyncedNotification> scoped_notification(notification); notification 176 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc ChromeNotifierService::CreateSyncDataFromNotification(*notification)); notification 79 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc virtual void AddButtonBitmaps(SyncedNotification* notification, notification 82 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc notification->button_bitmaps_.push_back(gfx::Image()); notification 83 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc notification->button_bitmaps_fetch_pending_.push_back(true); notification 267 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc const Notification notification = notification_manager()->notification(); notification 270 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_EQ(message_center::NOTIFICATION_TYPE_IMAGE, notification.type()); notification 271 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_EQ(std::string(kTitle1), base::UTF16ToUTF8(notification.title())); notification 272 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_EQ(std::string(kText1), base::UTF16ToUTF8(notification.message())); notification 273 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_EQ(std::string(kExpectedOriginUrl), notification.origin_url().spec()); notification 274 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_EQ(std::string(kKey1), base::UTF16ToUTF8(notification.replace_id())); notification 276 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_EQ(kFakeCreationTime, notification.timestamp().ToDoubleT()); notification 277 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_EQ(kNotificationPriority, notification.priority()); notification 341 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_FALSE(notification_manager()->notification().small_image().IsEmpty()); notification 345 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc notification_manager()->notification().type()); notification 347 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc base::UTF16ToUTF8(notification_manager()->notification().title())); notification 350 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc base::UTF16ToUTF8(notification_manager()->notification().message())); notification 400 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc notification_manager()->notification().type()); notification 402 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc base::UTF16ToUTF8(notification_manager()->notification().title())); notification 405 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc base::UTF16ToUTF8(notification_manager()->notification().message())); notification 416 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc const Notification notification1 = notification_manager()->notification(); notification 422 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc const Notification notification2 = notification_manager()->notification(); notification 47 chrome/browser/notifications/sync_notifier/welcome_delegate_unittest.cc Notification notification(message_center::NOTIFICATION_TYPE_BASE_FORMAT, notification 58 chrome/browser/notifications/sync_notifier/welcome_delegate_unittest.cc g_browser_process->notification_ui_manager()->Add(notification, notification 79 chrome/browser/notifications/sync_notifier/welcome_delegate_unittest.cc Notification notification(message_center::NOTIFICATION_TYPE_BASE_FORMAT, notification 92 chrome/browser/notifications/sync_notifier/welcome_delegate_unittest.cc g_browser_process->notification_ui_manager()->Add(notification, notification 192 chrome/browser/signin/signin_error_notifier_ash.cc Notification notification( notification 208 chrome/browser/signin/signin_error_notifier_ash.cc notification_ui_manager->Update(notification, profile_); notification 210 chrome/browser/signin/signin_error_notifier_ash.cc notification_ui_manager->Add(notification, profile_); notification 104 chrome/browser/signin/signin_error_notifier_ash_unittest.cc const Notification* notification = notification 106 chrome/browser/signin/signin_error_notifier_ash_unittest.cc ASSERT_FALSE(notification == NULL); notification 107 chrome/browser/signin/signin_error_notifier_ash_unittest.cc *message = notification->message(); notification 209 chrome/browser/signin/signin_error_notifier_ash_unittest.cc const Notification* notification = notification_ui_manager_-> notification 211 chrome/browser/signin/signin_error_notifier_ash_unittest.cc ASSERT_EQ(table[i].is_error, notification != NULL); notification 213 chrome/browser/signin/signin_error_notifier_ash_unittest.cc EXPECT_FALSE(notification->title().empty()); notification 214 chrome/browser/signin/signin_error_notifier_ash_unittest.cc EXPECT_FALSE(notification->message().empty()); notification 215 chrome/browser/signin/signin_error_notifier_ash_unittest.cc EXPECT_EQ((size_t)1, notification->buttons().size()); notification 184 chrome/browser/sync/sync_error_notifier_ash.cc Notification notification( notification 197 chrome/browser/sync/sync_error_notifier_ash.cc notification_ui_manager->Add(notification, profile_); notification 159 chrome/browser/sync/sync_error_notifier_ash_unittest.cc const Notification* notification = notification_ui_manager_-> notification 162 chrome/browser/sync/sync_error_notifier_ash_unittest.cc ASSERT_TRUE(notification); notification 163 chrome/browser/sync/sync_error_notifier_ash_unittest.cc ASSERT_FALSE(notification->title().empty()); notification 164 chrome/browser/sync/sync_error_notifier_ash_unittest.cc ASSERT_FALSE(notification->title().empty()); notification 165 chrome/browser/sync/sync_error_notifier_ash_unittest.cc ASSERT_EQ((size_t)1, notification->buttons().size()); notification 167 chrome/browser/sync/sync_error_notifier_ash_unittest.cc ASSERT_FALSE(notification); notification 527 chrome/browser/ui/ash/screenshot_taker.cc scoped_ptr<Notification> notification( notification 529 chrome/browser/ui/ash/screenshot_taker.cc g_browser_process->notification_ui_manager()->Add(*notification, notification 382 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc scoped_ptr<DialogNotification> notification(new DialogNotification( notification 385 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc notification->set_link_url(url); notification 386 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return notification.Pass(); notification 455 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc scoped_ptr<DialogNotification> notification(new DialogNotification( notification 461 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc notification->set_tooltip_text( notification 466 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return notification.Pass(); notification 2097 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc DialogNotification notification( notification 2100 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc notification.set_tooltip_text( notification 2103 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc notification.set_checked(IsPayingWithWallet()); notification 2104 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc notifications.push_back(notification); notification 24 chrome/browser/ui/autofill/autofill_dialog_types_unittest.cc DialogNotification notification(DialogNotification::WALLET_ERROR, text); notification 25 chrome/browser/ui/autofill/autofill_dialog_types_unittest.cc EXPECT_TRUE(notification.link_range().is_empty()); notification 28 chrome/browser/ui/autofill/autofill_dialog_types_unittest.cc notification = DialogNotification(DialogNotification::WALLET_ERROR, text); notification 30 chrome/browser/ui/autofill/autofill_dialog_types_unittest.cc EXPECT_EQ(base::string16::npos, notification.display_text().find(bar)); notification 31 chrome/browser/ui/autofill/autofill_dialog_types_unittest.cc EXPECT_FALSE(notification.link_range().is_empty()); notification 51 chrome/browser/ui/cocoa/autofill/autofill_notification_controller.h - (id)initWithNotification:(const autofill::DialogNotification*)notification notification 186 chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h void PostNotification(NSString* notification); notification 94 chrome/browser/ui/cocoa/panels/panel_titlebar_view_cocoa.h - (void)didChangeFrame:(NSNotification*)notification; notification 95 chrome/browser/ui/cocoa/panels/panel_titlebar_view_cocoa.h - (void)didChangeMainWindow:(NSNotification*)notification; notification 11 chrome/browser/ui/gtk/notifications/balloon_collection_gtk.cc Balloon* BalloonCollectionImpl::MakeBalloon(const Notification& notification, notification 13 chrome/browser/ui/gtk/notifications/balloon_collection_gtk.cc Balloon* balloon = new Balloon(notification, profile, this); notification 210 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc balloon->notification().display_source()); notification 336 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc balloon_->notification().content_url(), content::Referrer(), notification 13 chrome/browser/ui/panels/test_panel_notification_observer.cc int notification, notification 17 chrome/browser/ui/panels/test_panel_notification_observer.cc registrar_.Add(this, notification, source); notification 23 chrome/browser/ui/panels/test_panel_notification_observer.h TestPanelNotificationObserver(int notification, notification 733 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const DialogNotification& notification = notifications_[i]; notification 734 chrome/browser/ui/views/autofill/autofill_dialog_views.cc scoped_ptr<NotificationView> view(new NotificationView(notification, notification 66 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc ::Notification notification(GURL("chrome-extension://abbccedd"), notification 77 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc notification, browser()->profile()); notification 82 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc ::Notification notification(GURL("chrome-extension://abbccedd"), notification 92 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc notification, browser()->profile()); notification 14 chrome/browser/ui/views/notifications/balloon_collection_views.cc Balloon* BalloonCollectionImpl::MakeBalloon(const Notification& notification, notification 16 chrome/browser/ui/views/notifications/balloon_collection_views.cc Balloon* balloon = new Balloon(notification, profile, this); notification 232 chrome/browser/ui/views/notifications/balloon_view_views.cc balloon_->notification().content_url(), content::Referrer(), notification 299 chrome/browser/ui/views/notifications/balloon_view_views.cc balloon->notification().display_source()); notification 204 chrome/browser/ui/views/status_icons/status_icon_win.cc base::win::MetroNotification notification = notification 207 chrome/browser/ui/views/status_icons/status_icon_win.cc DCHECK(notification); notification 208 chrome/browser/ui/views/status_icons/status_icon_win.cc notification("", "", title.c_str(), contents.c_str(), L"", notification 85 chrome/service/cloud_print/cloud_print_proxy_backend.cc const notifier::Notification& notification) OVERRIDE; notification 114 chrome/service/cloud_print/cloud_print_proxy_backend.cc void HandlePrinterNotification(const std::string& notification); notification 388 chrome/service/cloud_print/cloud_print_proxy_backend.cc const std::string& notification) { notification 391 chrome/service/cloud_print/cloud_print_proxy_backend.cc size_t pos = notification.rfind(kNotificationUpdateSettings); notification 394 chrome/service/cloud_print/cloud_print_proxy_backend.cc << notification; notification 395 chrome/service/cloud_print/cloud_print_proxy_backend.cc connector_->CheckForJobs(kJobFetchReasonNotified, notification); notification 397 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(pos == notification.length() - strlen(kNotificationUpdateSettings)); notification 398 chrome/service/cloud_print/cloud_print_proxy_backend.cc std::string printer_id = notification.substr(0, pos); notification 546 chrome/service/cloud_print/cloud_print_proxy_backend.cc const notifier::Notification& notification) { notification 554 chrome/service/cloud_print/cloud_print_proxy_backend.cc notification.channel.c_str())) notification 555 chrome/service/cloud_print/cloud_print_proxy_backend.cc HandlePrinterNotification(notification.data); notification 108 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc const notifier::Notification& notification) { notification 111 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc TokenizeXmppMessage(notification.data, &device_id, &path); notification 120 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc LOG(ERROR) << "Cannot parse XMPP notification: " << notification.data; notification 82 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.h const notifier::Notification& notification) OVERRIDE; notification 189 cloud_print/virtual_driver/win/install/setup.cc UINT notification, notification 194 cloud_print/virtual_driver/win/install/setup.cc if (notification == SPFILENOTIFY_FILEINCABINET) { notification 89 content/browser/devtools/devtools_http_handler_impl.cc base::DictionaryValue notification; notification 90 content/browser/devtools/devtools_http_handler_impl.cc notification.SetString( notification 94 content/browser/devtools/devtools_http_handler_impl.cc notification.DeepCopy())->Serialize(); notification 150 content/browser/devtools/devtools_protocol.cc base::DictionaryValue notification; notification 151 content/browser/devtools/devtools_protocol.cc notification.SetString(kMethodParam, method_); notification 153 content/browser/devtools/devtools_protocol.cc notification.Set(kParamsParam, params_->DeepCopy()); notification 156 content/browser/devtools/devtools_protocol.cc base::JSONWriter::Write(¬ification, &json_notification); notification 188 content/browser/devtools/devtools_protocol.cc scoped_refptr<DevToolsProtocol::Notification> notification = notification 190 content/browser/devtools/devtools_protocol.cc SendRawMessage(notification->Serialize()); notification 387 content/browser/devtools/render_view_devtools_agent_host.cc scoped_refptr<DevToolsProtocol::Notification> notification = notification 391 content/browser/devtools/render_view_devtools_agent_host.cc DispatchOnInspectorFrontend(this, notification->Serialize()); notification 179 content/browser/devtools/shared_worker_devtools_manager.cc std::string notification = notification 184 content/browser/devtools/shared_worker_devtools_manager.cc agent_host, notification); notification 178 content/browser/devtools/worker_devtools_manager.cc std::string notification = DevToolsProtocol::CreateNotification( notification 180 content/browser/devtools/worker_devtools_manager.cc devtools_manager->DispatchOnInspectorFrontend(agent, notification); notification 793 content/browser/loader/resource_dispatcher_host_unittest.cc void SetNetworkStartNotificationJobGeneration(bool notification) { notification 794 content/browser/loader/resource_dispatcher_host_unittest.cc network_start_notification_ = notification; notification 22 content/renderer/active_notification_tracker.cc const WebNotification& notification, int& id) { notification 23 content/renderer/active_notification_tracker.cc ReverseTable::iterator iter = reverse_notification_table_.find(notification); notification 31 content/renderer/active_notification_tracker.cc int id, WebNotification* notification) { notification 36 content/renderer/active_notification_tracker.cc *notification = *lookup; notification 46 content/renderer/active_notification_tracker.cc WebNotification* notification = new WebNotification(proxy); notification 47 content/renderer/active_notification_tracker.cc int id = notification_table_.Add(notification); notification 55 content/renderer/active_notification_tracker.cc scoped_ptr<WebNotification> notification(notification_table_.Lookup(id)); notification 57 content/renderer/active_notification_tracker.cc DCHECK(notification.get()); notification 58 content/renderer/active_notification_tracker.cc if (notification) notification 59 content/renderer/active_notification_tracker.cc reverse_notification_table_.erase(*notification); notification 31 content/renderer/active_notification_tracker.h int RegisterNotification(const blink::WebNotification& notification); notification 33 content/renderer/active_notification_tracker.h bool GetId(const blink::WebNotification& notification, int& id); notification 34 content/renderer/active_notification_tracker.h bool GetNotification(int id, blink::WebNotification* notification); notification 37 content/renderer/notification_provider.cc bool NotificationProvider::show(const WebNotification& notification) { notification 39 content/renderer/notification_provider.cc int notification_id = manager_.RegisterNotification(notification); notification 43 content/renderer/notification_provider.cc params.icon_url = notification.iconURL(); notification 44 content/renderer/notification_provider.cc params.title = notification.title(); notification 45 content/renderer/notification_provider.cc params.body = notification.body(); notification 46 content/renderer/notification_provider.cc params.direction = notification.direction(); notification 48 content/renderer/notification_provider.cc params.replace_id = notification.replaceId(); notification 52 content/renderer/notification_provider.cc void NotificationProvider::cancel(const WebNotification& notification) { notification 54 content/renderer/notification_provider.cc bool id_found = manager_.GetId(notification, id); notification 61 content/renderer/notification_provider.cc const WebNotification& notification) { notification 63 content/renderer/notification_provider.cc bool id_found = manager_.GetId(notification, id); notification 111 content/renderer/notification_provider.cc WebNotification notification; notification 112 content/renderer/notification_provider.cc bool found = manager_.GetNotification(id, ¬ification); notification 116 content/renderer/notification_provider.cc notification.dispatchDisplayEvent(); notification 120 content/renderer/notification_provider.cc WebNotification notification; notification 121 content/renderer/notification_provider.cc bool found = manager_.GetNotification(id, ¬ification); notification 125 content/renderer/notification_provider.cc notification.dispatchErrorEvent(message); notification 129 content/renderer/notification_provider.cc WebNotification notification; notification 130 content/renderer/notification_provider.cc bool found = manager_.GetNotification(id, ¬ification); notification 134 content/renderer/notification_provider.cc notification.dispatchCloseEvent(by_user); notification 140 content/renderer/notification_provider.cc WebNotification notification; notification 141 content/renderer/notification_provider.cc bool found = manager_.GetNotification(id, ¬ification); notification 145 content/renderer/notification_provider.cc notification.dispatchClickEvent(); notification 28 content/shell/renderer/test_runner/notification_presenter.cc WebNotification* notification = static_cast<WebNotification*>(context); notification 29 content/shell/renderer/test_runner/notification_presenter.cc notification->dispatchDisplayEvent(); notification 31 content/shell/renderer/test_runner/notification_presenter.cc delete notification; notification 50 content/shell/renderer/test_runner/notification_presenter.cc const WebNotification& notification = iter->second; notification 52 content/shell/renderer/test_runner/notification_presenter.cc WebNotification event_target(notification); notification 60 content/shell/renderer/test_runner/notification_presenter.cc const WebNotification& notification = active_notifications_.begin()->second; notification 61 content/shell/renderer/test_runner/notification_presenter.cc cancel(notification); notification 68 content/shell/renderer/test_runner/notification_presenter.cc bool NotificationPresenter::show(const WebNotification& notification) { notification 69 content/shell/renderer/test_runner/notification_presenter.cc if (!notification.replaceId().isEmpty()) { notification 70 content/shell/renderer/test_runner/notification_presenter.cc std::string replaceId(notification.replaceId().utf8()); notification 75 content/shell/renderer/test_runner/notification_presenter.cc replacements_[replaceId] = notification.title().utf8(); notification 79 content/shell/renderer/test_runner/notification_presenter.cc if (!notification.title().isEmpty()) notification 80 content/shell/renderer/test_runner/notification_presenter.cc delegate_->printMessage(notification.title().utf8().data()); notification 82 content/shell/renderer/test_runner/notification_presenter.cc if (notification.direction() == WebTextDirectionRightToLeft) notification 87 content/shell/renderer/test_runner/notification_presenter.cc if (!notification.body().isEmpty()) { notification 89 content/shell/renderer/test_runner/notification_presenter.cc notification.body().utf8().data()); notification 92 content/shell/renderer/test_runner/notification_presenter.cc if (!notification.replaceId().isEmpty()) { notification 94 content/shell/renderer/test_runner/notification_presenter.cc notification.replaceId().utf8().data()); notification 97 content/shell/renderer/test_runner/notification_presenter.cc if (!notification.iconURL().isEmpty()) { notification 99 content/shell/renderer/test_runner/notification_presenter.cc notification.iconURL().spec().data()); notification 104 content/shell/renderer/test_runner/notification_presenter.cc std::string title = notification.title().utf8(); notification 105 content/shell/renderer/test_runner/notification_presenter.cc active_notifications_[title] = notification; notification 108 content/shell/renderer/test_runner/notification_presenter.cc new WebNotification(notification)); notification 113 content/shell/renderer/test_runner/notification_presenter.cc void NotificationPresenter::cancel(const WebNotification& notification) { notification 114 content/shell/renderer/test_runner/notification_presenter.cc std::string title = notification.title().utf8(); notification 119 content/shell/renderer/test_runner/notification_presenter.cc WebNotification event_target(notification); notification 126 content/shell/renderer/test_runner/notification_presenter.cc const WebNotification& notification) { notification 127 content/shell/renderer/test_runner/notification_presenter.cc std::string title = notification.title().utf8(); notification 41 content/shell/renderer/test_runner/notification_presenter.h virtual bool show(const blink::WebNotification& notification); notification 42 content/shell/renderer/test_runner/notification_presenter.h virtual void cancel(const blink::WebNotification& notification); notification 43 content/shell/renderer/test_runner/notification_presenter.h virtual void objectDestroyed(const blink::WebNotification& notification); notification 34 jingle/notifier/listener/fake_push_client.cc void FakePushClient::SendNotification(const Notification& notification) { notification 35 jingle/notifier/listener/fake_push_client.cc sent_notifications_.push_back(notification); notification 54 jingle/notifier/listener/fake_push_client.cc const Notification& notification) { notification 56 jingle/notifier/listener/fake_push_client.cc OnIncomingNotification(notification)); notification 31 jingle/notifier/listener/fake_push_client.h virtual void SendNotification(const Notification& notification) OVERRIDE; notification 41 jingle/notifier/listener/fake_push_client.h void SimulateIncomingNotification(const Notification& notification); notification 24 jingle/notifier/listener/fake_push_client_observer.cc const Notification& notification) { notification 25 jingle/notifier/listener/fake_push_client_observer.cc last_incoming_notification_ = notification; notification 24 jingle/notifier/listener/fake_push_client_observer.h const Notification& notification) OVERRIDE; notification 47 jingle/notifier/listener/non_blocking_push_client.cc const Notification& notification) OVERRIDE; notification 109 jingle/notifier/listener/non_blocking_push_client.cc const Notification& notification) { notification 112 jingle/notifier/listener/non_blocking_push_client.cc delegate_push_client_->SendNotification(notification); notification 139 jingle/notifier/listener/non_blocking_push_client.cc const Notification& notification) { notification 144 jingle/notifier/listener/non_blocking_push_client.cc parent_push_client_, notification)); notification 205 jingle/notifier/listener/non_blocking_push_client.cc const Notification& notification) { notification 210 jingle/notifier/listener/non_blocking_push_client.cc notification)); notification 234 jingle/notifier/listener/non_blocking_push_client.cc const Notification& notification) { notification 237 jingle/notifier/listener/non_blocking_push_client.cc OnIncomingNotification(notification)); notification 51 jingle/notifier/listener/non_blocking_push_client.h virtual void SendNotification(const Notification& notification) OVERRIDE; notification 59 jingle/notifier/listener/non_blocking_push_client.h void OnIncomingNotification(const Notification& notification); notification 94 jingle/notifier/listener/non_blocking_push_client_unittest.cc Notification notification; notification 95 jingle/notifier/listener/non_blocking_push_client_unittest.cc notification.channel = "channel"; notification 96 jingle/notifier/listener/non_blocking_push_client_unittest.cc notification.recipients.resize(10); notification 97 jingle/notifier/listener/non_blocking_push_client_unittest.cc notification.recipients[0].to = "to"; notification 98 jingle/notifier/listener/non_blocking_push_client_unittest.cc notification.recipients[9].user_specific_data = "user_specific_data"; notification 99 jingle/notifier/listener/non_blocking_push_client_unittest.cc notification.data = "data"; notification 100 jingle/notifier/listener/non_blocking_push_client_unittest.cc return notification; notification 105 jingle/notifier/listener/non_blocking_push_client_unittest.cc const Notification notification = MakeTestNotification(); notification 107 jingle/notifier/listener/non_blocking_push_client_unittest.cc push_client_->SendNotification(notification); notification 112 jingle/notifier/listener/non_blocking_push_client_unittest.cc fake_push_client_->sent_notifications()[0].Equals(notification)); notification 141 jingle/notifier/listener/non_blocking_push_client_unittest.cc const Notification notification = MakeTestNotification(); notification 143 jingle/notifier/listener/non_blocking_push_client_unittest.cc fake_push_client_->SimulateIncomingNotification(notification); notification 146 jingle/notifier/listener/non_blocking_push_client_unittest.cc fake_observer_.last_incoming_notification().Equals(notification)); notification 21 jingle/notifier/listener/notification_defines_unittest.cc Notification notification; notification 22 jingle/notifier/listener/notification_defines_unittest.cc notification.data = kNonUtf8Data; notification 23 jingle/notifier/listener/notification_defines_unittest.cc EXPECT_EQ("{ channel: \"\", data: \"\\u00FF\" }", notification.ToString()); notification 52 jingle/notifier/listener/push_client.h virtual void SendNotification(const Notification& notification) = 0; notification 41 jingle/notifier/listener/push_client_observer.h virtual void OnIncomingNotification(const Notification& notification) = 0; notification 66 jingle/notifier/listener/push_notifications_listen_task.cc Notification notification; notification 67 jingle/notifier/listener/push_notifications_listen_task.cc notification.channel = push_element->Attr(kQnChannel); notification 71 jingle/notifier/listener/push_notifications_listen_task.cc if (!base::Base64Decode(base64_encoded_data, ¬ification.data)) { notification 78 jingle/notifier/listener/push_notifications_listen_task.cc DVLOG(1) << "Received notification " << notification.ToString(); notification 79 jingle/notifier/listener/push_notifications_listen_task.cc delegate_->OnNotificationReceived(notification); notification 31 jingle/notifier/listener/push_notifications_listen_task.h virtual void OnNotificationReceived(const Notification& notification) = 0; notification 23 jingle/notifier/listener/push_notifications_send_update_task.cc buzz::XmppTaskParentInterface* parent, const Notification& notification) notification 24 jingle/notifier/listener/push_notifications_send_update_task.cc : XmppTask(parent), notification_(notification) {} notification 41 jingle/notifier/listener/push_notifications_send_update_task.cc const Notification& notification, notification 62 jingle/notifier/listener/push_notifications_send_update_task.cc push->AddAttr(kQnChannel, notification.channel); notification 65 jingle/notifier/listener/push_notifications_send_update_task.cc const RecipientList& recipients = notification.recipients; notification 81 jingle/notifier/listener/push_notifications_send_update_task.cc base::Base64Encode(notification.data, &base64_data); notification 26 jingle/notifier/listener/push_notifications_send_update_task.h buzz::XmppTaskParentInterface* parent, const Notification& notification); notification 35 jingle/notifier/listener/push_notifications_send_update_task.h const Notification& notification, const buzz::Jid& to_jid_bare); notification 34 jingle/notifier/listener/push_notifications_send_update_task_unittest.cc Notification notification; notification 35 jingle/notifier/listener/push_notifications_send_update_task_unittest.cc notification.channel = "test_channel"; notification 36 jingle/notifier/listener/push_notifications_send_update_task_unittest.cc notification.data = "test_data"; notification 39 jingle/notifier/listener/push_notifications_send_update_task_unittest.cc base::Base64Encode(notification.data, &base64_data); notification 43 jingle/notifier/listener/push_notifications_send_update_task_unittest.cc notification, to_jid_bare_)); notification 53 jingle/notifier/listener/push_notifications_send_update_task_unittest.cc to_jid_bare_.Str().c_str(), notification.channel.c_str(), notification 81 jingle/notifier/listener/xmpp_push_client.cc const Notification& notification) { notification 84 jingle/notifier/listener/xmpp_push_client.cc OnIncomingNotification(notification)); notification 140 jingle/notifier/listener/xmpp_push_client.cc void XmppPushClient::SendNotification(const Notification& notification) { notification 145 jingle/notifier/listener/xmpp_push_client.cc << notification.ToString() << "; sending later"; notification 146 jingle/notifier/listener/xmpp_push_client.cc pending_notifications_to_send_.push_back(notification); notification 151 jingle/notifier/listener/xmpp_push_client.cc new PushNotificationsSendUpdateTask(base_task_.get(), notification); notification 53 jingle/notifier/listener/xmpp_push_client.h virtual void SendNotification(const Notification& notification) OVERRIDE; notification 64 jingle/notifier/listener/xmpp_push_client.h const Notification& notification) OVERRIDE; notification 96 net/cookies/cookie_monster_store_test.cc CookieNotification notification(cookie, removed); notification 97 net/cookies/cookie_monster_store_test.cc changes_.push_back(notification); notification 82 remoting/host/mac/me2me_preference_pane.h - (void)onNewConfigFile:(NSNotification*)notification; notification 244 sync/notifier/p2p_invalidator.cc const notifier::Notification& notification) { notification 246 sync/notifier/p2p_invalidator.cc DVLOG(1) << "Received notification " << notification.ToString(); notification 255 sync/notifier/p2p_invalidator.cc if (notification.channel != kSyncP2PNotificationChannel) { notification 257 sync/notifier/p2p_invalidator.cc << notification.channel; notification 260 sync/notifier/p2p_invalidator.cc if (!notification_data.ResetFromString(notification.data)) { notification 262 sync/notifier/p2p_invalidator.cc << notification.data; notification 292 sync/notifier/p2p_invalidator.cc notifier::Notification notification; notification 293 sync/notifier/p2p_invalidator.cc notification.channel = kSyncP2PNotificationChannel; notification 294 sync/notifier/p2p_invalidator.cc notification.data = notification_data.ToString(); notification 295 sync/notifier/p2p_invalidator.cc DVLOG(1) << "Sending XMPP notification: " << notification.ToString(); notification 296 sync/notifier/p2p_invalidator.cc push_client_->SendNotification(notification); notification 121 sync/notifier/p2p_invalidator.h const notifier::Notification& notification) OVERRIDE; notification 71 sync/notifier/p2p_invalidator_unittest.cc notifier::Notification notification; notification 72 sync/notifier/p2p_invalidator_unittest.cc notification.channel = kSyncP2PNotificationChannel; notification 73 sync/notifier/p2p_invalidator_unittest.cc notification.data = notification_data.ToString(); notification 74 sync/notifier/p2p_invalidator_unittest.cc fake_push_client_->SimulateIncomingNotification(notification); notification 54 sync/notifier/push_client_channel.cc notifier::Notification notification; notification 55 sync/notifier/push_client_channel.cc notification.channel = kChannelName; notification 56 sync/notifier/push_client_channel.cc notification.recipients.push_back(recipient); notification 57 sync/notifier/push_client_channel.cc notification.data = encoded_message; notification 58 sync/notifier/push_client_channel.cc push_client_->SendNotification(notification); notification 72 sync/notifier/push_client_channel.cc const notifier::Notification& notification) { notification 77 sync/notifier/push_client_channel.cc notification.data, &message, &service_context, &scheduling_hash)) { notification 52 sync/notifier/push_client_channel.h const notifier::Notification& notification) OVERRIDE; notification 62 sync/notifier/push_client_channel.h static bool DecodeMessageForTest(const std::string& notification, notification 167 sync/notifier/push_client_channel_unittest.cc notifier::Notification notification; notification 168 sync/notifier/push_client_channel_unittest.cc notification.data = notification 171 sync/notifier/push_client_channel_unittest.cc fake_push_client_->SimulateIncomingNotification(notification); notification 185 sync/notifier/push_client_channel_unittest.cc notifier::Notification notification; notification 186 sync/notifier/push_client_channel_unittest.cc notification.data = PushClientChannel::EncodeMessageForTest( notification 188 sync/notifier/push_client_channel_unittest.cc fake_push_client_->SimulateIncomingNotification(notification); notification 199 sync/notifier/push_client_channel_unittest.cc notifier::Notification notification; notification 200 sync/notifier/push_client_channel_unittest.cc notification.data = "garbage"; notification 201 sync/notifier/push_client_channel_unittest.cc fake_push_client_->SimulateIncomingNotification(notification); notification 229 sync/notifier/push_client_channel_unittest.cc notifier::Notification notification; notification 230 sync/notifier/push_client_channel_unittest.cc notification.data = PushClientChannel::EncodeMessageForTest( notification 232 sync/notifier/push_client_channel_unittest.cc fake_push_client_->SimulateIncomingNotification(notification); notification 356 sync/protocol/proto_value_conversions.cc SET_REP(notification, SyncedNotificationToValue); notification 165 sync/protocol/proto_value_conversions.h const sync_pb::SyncedNotification& notification); notification 10 third_party/ocmock/OCMock/OCMNotificationPoster.h NSNotification *notification; notification 210 third_party/speech-dispatcher/libspeechd.h int spd_set_notification_on(SPDConnection* connection, SPDNotification notification); notification 211 third_party/speech-dispatcher/libspeechd.h int spd_set_notification_off(SPDConnection* connection, SPDNotification notification); notification 212 third_party/speech-dispatcher/libspeechd.h int spd_set_notification(SPDConnection* connection, SPDNotification notification, const char* state); notification 42 tools/android/memconsumer/java/src/org/chromium/memconsumer/ResidentService.java Notification notification = notification 49 tools/android/memconsumer/java/src/org/chromium/memconsumer/ResidentService.java startForeground(RESIDENT_NOTIFICATION_ID, notification); notification 48 ui/base/cocoa/find_pasteboard.h - (void)loadTextFromPasteboard:(NSNotification*)notification; notification 66 ui/message_center/cocoa/notification_controller.h - (id)initWithNotification:(const message_center::Notification*)notification notification 71 ui/message_center/cocoa/notification_controller.h - (NSRect)updateNotification:(const message_center::Notification*)notification; notification 77 ui/message_center/cocoa/notification_controller.h - (const message_center::Notification*)notification; notification 61 ui/message_center/cocoa/popup_controller.h - (id)initWithNotification:(const message_center::Notification*)notification notification 69 ui/message_center/cocoa/popup_controller.h - (const message_center::Notification*)notification; notification 63 ui/message_center/fake_message_center.cc void FakeMessageCenter::AddNotification(scoped_ptr<Notification> notification) { notification 35 ui/message_center/fake_message_center.h virtual void AddNotification(scoped_ptr<Notification> notification) OVERRIDE; notification 80 ui/message_center/message_center.h virtual void AddNotification(scoped_ptr<Notification> notification) = 0; notification 55 ui/message_center/message_center_impl.cc scoped_ptr<Notification> notification); notification 92 ui/message_center/message_center_impl.cc void AddNotification(scoped_ptr<Notification> notification); notification 96 ui/message_center/message_center_impl.cc scoped_ptr<Notification> notification); notification 131 ui/message_center/message_center_impl.cc scoped_ptr<Notification> notification) notification 136 ui/message_center/message_center_impl.cc notification_(notification.Pass()) { notification 180 ui/message_center/message_center_impl.cc void ChangeQueue::AddNotification(scoped_ptr<Notification> notification) { notification 181 ui/message_center/message_center_impl.cc std::string id = notification->id(); notification 184 ui/message_center/message_center_impl.cc new Change(CHANGE_TYPE_ADD, id, notification.Pass())); notification 189 ui/message_center/message_center_impl.cc scoped_ptr<Notification> notification) { notification 190 ui/message_center/message_center_impl.cc std::string new_id = notification->id(); notification 192 ui/message_center/message_center_impl.cc new Change(CHANGE_TYPE_UPDATE, new_id, notification.Pass())); notification 215 ui/message_center/message_center_impl.cc return (*iter)->notification(); notification 551 ui/message_center/message_center_impl.cc void MessageCenterImpl::AddNotification(scoped_ptr<Notification> notification) { notification 552 ui/message_center/message_center_impl.cc DCHECK(notification.get()); notification 554 ui/message_center/message_center_impl.cc notification->set_shown_as_popup(false); notification 555 ui/message_center/message_center_impl.cc notification->set_never_timeout(true); notification 556 ui/message_center/message_center_impl.cc notification->set_priority(message_center::DEFAULT_PRIORITY); notification 563 ui/message_center/message_center_impl.cc notification_queue_->AddNotification(notification.Pass()); notification 570 ui/message_center/message_center_impl.cc const std::string& id = notification->id(); notification 572 ui/message_center/message_center_impl.cc notification_list_->AddNotification(notification.Pass()); notification 159 ui/message_center/message_center_impl.h virtual void AddNotification(scoped_ptr<Notification> notification) OVERRIDE; notification 589 ui/message_center/message_center_impl_unittest.cc scoped_ptr<Notification> notification(CreateSimpleNotification(id)); notification 590 ui/message_center/message_center_impl_unittest.cc message_center()->AddNotification(notification.Pass()); notification 591 ui/message_center/message_center_impl_unittest.cc notification.reset(CreateSimpleNotification(id2)); notification 592 ui/message_center/message_center_impl_unittest.cc message_center()->UpdateNotification(id, notification.Pass()); notification 600 ui/message_center/message_center_impl_unittest.cc notification.reset(CreateSimpleNotification(id)); notification 601 ui/message_center/message_center_impl_unittest.cc message_center()->UpdateNotification(id2, notification.Pass()); notification 615 ui/message_center/message_center_impl_unittest.cc scoped_ptr<Notification> notification; notification 619 ui/message_center/message_center_impl_unittest.cc notification.reset(CreateSimpleNotification(ids[i])); notification 620 ui/message_center/message_center_impl_unittest.cc message_center()->AddNotification(notification.Pass()); notification 629 ui/message_center/message_center_impl_unittest.cc notification.reset(CreateNotification(ids[4], NOTIFICATION_TYPE_PROGRESS)); notification 630 ui/message_center/message_center_impl_unittest.cc message_center()->AddNotification(notification.Pass()); notification 637 ui/message_center/message_center_impl_unittest.cc notification.reset(CreateSimpleNotification(ids[3])); notification 638 ui/message_center/message_center_impl_unittest.cc message_center()->UpdateNotification(ids[1], notification.Pass()); notification 640 ui/message_center/message_center_impl_unittest.cc notification.reset(CreateSimpleNotification(ids[4])); notification 641 ui/message_center/message_center_impl_unittest.cc message_center()->UpdateNotification(ids[4], notification.Pass()); notification 643 ui/message_center/message_center_impl_unittest.cc notification.reset(CreateNotification(ids[4], NOTIFICATION_TYPE_PROGRESS)); notification 644 ui/message_center/message_center_impl_unittest.cc message_center()->UpdateNotification(ids[4], notification.Pass()); notification 647 ui/message_center/message_center_impl_unittest.cc notification.reset(CreateSimpleNotification("New id")); notification 648 ui/message_center/message_center_impl_unittest.cc message_center()->UpdateNotification(ids[3], notification.Pass()); notification 652 ui/message_center/message_center_impl_unittest.cc notification.reset(CreateSimpleNotification(ids[3])); notification 653 ui/message_center/message_center_impl_unittest.cc message_center()->AddNotification(notification.Pass()); notification 684 ui/message_center/message_center_impl_unittest.cc scoped_ptr<Notification> notification(CreateSimpleNotification(id)); notification 687 ui/message_center/message_center_impl_unittest.cc const std::vector<ButtonInfo>& original_buttons = notification->buttons(); notification 690 ui/message_center/message_center_impl_unittest.cc EXPECT_EQ(original_size, notification->icon().Size()); notification 691 ui/message_center/message_center_impl_unittest.cc EXPECT_EQ(original_size, notification->image().Size()); notification 695 ui/message_center/message_center_impl_unittest.cc message_center()->AddNotification(notification.Pass()); notification 81 ui/message_center/message_center_tray_unittest.cc scoped_ptr<Notification> notification( notification 91 ui/message_center/message_center_tray_unittest.cc message_center_->AddNotification(notification.Pass()); notification 186 ui/message_center/message_center_tray_unittest.cc scoped_ptr<Notification> notification( notification 196 ui/message_center/message_center_tray_unittest.cc notification->SetSystemPriority(); notification 197 ui/message_center/message_center_tray_unittest.cc message_center_->AddNotification(notification.Pass()); notification 261 ui/message_center/message_center_tray_unittest.cc scoped_ptr<Notification> notification( notification 271 ui/message_center/message_center_tray_unittest.cc message_center_->AddNotification(notification.Pass()); notification 137 ui/message_center/notification.cc scoped_ptr<Notification> notification( notification 148 ui/message_center/notification.cc notification->SetSystemPriority(); notification 149 ui/message_center/notification.cc return notification.Pass(); notification 21 ui/message_center/notification_list.cc const Notification& notification, notification 24 ui/message_center/notification_list.cc if (!blockers[i]->ShouldShowNotificationAsPopup(notification.notifier_id())) notification 75 ui/message_center/notification_list.cc Notification* notification = *iter; notification 76 ui/message_center/notification_list.cc bool was_popup = notification->shown_as_popup(); notification 77 ui/message_center/notification_list.cc bool was_read = notification->IsRead(); notification 78 ui/message_center/notification_list.cc if (notification->priority() < SYSTEM_PRIORITY) notification 79 ui/message_center/notification_list.cc notification->set_shown_as_popup(true); notification 80 ui/message_center/notification_list.cc notification->set_is_read(true); notification 82 ui/message_center/notification_list.cc updated_ids->insert(notification->id()); notification 86 ui/message_center/notification_list.cc void NotificationList::AddNotification(scoped_ptr<Notification> notification) { notification 87 ui/message_center/notification_list.cc PushNotification(notification.Pass()); notification 323 ui/message_center/notification_list.cc void NotificationList::PushNotification(scoped_ptr<Notification> notification) { notification 326 ui/message_center/notification_list.cc Notifications::iterator iter = GetNotification(notification->id()); notification 329 ui/message_center/notification_list.cc notification->CopyState(*iter); notification 337 ui/message_center/notification_list.cc notification->set_is_read(false); notification 338 ui/message_center/notification_list.cc notification->set_shown_as_popup(message_center_visible_ notification 340 ui/message_center/notification_list.cc || notification->shown_as_popup()); notification 344 ui/message_center/notification_list.cc notifications_.insert(notification.release()); notification 63 ui/message_center/notification_list.h void AddNotification(scoped_ptr<Notification> notification); notification 145 ui/message_center/notification_list.h void PushNotification(scoped_ptr<Notification> notification); notification 39 ui/message_center/notification_list_unittest.cc scoped_ptr<Notification> notification( notification 41 ui/message_center/notification_list_unittest.cc notification_list_->AddNotification(notification.Pass()); notification 55 ui/message_center/notification_list_unittest.cc scoped_ptr<Notification> notification(new Notification( notification 65 ui/message_center/notification_list_unittest.cc return notification.Pass(); notification 188 ui/message_center/notification_list_unittest.cc scoped_ptr<Notification> notification( notification 198 ui/message_center/notification_list_unittest.cc notification_list()->UpdateNotificationMessage(id0, notification.Pass()); notification 212 ui/message_center/notification_list_unittest.cc scoped_ptr<Notification> notification( notification 222 ui/message_center/notification_list_unittest.cc notification_list()->AddNotification(notification.Pass()); notification 223 ui/message_center/notification_list_unittest.cc notification.reset(new Notification(message_center::NOTIFICATION_TYPE_SIMPLE, notification 232 ui/message_center/notification_list_unittest.cc notification_list()->AddNotification(notification.Pass()); notification 233 ui/message_center/notification_list_unittest.cc notification.reset(new Notification(message_center::NOTIFICATION_TYPE_SIMPLE, notification 242 ui/message_center/notification_list_unittest.cc notification_list()->AddNotification(notification.Pass()); notification 243 ui/message_center/notification_list_unittest.cc notification.reset(new Notification(message_center::NOTIFICATION_TYPE_SIMPLE, notification 252 ui/message_center/notification_list_unittest.cc notification_list()->AddNotification(notification.Pass()); notification 253 ui/message_center/notification_list_unittest.cc notification.reset(new Notification(message_center::NOTIFICATION_TYPE_SIMPLE, notification 262 ui/message_center/notification_list_unittest.cc notification_list()->AddNotification(notification.Pass()); notification 263 ui/message_center/notification_list_unittest.cc notification.reset(new Notification(message_center::NOTIFICATION_TYPE_SIMPLE, notification 272 ui/message_center/notification_list_unittest.cc notification_list()->AddNotification(notification.Pass()); notification 421 ui/message_center/notification_list_unittest.cc scoped_ptr<Notification> notification( notification 431 ui/message_center/notification_list_unittest.cc notification_list()->UpdateNotificationMessage(id0, notification.Pass()); notification 452 ui/message_center/notification_list_unittest.cc scoped_ptr<Notification> notification( notification 462 ui/message_center/notification_list_unittest.cc notification_list()->UpdateNotificationMessage(id0, notification.Pass()); notification 468 ui/message_center/notification_list_unittest.cc notification.reset(new Notification(message_center::NOTIFICATION_TYPE_SIMPLE, notification 478 ui/message_center/notification_list_unittest.cc notification_list()->UpdateNotificationMessage(id0, notification.Pass()); notification 483 ui/message_center/notification_list_unittest.cc notification.reset(new Notification(message_center::NOTIFICATION_TYPE_SIMPLE, notification 493 ui/message_center/notification_list_unittest.cc notification_list()->UpdateNotificationMessage(id1, notification.Pass()); notification 500 ui/message_center/notification_list_unittest.cc notification.reset(new Notification(message_center::NOTIFICATION_TYPE_SIMPLE, notification 510 ui/message_center/notification_list_unittest.cc notification_list()->UpdateNotificationMessage(id1, notification.Pass()); notification 517 ui/message_center/notification_list_unittest.cc notification.reset(new Notification(message_center::NOTIFICATION_TYPE_SIMPLE, notification 527 ui/message_center/notification_list_unittest.cc notification_list()->UpdateNotificationMessage(id1, notification.Pass()); notification 623 ui/message_center/notification_list_unittest.cc scoped_ptr<Notification> notification( notification 633 ui/message_center/notification_list_unittest.cc notification_list()->UpdateNotificationMessage(id1, notification.Pass()); notification 686 ui/message_center/notification_list_unittest.cc scoped_ptr<Notification> notification(MakeNotification(&id1)); notification 687 ui/message_center/notification_list_unittest.cc notification->set_shown_as_popup(true); notification 690 ui/message_center/notification_list_unittest.cc notification_list()->PushNotification(notification.Pass()); notification 970 ui/message_center/views/message_center_view.cc void MessageCenterView::AddNotificationAt(const Notification& notification, notification 973 ui/message_center/views/message_center_view.cc NotificationView::Create(this, notification, false); // Not top-level. notification 975 ui/message_center/views/message_center_view.cc notification_views_[notification.id()] = view; notification 100 ui/message_center/views/message_center_view.h void AddNotificationAt(const Notification& notification, int index); notification 39 ui/message_center/views/message_center_view_unittest.cc const Notification& notification, notification 54 ui/message_center/views/message_center_view_unittest.cc const Notification& notification, notification 56 ui/message_center/views/message_center_view_unittest.cc : NotificationView(controller, notification), notification 132 ui/message_center/views/message_center_view_unittest.cc Notification notification(NOTIFICATION_TYPE_SIMPLE, notification 144 ui/message_center/views/message_center_view_unittest.cc notifications.insert(¬ification); notification 155 ui/message_center/views/message_center_view_unittest.cc mock = new MockNotificationView(this, notification, this); notification 156 ui/message_center/views/message_center_view_unittest.cc message_center_view_->notification_views_[notification.id()] = mock; notification 87 ui/message_center/views/message_popup_collection_unittest.cc scoped_ptr<Notification> notification( notification 97 ui/message_center/views/message_popup_collection_unittest.cc MessageCenter::Get()->AddNotification(notification.Pass()); notification 265 ui/message_center/views/notification_view.cc const Notification& notification, notification 267 ui/message_center/views/notification_view.cc switch (notification.type()) { notification 281 ui/message_center/views/notification_view.cc << "notification type " << notification.type() << ". " notification 287 ui/message_center/views/notification_view.cc new NotificationView(controller, notification); notification 300 ui/message_center/views/notification_view.cc const Notification& notification) notification 302 ui/message_center/views/notification_view.cc notification.id(), notification 303 ui/message_center/views/notification_view.cc notification.notifier_id(), notification 304 ui/message_center/views/notification_view.cc notification.small_image().AsImageSkia(), notification 305 ui/message_center/views/notification_view.cc notification.display_source()), notification 307 ui/message_center/views/notification_view.cc clickable_(notification.clickable()) { notification 322 ui/message_center/views/notification_view.cc if (!notification.title().empty()) { notification 327 ui/message_center/views/notification_view.cc gfx::TruncateString(notification.title(), kTitleCharacterLimit), notification 335 ui/message_center/views/notification_view.cc accessible_lines.push_back(notification.title()); notification 340 ui/message_center/views/notification_view.cc if (!notification.message().empty()) { notification 343 ui/message_center/views/notification_view.cc gfx::TruncateString(notification.message(), kMessageCharacterLimit)); notification 345 ui/message_center/views/notification_view.cc message_view_->SetVisible(!notification.items().size()); notification 350 ui/message_center/views/notification_view.cc accessible_lines.push_back(notification.message()); notification 355 ui/message_center/views/notification_view.cc if (!notification.context_message().empty()) { notification 358 ui/message_center/views/notification_view.cc new BoundedLabel(gfx::TruncateString(notification.context_message(), notification 368 ui/message_center/views/notification_view.cc accessible_lines.push_back(notification.context_message()); notification 373 ui/message_center/views/notification_view.cc if (notification.type() == NOTIFICATION_TYPE_PROGRESS) { notification 377 ui/message_center/views/notification_view.cc progress_bar_view_->SetValue(notification.progress() / 100.0); notification 383 ui/message_center/views/notification_view.cc std::vector<NotificationItem> items = notification.items(); notification 394 ui/message_center/views/notification_view.cc gfx::ImageSkia icon = notification.icon().AsImageSkia(); notification 395 ui/message_center/views/notification_view.cc if (notification.type() == NOTIFICATION_TYPE_SIMPLE && notification 421 ui/message_center/views/notification_view.cc if (!notification.image().IsEmpty()) { notification 424 ui/message_center/views/notification_view.cc image_view_ = MakeNotificationImage(notification.image(), image_size); notification 429 ui/message_center/views/notification_view.cc std::vector<ButtonInfo> buttons = notification.buttons(); notification 40 ui/message_center/views/notification_view.h const Notification& notification, notification 69 ui/message_center/views/notification_view.h const Notification& notification); notification 317 win8/metro_driver/chrome_app_view.cc const ToastNotificationHandler::DesktopNotification& notification) { notification 320 win8/metro_driver/chrome_app_view.cc if (IsValidNotification(notification.id)) { notification 330 win8/metro_driver/chrome_app_view.cc notification_map_[notification.id].reset(notification_handler); notification 331 win8/metro_driver/chrome_app_view.cc notification_handler->DisplayNotification(notification); notification 334 win8/metro_driver/chrome_app_view.cc void ChromeAppView::CancelNotification(const std::string& notification) { notification 339 win8/metro_driver/chrome_app_view.cc NotificationMap::iterator index = notification_map_.find(notification); notification 341 win8/metro_driver/chrome_app_view.cc NOTREACHED() << "Invalid notification:" << notification.c_str(); notification 354 win8/metro_driver/chrome_app_view.cc bool ChromeAppView::IsValidNotification(const std::string& notification) { notification 358 win8/metro_driver/chrome_app_view.cc return notification_map_.find(notification) != notification_map_.end(); notification 522 win8/metro_driver/chrome_app_view.cc ToastNotificationHandler::DesktopNotification notification(origin_url, notification 532 win8/metro_driver/chrome_app_view.cc globals.view, notification)); notification 54 win8/metro_driver/chrome_app_view.h const ToastNotificationHandler::DesktopNotification& notification); notification 57 win8/metro_driver/chrome_app_view.h void CancelNotification(const std::string& notification); notification 60 win8/metro_driver/chrome_app_view.h bool IsValidNotification(const std::string& notification); notification 134 win8/metro_driver/toast_notification_handler.cc const DesktopNotification& notification) { notification 140 win8/metro_driver/toast_notification_handler.cc notification_info_ = notification; notification 166 win8/metro_driver/toast_notification_handler.cc hr = CreateTextNode(toast_xml.Get(), 0, notification.title); notification 169 win8/metro_driver/toast_notification_handler.cc hr = CreateTextNode(toast_xml.Get(), 1, notification.body); notification 240 win8/metro_driver/toast_notification_handler.cc winui::Notifications::IToastNotification* notification, notification 42 win8/metro_driver/toast_notification_handler.h void DisplayNotification(const DesktopNotification& notification); notification 45 win8/metro_driver/toast_notification_handler.h HRESULT OnActivate(winui::Notifications::IToastNotification* notification,