Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: chrome/browser/media/protected_media_identifier_permission_context.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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" 8 #include "base/macros.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/permissions/permission_context_base.h" 10 #include "chrome/browser/permissions/permission_context_base.h"
(...skipping 10 matching lines...) Expand all
21 class Profile; 21 class Profile;
22 22
23 namespace views { 23 namespace views {
24 class Widget; 24 class Widget;
25 } 25 }
26 26
27 namespace content { 27 namespace content {
28 class WebContents; 28 class WebContents;
29 } 29 }
30 30
31 namespace user_prefs {
32 class PrefRegistrySyncable;
33 }
34
35 // Manages protected media identifier permissions flow, and delegates UI 31 // Manages protected media identifier permissions flow, and delegates UI
36 // handling via PermissionQueueController. 32 // handling via PermissionQueueController.
37 class ProtectedMediaIdentifierPermissionContext 33 class ProtectedMediaIdentifierPermissionContext
38 : public PermissionContextBase { 34 : public PermissionContextBase {
39 public: 35 public:
40 explicit ProtectedMediaIdentifierPermissionContext(Profile* profile); 36 explicit ProtectedMediaIdentifierPermissionContext(Profile* profile);
41 ~ProtectedMediaIdentifierPermissionContext() override; 37 ~ProtectedMediaIdentifierPermissionContext() override;
42 38
43 // PermissionContextBase implementation. 39 // PermissionContextBase implementation.
44 #if defined(OS_CHROMEOS) 40 #if defined(OS_CHROMEOS)
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 83
88 // Must be the last member, to ensure that it will be 84 // Must be the last member, to ensure that it will be
89 // destroyed first, which will invalidate weak pointers 85 // destroyed first, which will invalidate weak pointers
90 base::WeakPtrFactory<ProtectedMediaIdentifierPermissionContext> weak_factory_; 86 base::WeakPtrFactory<ProtectedMediaIdentifierPermissionContext> weak_factory_;
91 #endif 87 #endif
92 88
93 DISALLOW_COPY_AND_ASSIGN(ProtectedMediaIdentifierPermissionContext); 89 DISALLOW_COPY_AND_ASSIGN(ProtectedMediaIdentifierPermissionContext);
94 }; 90 };
95 91
96 #endif // CHROME_BROWSER_MEDIA_PROTECTED_MEDIA_IDENTIFIER_PERMISSION_CONTEXT_H_ 92 #endif // CHROME_BROWSER_MEDIA_PROTECTED_MEDIA_IDENTIFIER_PERMISSION_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/extension_media_access_handler.h ('k') | chrome/browser/media/router/media_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698