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

Side by Side Diff: chrome/browser/subresource_filter/subresource_filter_profile_context.cc

Issue 2795053002: [subresource_filter] Implement the "Smart" UI on Android (Closed)
Patch Set: minor tweaks 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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698