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_MEDIA_PROTECTED_MEDIA_IDENTIFIER_PERMISSION_CONTEXT_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_PROTECTED_MEDIA_IDENTIFIER_PERMISSION_CONTEXT_H_ |
6 #define CHROME_BROWSER_MEDIA_PROTECTED_MEDIA_IDENTIFIER_PERMISSION_CONTEXT_H_ | 6 #define CHROME_BROWSER_MEDIA_PROTECTED_MEDIA_IDENTIFIER_PERMISSION_CONTEXT_H_ |
7 | 7 |
8 #include "chrome/browser/content_settings/permission_context_base.h" | 8 #include "chrome/browser/content_settings/permission_context_base.h" |
9 #include "components/content_settings/core/common/permission_request_id.h" | 9 #include "chrome/browser/permissions/permission_request_id.h" |
10 | 10 |
11 #if defined(OS_CHROMEOS) | 11 #if defined(OS_CHROMEOS) |
12 #include <map> | 12 #include <map> |
13 | 13 |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "chrome/browser/chromeos/attestation/platform_verification_dialog.h" | 15 #include "chrome/browser/chromeos/attestation/platform_verification_dialog.h" |
16 #include "chrome/browser/chromeos/attestation/platform_verification_flow.h" | 16 #include "chrome/browser/chromeos/attestation/platform_verification_flow.h" |
17 #endif | 17 #endif |
18 | 18 |
19 class Profile; | 19 class Profile; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 // Must be the last member, to ensure that it will be | 86 // Must be the last member, to ensure that it will be |
87 // destroyed first, which will invalidate weak pointers | 87 // destroyed first, which will invalidate weak pointers |
88 base::WeakPtrFactory<ProtectedMediaIdentifierPermissionContext> weak_factory_; | 88 base::WeakPtrFactory<ProtectedMediaIdentifierPermissionContext> weak_factory_; |
89 #endif | 89 #endif |
90 | 90 |
91 DISALLOW_COPY_AND_ASSIGN(ProtectedMediaIdentifierPermissionContext); | 91 DISALLOW_COPY_AND_ASSIGN(ProtectedMediaIdentifierPermissionContext); |
92 }; | 92 }; |
93 | 93 |
94 #endif // CHROME_BROWSER_MEDIA_PROTECTED_MEDIA_IDENTIFIER_PERMISSION_CONTEXT_H_ | 94 #endif // CHROME_BROWSER_MEDIA_PROTECTED_MEDIA_IDENTIFIER_PERMISSION_CONTEXT_H_ |
OLD | NEW |