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

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 ContentSetting modifySettingFor(ContentSetting original,
xhwang 2017/05/04 19:57:37 C++ Style: ModifySettingFor
17 const GURL& requesting_origin) const;
18
19 DISALLOW_COPY_AND_ASSIGN(ProtectedMediaIdentifierWhitelist);
20 };
21
22 #endif // CHROME_BROWSER_MEDIA_PROTECTED_MEDIA_IDENTIFIER_WHITELIST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698