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