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

Side by Side Diff: chrome/browser/extensions/extension_notification_observer.h

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_EXTENSIONS_EXTENSION_NOTIFICATION_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_NOTIFICATION_OBSERVER_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_NOTIFICATION_OBSERVER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_NOTIFICATION_OBSERVER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 extensions::NotificationType t3, 46 extensions::NotificationType t3,
47 extensions::NotificationType t4, 47 extensions::NotificationType t4,
48 extensions::NotificationType t5, 48 extensions::NotificationType t5,
49 extensions::NotificationType t6) 49 extensions::NotificationType t6)
50 WARN_UNUSED_RESULT; 50 WARN_UNUSED_RESULT;
51 51
52 private: 52 private:
53 // content::NotificationObserver implementation. 53 // content::NotificationObserver implementation.
54 virtual void Observe(int type, 54 virtual void Observe(int type,
55 const content::NotificationSource& source, 55 const content::NotificationSource& source,
56 const content::NotificationDetails& details) OVERRIDE; 56 const content::NotificationDetails& details) override;
57 57
58 // Checks then clears notifications for our extensions. 58 // Checks then clears notifications for our extensions.
59 testing::AssertionResult CheckNotifications( 59 testing::AssertionResult CheckNotifications(
60 const std::vector<extensions::NotificationType>& types); 60 const std::vector<extensions::NotificationType>& types);
61 61
62 const std::set<std::string> extension_ids_; 62 const std::set<std::string> extension_ids_;
63 std::vector<extensions::NotificationType> notifications_; 63 std::vector<extensions::NotificationType> notifications_;
64 content::NotificationRegistrar registrar_; 64 content::NotificationRegistrar registrar_;
65 }; 65 };
66 66
67 } // namespace extensions 67 } // namespace extensions
68 68
69 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_NOTIFICATION_OBSERVER_H_ 69 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_NOTIFICATION_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_messages_apitest.cc ('k') | chrome/browser/extensions/extension_prefs_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698