Chromium Code Reviews| Index: chrome/browser/media/protected_media_identifier_whitelist.h |
| diff --git a/chrome/browser/media/protected_media_identifier_whitelist.h b/chrome/browser/media/protected_media_identifier_whitelist.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..060f1f97d1f94b35cf29fbf34ad10f940b31effc |
| --- /dev/null |
| +++ b/chrome/browser/media/protected_media_identifier_whitelist.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_MEDIA_PROTECTED_MEDIA_IDENTIFIER_WHITELIST_H_ |
| +#define CHROME_BROWSER_MEDIA_PROTECTED_MEDIA_IDENTIFIER_WHITELIST_H_ |
| + |
| +#include "components/content_settings/core/common/content_settings.h" |
| +#include "url/gurl.h" |
| + |
| +class ProtectedMediaIdentifierWhitelist { |
| + public: |
| + ProtectedMediaIdentifierWhitelist(); |
| + ~ProtectedMediaIdentifierWhitelist(); |
| + |
| + ContentSetting modifySettingFor(ContentSetting original, |
|
xhwang
2017/05/04 19:57:37
C++ Style: ModifySettingFor
|
| + const GURL& requesting_origin) const; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(ProtectedMediaIdentifierWhitelist); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_MEDIA_PROTECTED_MEDIA_IDENTIFIER_WHITELIST_H_ |