OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ACTIVE_TAB_PERMISSION_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_ACTIVE_TAB_PERMISSION_MANAGER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_ACTIVE_TAB_PERMISSION_MANAGER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_ACTIVE_TAB_PERMISSION_MANAGER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <set> | 8 #include <set> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "chrome/common/extensions/extension_set.h" | 11 #include "chrome/common/extensions/extension_set.h" |
13 #include "chrome/common/extensions/url_pattern_set.h" | 12 #include "chrome/common/extensions/url_pattern_set.h" |
14 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
15 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
16 #include "content/public/browser/web_contents_observer.h" | 15 #include "content/public/browser/web_contents_observer.h" |
17 | 16 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 86 |
88 // Listen to extension unloaded notifications. | 87 // Listen to extension unloaded notifications. |
89 content::NotificationRegistrar registrar_; | 88 content::NotificationRegistrar registrar_; |
90 | 89 |
91 DISALLOW_COPY_AND_ASSIGN(ActiveTabPermissionManager); | 90 DISALLOW_COPY_AND_ASSIGN(ActiveTabPermissionManager); |
92 }; | 91 }; |
93 | 92 |
94 } // namespace extensions | 93 } // namespace extensions |
95 | 94 |
96 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVE_TAB_PERMISSION_MANAGER_H_ | 95 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVE_TAB_PERMISSION_MANAGER_H_ |
OLD | NEW |