| Index: chrome/browser/subresource_filter/subresource_filter_profile_context.cc
|
| diff --git a/chrome/browser/subresource_filter/subresource_filter_profile_context.cc b/chrome/browser/subresource_filter/subresource_filter_profile_context.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b88de345556ff477c4a8f9bd83e64ad1e8872c4b
|
| --- /dev/null
|
| +++ b/chrome/browser/subresource_filter/subresource_filter_profile_context.cc
|
| @@ -0,0 +1,19 @@
|
| +// 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.
|
| +
|
| +#include "chrome/browser/subresource_filter/subresource_filter_profile_context.h"
|
| +
|
| +#include "base/memory/ptr_util.h"
|
| +#include "chrome/browser/subresource_filter/subresource_filter_content_settings_manager.h"
|
| +
|
| +SubresourceFilterProfileContext::SubresourceFilterProfileContext(
|
| + Profile* profile)
|
| + : content_settings_manager_(
|
| + base::MakeUnique<SubresourceFilterContentSettingsManager>(profile)) {}
|
| +
|
| +SubresourceFilterProfileContext::~SubresourceFilterProfileContext() {}
|
| +
|
| +void SubresourceFilterProfileContext::Shutdown() {
|
| + content_settings_manager_.reset();
|
| +}
|
|
|