OLD | NEW |
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 #ifndef CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_ROUTE
R_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_ROUTE
R_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_ROUTE
R_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_ROUTE
R_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 bool desktop); | 72 bool desktop); |
73 | 73 |
74 // content::NotificationObserver interface. | 74 // content::NotificationObserver interface. |
75 void Observe(int type, | 75 void Observe(int type, |
76 const content::NotificationSource& source, | 76 const content::NotificationSource& source, |
77 const content::NotificationDetails& details) override; | 77 const content::NotificationDetails& details) override; |
78 | 78 |
79 content::NotificationRegistrar registrar_; | 79 content::NotificationRegistrar registrar_; |
80 std::vector<AutomationListener> listeners_; | 80 std::vector<AutomationListener> listeners_; |
81 | 81 |
82 friend struct DefaultSingletonTraits<AutomationEventRouter>; | 82 friend struct base::DefaultSingletonTraits<AutomationEventRouter>; |
83 | 83 |
84 DISALLOW_COPY_AND_ASSIGN(AutomationEventRouter); | 84 DISALLOW_COPY_AND_ASSIGN(AutomationEventRouter); |
85 }; | 85 }; |
86 | 86 |
87 } // namespace extensions | 87 } // namespace extensions |
88 | 88 |
89 #endif // CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_RO
UTER_H_ | 89 #endif // CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_RO
UTER_H_ |
OLD | NEW |