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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc

Issue 11740018: Cleanup: Remove more unneeded browser_thread.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browsing_data/browsing_data_quota_helper_impl.h" 5 #include "chrome/browser/browsing_data/browsing_data_quota_helper_impl.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/common/url_constants.h" 13 #include "chrome/common/url_constants.h"
14 #include "chrome/browser/browsing_data/browsing_data_helper.h" 14 #include "chrome/browser/browsing_data/browsing_data_helper.h"
15 #include "content/public/browser/browser_context.h" 15 #include "content/public/browser/browser_context.h"
16 #include "content/public/browser/browser_thread.h"
16 #include "content/public/browser/storage_partition.h" 17 #include "content/public/browser/storage_partition.h"
17 #include "webkit/quota/quota_manager.h" 18 #include "webkit/quota/quota_manager.h"
18 19
19 using content::BrowserThread; 20 using content::BrowserThread;
20 using content::BrowserContext; 21 using content::BrowserContext;
21 22
22 // static 23 // static
23 BrowsingDataQuotaHelper* BrowsingDataQuotaHelper::Create(Profile* profile) { 24 BrowsingDataQuotaHelper* BrowsingDataQuotaHelper::Create(Profile* profile) {
24 return new BrowsingDataQuotaHelperImpl( 25 return new BrowsingDataQuotaHelperImpl(
25 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI), 26 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI),
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 } 171 }
171 172
172 callback_.Run(result); 173 callback_.Run(result);
173 callback_.Reset(); 174 callback_.Reset();
174 } 175 }
175 176
176 void BrowsingDataQuotaHelperImpl::DidRevokeHostQuota( 177 void BrowsingDataQuotaHelperImpl::DidRevokeHostQuota(
177 quota::QuotaStatusCode status_unused, 178 quota::QuotaStatusCode status_unused,
178 int64 quota_unused) { 179 int64 quota_unused) {
179 } 180 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698