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

Side by Side Diff: chrome/browser/download/notification/download_notification.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/download/notification/download_notification.h" 5 #include "chrome/browser/download/notification/download_notification.h"
6 6
7 #include "base/macros.h"
7 #include "chrome/browser/download/notification/download_notification_manager.h" 8 #include "chrome/browser/download/notification/download_notification_manager.h"
8 9
9 namespace { 10 namespace {
10 11
11 /////////////////////////////////////////////////////////////////////////////// 12 ///////////////////////////////////////////////////////////////////////////////
12 // NotificationWatcher class: 13 // NotificationWatcher class:
13 /////////////////////////////////////////////////////////////////////////////// 14 ///////////////////////////////////////////////////////////////////////////////
14 15
15 class NotificationWatcher : public NotificationDelegate { 16 class NotificationWatcher : public NotificationDelegate {
16 public: 17 public:
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 68
68 NotificationDelegate* DownloadNotification::watcher() const { 69 NotificationDelegate* DownloadNotification::watcher() const {
69 return watcher_.get(); 70 return watcher_.get();
70 } 71 }
71 72
72 void DownloadNotification::InvokeUnsafeForceNotificationFlush( 73 void DownloadNotification::InvokeUnsafeForceNotificationFlush(
73 message_center::MessageCenter* message_center, const std::string& id) { 74 message_center::MessageCenter* message_center, const std::string& id) {
74 DCHECK(message_center); 75 DCHECK(message_center);
75 message_center->ForceNotificationFlush(id); 76 message_center->ForceNotificationFlush(id);
76 } 77 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698