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

Side by Side Diff: chrome/browser/storage/storage_info_fetcher.h

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
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_STORAGE_STORAGE_INFO_FETCHER_H_ 5 #ifndef CHROME_BROWSER_STORAGE_STORAGE_INFO_FETCHER_H_
6 #define CHROME_BROWSER_STORAGE_STORAGE_INFO_FETCHER_H_ 6 #define CHROME_BROWSER_STORAGE_STORAGE_INFO_FETCHER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "storage/browser/quota/quota_manager.h" 9 #include "storage/browser/quota/quota_callbacks.h"
10
11 namespace storage {
12 class QuotaManager;
13 }
10 14
11 class Profile; 15 class Profile;
12 16
13 // Asynchronously fetches the amount of storage used by websites. 17 // Asynchronously fetches the amount of storage used by websites.
14 class StorageInfoFetcher : 18 class StorageInfoFetcher :
15 public base::RefCountedThreadSafe<StorageInfoFetcher> { 19 public base::RefCountedThreadSafe<StorageInfoFetcher> {
16 public: 20 public:
17 using FetchCallback = 21 using FetchCallback =
18 base::Callback<void(const storage::UsageInfoEntries&)>; 22 base::Callback<void(const storage::UsageInfoEntries&)>;
19 using ClearCallback = 23 using ClearCallback =
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // The callback to use when fetching is complete. 66 // The callback to use when fetching is complete.
63 FetchCallback fetch_callback_; 67 FetchCallback fetch_callback_;
64 68
65 // The callback to use when storage has been cleared. 69 // The callback to use when storage has been cleared.
66 ClearCallback clear_callback_; 70 ClearCallback clear_callback_;
67 71
68 DISALLOW_COPY_AND_ASSIGN(StorageInfoFetcher); 72 DISALLOW_COPY_AND_ASSIGN(StorageInfoFetcher);
69 }; 73 };
70 74
71 #endif // CHROME_BROWSER_STORAGE_STORAGE_INFO_FETCHER_H_ 75 #endif // CHROME_BROWSER_STORAGE_STORAGE_INFO_FETCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/preferences/website_preference_bridge.cc ('k') | chrome/browser/storage/storage_info_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698