| Index: chrome/browser/media/protected_media_identifier_permission_context_factory.cc
|
| diff --git a/chrome/browser/media/protected_media_identifier_permission_context_factory.cc b/chrome/browser/media/protected_media_identifier_permission_context_factory.cc
|
| deleted file mode 100644
|
| index 51fb5b17f94e11a986fa62b81c6ba1f26792963c..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/media/protected_media_identifier_permission_context_factory.cc
|
| +++ /dev/null
|
| @@ -1,45 +0,0 @@
|
| -// Copyright 2013 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.
|
| -
|
| -#include "chrome/browser/media/protected_media_identifier_permission_context_factory.h"
|
| -
|
| -#include "chrome/browser/media/protected_media_identifier_permission_context.h"
|
| -#include "chrome/browser/profiles/incognito_helpers.h"
|
| -#include "chrome/browser/profiles/profile.h"
|
| -#include "chrome/common/pref_names.h"
|
| -#include "components/keyed_service/content/browser_context_dependency_manager.h"
|
| -#include "components/pref_registry/pref_registry_syncable.h"
|
| -
|
| -// static
|
| -ProtectedMediaIdentifierPermissionContext*
|
| -ProtectedMediaIdentifierPermissionContextFactory::GetForProfile(
|
| - Profile* profile) {
|
| - return static_cast<ProtectedMediaIdentifierPermissionContext*>(
|
| - GetInstance()->GetServiceForBrowserContext(profile, true));
|
| -}
|
| -
|
| -// static
|
| -ProtectedMediaIdentifierPermissionContextFactory*
|
| -ProtectedMediaIdentifierPermissionContextFactory::GetInstance() {
|
| - return base::Singleton<
|
| - ProtectedMediaIdentifierPermissionContextFactory>::get();
|
| -}
|
| -
|
| -ProtectedMediaIdentifierPermissionContextFactory::
|
| -ProtectedMediaIdentifierPermissionContextFactory()
|
| - : PermissionContextFactoryBase(
|
| - "ProtectedMediaIdentifierPermissionContext",
|
| - BrowserContextDependencyManager::GetInstance()) {
|
| -}
|
| -
|
| -ProtectedMediaIdentifierPermissionContextFactory::
|
| -~ProtectedMediaIdentifierPermissionContextFactory() {
|
| -}
|
| -
|
| -KeyedService*
|
| -ProtectedMediaIdentifierPermissionContextFactory::BuildServiceInstanceFor(
|
| - content::BrowserContext* profile) const {
|
| - return new ProtectedMediaIdentifierPermissionContext(
|
| - static_cast<Profile*>(profile));
|
| -}
|
|
|