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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_quota_helper.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.h" 5 #include "chrome/browser/browsing_data/browsing_data_quota_helper.h"
6 6
7 #include "base/location.h"
8
7 BrowsingDataQuotaHelper::QuotaInfo::QuotaInfo() 9 BrowsingDataQuotaHelper::QuotaInfo::QuotaInfo()
8 : temporary_usage(0), 10 : temporary_usage(0),
9 persistent_usage(0) {} 11 persistent_usage(0) {}
10 12
11 BrowsingDataQuotaHelper::QuotaInfo::QuotaInfo(const std::string& host) 13 BrowsingDataQuotaHelper::QuotaInfo::QuotaInfo(const std::string& host)
12 : host(host), 14 : host(host),
13 temporary_usage(0), 15 temporary_usage(0),
14 persistent_usage(0) {} 16 persistent_usage(0) {}
15 17
16 BrowsingDataQuotaHelper::QuotaInfo::QuotaInfo(const std::string& host, 18 BrowsingDataQuotaHelper::QuotaInfo::QuotaInfo(const std::string& host,
(...skipping 27 matching lines...) Expand all
44 return this->temporary_usage < rhs.temporary_usage; 46 return this->temporary_usage < rhs.temporary_usage;
45 return this->persistent_usage < rhs.persistent_usage; 47 return this->persistent_usage < rhs.persistent_usage;
46 } 48 }
47 49
48 bool BrowsingDataQuotaHelper::QuotaInfo::operator ==( 50 bool BrowsingDataQuotaHelper::QuotaInfo::operator ==(
49 const BrowsingDataQuotaHelper::QuotaInfo& rhs) const { 51 const BrowsingDataQuotaHelper::QuotaInfo& rhs) const {
50 return this->host == rhs.host && 52 return this->host == rhs.host &&
51 this->temporary_usage == rhs.temporary_usage && 53 this->temporary_usage == rhs.temporary_usage &&
52 this->persistent_usage == rhs.persistent_usage; 54 this->persistent_usage == rhs.persistent_usage;
53 } 55 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698