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

Side by Side Diff: chrome/browser/browsing_data/site_data_size_collector.h

Issue 2084903002: Moved BrowsingDataCounter and part of BrowsingDataCounterUtils to components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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 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 #ifndef CHROME_BROWSER_BROWSING_DATA_SITE_DATA_SIZE_COLLECTOR_H_ 5 #ifndef CHROME_BROWSER_BROWSING_DATA_SITE_DATA_SIZE_COLLECTOR_H_
6 #define CHROME_BROWSER_BROWSING_DATA_SITE_DATA_SIZE_COLLECTOR_H_ 6 #define CHROME_BROWSER_BROWSING_DATA_SITE_DATA_SIZE_COLLECTOR_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "chrome/browser/browsing_data/browsing_data_appcache_helper.h" 9 #include "chrome/browser/browsing_data/browsing_data_appcache_helper.h"
10 #include "chrome/browser/browsing_data/browsing_data_cache_storage_helper.h" 10 #include "chrome/browser/browsing_data/browsing_data_cache_storage_helper.h"
11 #include "chrome/browser/browsing_data/browsing_data_channel_id_helper.h" 11 #include "chrome/browser/browsing_data/browsing_data_channel_id_helper.h"
12 #include "chrome/browser/browsing_data/browsing_data_cookie_helper.h" 12 #include "chrome/browser/browsing_data/browsing_data_cookie_helper.h"
13 #include "chrome/browser/browsing_data/browsing_data_counter.h"
14 #include "chrome/browser/browsing_data/browsing_data_database_helper.h" 13 #include "chrome/browser/browsing_data/browsing_data_database_helper.h"
15 #include "chrome/browser/browsing_data/browsing_data_file_system_helper.h" 14 #include "chrome/browser/browsing_data/browsing_data_file_system_helper.h"
16 #include "chrome/browser/browsing_data/browsing_data_flash_lso_helper.h" 15 #include "chrome/browser/browsing_data/browsing_data_flash_lso_helper.h"
17 #include "chrome/browser/browsing_data/browsing_data_indexed_db_helper.h" 16 #include "chrome/browser/browsing_data/browsing_data_indexed_db_helper.h"
18 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h" 17 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h"
19 #include "chrome/browser/browsing_data/browsing_data_service_worker_helper.h" 18 #include "chrome/browser/browsing_data/browsing_data_service_worker_helper.h"
20 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
21 #include "content/public/browser/storage_partition.h" 20 #include "content/public/browser/storage_partition.h"
22 21
23 namespace { 22 namespace {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 103
105 // Keeps track of the sum of all fetched size. 104 // Keeps track of the sum of all fetched size.
106 int64_t total_bytes_; 105 int64_t total_bytes_;
107 106
108 base::WeakPtrFactory<SiteDataSizeCollector> weak_ptr_factory_; 107 base::WeakPtrFactory<SiteDataSizeCollector> weak_ptr_factory_;
109 108
110 DISALLOW_COPY_AND_ASSIGN(SiteDataSizeCollector); 109 DISALLOW_COPY_AND_ASSIGN(SiteDataSizeCollector);
111 }; 110 };
112 111
113 #endif // CHROME_BROWSER_BROWSING_DATA_SITE_DATA_SIZE_COLLECTOR_H_ 112 #endif // CHROME_BROWSER_BROWSING_DATA_SITE_DATA_SIZE_COLLECTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698