OLD | NEW |
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_CONTENT_SETTINGS_PERMISSION_QUEUE_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_PERMISSION_QUEUE_CONTROLLER_H_ |
6 #define CHROME_BROWSER_CONTENT_SETTINGS_PERMISSION_QUEUE_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CONTENT_SETTINGS_PERMISSION_QUEUE_CONTROLLER_H_ |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "chrome/common/content_settings_types.h" | 9 #include "components/content_settings/core/common/content_settings_types.h" |
10 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
11 #include "content/public/browser/notification_registrar.h" | 11 #include "content/public/browser/notification_registrar.h" |
12 | 12 |
13 class GURL; | 13 class GURL; |
14 class PermissionRequestID; | 14 class PermissionRequestID; |
15 class InfoBarService; | 15 class InfoBarService; |
16 class Profile; | 16 class Profile; |
17 | 17 |
18 // This class controls an infobar queue per profile, and it's used by | 18 // This class controls an infobar queue per profile, and it's used by |
19 // GeolocationPermissionContext, and so on. | 19 // GeolocationPermissionContext, and so on. |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 87 |
88 Profile* const profile_; | 88 Profile* const profile_; |
89 ContentSettingsType type_; | 89 ContentSettingsType type_; |
90 PendingInfobarRequests pending_infobar_requests_; | 90 PendingInfobarRequests pending_infobar_requests_; |
91 bool in_shutdown_; | 91 bool in_shutdown_; |
92 | 92 |
93 DISALLOW_COPY_AND_ASSIGN(PermissionQueueController); | 93 DISALLOW_COPY_AND_ASSIGN(PermissionQueueController); |
94 }; | 94 }; |
95 | 95 |
96 #endif // CHROME_BROWSER_CONTENT_SETTINGS_PERMISSION_QUEUE_CONTROLLER_H_ | 96 #endif // CHROME_BROWSER_CONTENT_SETTINGS_PERMISSION_QUEUE_CONTROLLER_H_ |
OLD | NEW |