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

Side by Side Diff: chrome/browser/ui/webui/settings/site_settings_handler.cc

Issue 1701883006: Clean up some of the includes following my refactoring patch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « chrome/browser/storage/storage_info_fetcher.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/ui/webui/settings/site_settings_handler.h" 5 #include "chrome/browser/ui/webui/settings/site_settings_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h" 9 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "components/content_settings/core/common/content_settings_types.h" 11 #include "components/content_settings/core/common/content_settings_types.h"
12 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
13 #include "content/public/browser/web_ui.h" 13 #include "content/public/browser/web_ui.h"
14 #include "storage/browser/quota/quota_manager.h"
15 #include "storage/common/quota/quota_status_code.h"
14 #include "ui/base/text/bytes_formatting.h" 16 #include "ui/base/text/bytes_formatting.h"
15 17
16 namespace settings { 18 namespace settings {
17 19
18 SiteSettingsHandler::SiteSettingsHandler(Profile* profile) 20 SiteSettingsHandler::SiteSettingsHandler(Profile* profile)
19 : profile_(profile) { 21 : profile_(profile) {
20 } 22 }
21 23
22 SiteSettingsHandler::~SiteSettingsHandler() { 24 SiteSettingsHandler::~SiteSettingsHandler() {
23 } 25 }
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 base::Unretained(this))); 95 base::Unretained(this)));
94 96
95 // Also clear the *local* storage data. 97 // Also clear the *local* storage data.
96 scoped_refptr<BrowsingDataLocalStorageHelper> local_storage_helper = 98 scoped_refptr<BrowsingDataLocalStorageHelper> local_storage_helper =
97 new BrowsingDataLocalStorageHelper(profile_); 99 new BrowsingDataLocalStorageHelper(profile_);
98 local_storage_helper->DeleteOrigin(url); 100 local_storage_helper->DeleteOrigin(url);
99 } 101 }
100 } 102 }
101 103
102 } // namespace settings 104 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/storage/storage_info_fetcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698