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

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

Issue 2816773002: Added switch for bypassing protected media identifier permission (Closed)
Patch Set: Added switch for bypassing permissions Created 3 years, 7 months 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_MEDIA_PROTECTED_MEDIA_IDENTIFIER_WHITELIST_H_
6 #define CHROME_BROWSER_MEDIA_PROTECTED_MEDIA_IDENTIFIER_WHITELIST_H_
7
8 #include "components/content_settings/core/common/content_settings.h"
9 #include "url/gurl.h"
10
11 class ProtectedMediaIdentifierWhitelist {
12 public:
13 ProtectedMediaIdentifierWhitelist();
14 ~ProtectedMediaIdentifierWhitelist();
15
16 bool IsOriginWhitelisted(const GURL& requesting_origin) const;
xhwang 2017/05/04 22:10:59 Looks like we don't need a class then? Shall we ju
Vaage 2017/05/05 16:10:03 Done.
17
18 DISALLOW_COPY_AND_ASSIGN(ProtectedMediaIdentifierWhitelist);
19 };
20
21 #endif // CHROME_BROWSER_MEDIA_PROTECTED_MEDIA_IDENTIFIER_WHITELIST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698