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 EXTENSIONS_BROWSER_API_SOCKET_APP_FIREWALL_HOLE_MANAGER_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_SOCKET_APP_FIREWALL_HOLE_MANAGER_H_ |
6 #define EXTENSIONS_BROWSER_API_SOCKET_APP_FIREWALL_HOLE_MANAGER_H_ | 6 #define EXTENSIONS_BROWSER_API_SOCKET_APP_FIREWALL_HOLE_MANAGER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 | 11 |
10 #include "base/scoped_observer.h" | 12 #include "base/scoped_observer.h" |
11 #include "chromeos/network/firewall_hole.h" | 13 #include "chromeos/network/firewall_hole.h" |
12 #include "extensions/browser/app_window/app_window_registry.h" | 14 #include "extensions/browser/app_window/app_window_registry.h" |
13 | 15 |
14 namespace content { | 16 namespace content { |
15 class BrowserContext; | 17 class BrowserContext; |
16 } | 18 } |
17 | 19 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 void OnAppWindowShown(AppWindow* app_window, bool was_hidden) override; | 89 void OnAppWindowShown(AppWindow* app_window, bool was_hidden) override; |
88 | 90 |
89 content::BrowserContext* context_; | 91 content::BrowserContext* context_; |
90 ScopedObserver<AppWindowRegistry, AppWindowRegistry::Observer> observer_; | 92 ScopedObserver<AppWindowRegistry, AppWindowRegistry::Observer> observer_; |
91 std::multimap<std::string, AppFirewallHole*> tracked_holes_; | 93 std::multimap<std::string, AppFirewallHole*> tracked_holes_; |
92 }; | 94 }; |
93 | 95 |
94 } // namespace extensions | 96 } // namespace extensions |
95 | 97 |
96 #endif // EXTENSIONS_BROWSER_API_SOCKET_APP_FIREWALL_HOLE_MANAGER_H_ | 98 #endif // EXTENSIONS_BROWSER_API_SOCKET_APP_FIREWALL_HOLE_MANAGER_H_ |
OLD | NEW |