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

Side by Side Diff: media/filters/default_media_permission.h

Issue 1535193003: Add missing macros includes in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « media/filters/decrypting_video_decoder.h ('k') | media/filters/fake_video_decoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 MEDIA_FILTERS_DEFAULT_MEDIA_PERMISSION_H_ 5 #ifndef MEDIA_FILTERS_DEFAULT_MEDIA_PERMISSION_H_
6 #define MEDIA_FILTERS_DEFAULT_MEDIA_PERMISSION_H_ 6 #define MEDIA_FILTERS_DEFAULT_MEDIA_PERMISSION_H_
7 7
8 #include "base/macros.h"
8 #include "media/base/media_export.h" 9 #include "media/base/media_export.h"
9 #include "media/base/media_permission.h" 10 #include "media/base/media_permission.h"
10 11
11 namespace media { 12 namespace media {
12 13
13 // Default MediaPermission implementation that will always allow or deny the 14 // Default MediaPermission implementation that will always allow or deny the
14 // permission request/check based on |allow|. 15 // permission request/check based on |allow|.
15 // WARNING: This class allows or denies permission request/check without real 16 // WARNING: This class allows or denies permission request/check without real
16 // user's consent. It should NOT be used in a real user facing product. 17 // user's consent. It should NOT be used in a real user facing product.
17 class MEDIA_EXPORT DefaultMediaPermission : public MediaPermission { 18 class MEDIA_EXPORT DefaultMediaPermission : public MediaPermission {
(...skipping 12 matching lines...) Expand all
30 31
31 private: 32 private:
32 const bool allow_; 33 const bool allow_;
33 34
34 DISALLOW_COPY_AND_ASSIGN(DefaultMediaPermission); 35 DISALLOW_COPY_AND_ASSIGN(DefaultMediaPermission);
35 }; 36 };
36 37
37 } // namespace media 38 } // namespace media
38 39
39 #endif // MEDIA_FILTERS_DEFAULT_MEDIA_PERMISSION_H_ 40 #endif // MEDIA_FILTERS_DEFAULT_MEDIA_PERMISSION_H_
OLDNEW
« no previous file with comments | « media/filters/decrypting_video_decoder.h ('k') | media/filters/fake_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698