| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/subresource_filter/subresource_filter_profile_context.h
" | 5 #include "chrome/browser/subresource_filter/subresource_filter_profile_context.h
" |
| 6 | 6 |
| 7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
| 8 #include "chrome/browser/subresource_filter/subresource_filter_content_settings_
manager.h" | 8 #include "chrome/browser/subresource_filter/subresource_filter_content_settings_
manager.h" |
| 9 | 9 |
| 10 SubresourceFilterProfileContext::SubresourceFilterProfileContext( | 10 SubresourceFilterProfileContext::SubresourceFilterProfileContext( |
| 11 Profile* profile) | 11 Profile* profile) |
| 12 : content_settings_manager_( | 12 : settings_manager_( |
| 13 base::MakeUnique<SubresourceFilterContentSettingsManager>(profile)) {} | 13 base::MakeUnique<SubresourceFilterContentSettingsManager>(profile)) {} |
| 14 | 14 |
| 15 SubresourceFilterProfileContext::~SubresourceFilterProfileContext() {} | 15 SubresourceFilterProfileContext::~SubresourceFilterProfileContext() {} |
| 16 | 16 |
| 17 void SubresourceFilterProfileContext::Shutdown() { | 17 void SubresourceFilterProfileContext::Shutdown() { |
| 18 content_settings_manager_.reset(); | 18 settings_manager_.reset(); |
| 19 } | 19 } |
| OLD | NEW |