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

Side by Side Diff: chrome/browser/notifications/notification_system_observer.h

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_SYSTEM_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_SYSTEM_OBSERVER_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_SYSTEM_OBSERVER_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_SYSTEM_OBSERVER_H_
7 7
8 #include "content/public/browser/notification_observer.h" 8 #include "content/public/browser/notification_observer.h"
9 #include "content/public/browser/notification_registrar.h" 9 #include "content/public/browser/notification_registrar.h"
10 10
11 class NotificationUIManager; 11 class NotificationUIManager;
12 12
13 // The content::NotificationObserver observes system status change and sends 13 // The content::NotificationObserver observes system status change and sends
14 // events to NotificationUIManager. 14 // events to NotificationUIManager.
15 class NotificationSystemObserver : public content::NotificationObserver { 15 class NotificationSystemObserver : public content::NotificationObserver {
16 public: 16 public:
17 explicit NotificationSystemObserver(NotificationUIManager* ui_manager); 17 explicit NotificationSystemObserver(NotificationUIManager* ui_manager);
18 virtual ~NotificationSystemObserver(); 18 virtual ~NotificationSystemObserver();
19 19
20 protected: 20 protected:
21 // content::NotificationObserver override. 21 // content::NotificationObserver override.
22 virtual void Observe(int type, 22 virtual void Observe(int type,
23 const content::NotificationSource& source, 23 const content::NotificationSource& source,
24 const content::NotificationDetails& details) OVERRIDE; 24 const content::NotificationDetails& details) override;
25 25
26 private: 26 private:
27 // Registrar for the other kind of notifications (event signaling). 27 // Registrar for the other kind of notifications (event signaling).
28 content::NotificationRegistrar registrar_; 28 content::NotificationRegistrar registrar_;
29 NotificationUIManager* ui_manager_; 29 NotificationUIManager* ui_manager_;
30 30
31 DISALLOW_COPY_AND_ASSIGN(NotificationSystemObserver); 31 DISALLOW_COPY_AND_ASSIGN(NotificationSystemObserver);
32 }; 32 };
33 33
34 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_SYSTEM_OBSERVER_H_ 34 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_SYSTEM_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/notification_object_proxy.h ('k') | chrome/browser/notifications/notification_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698