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

Side by Side Diff: webkit/browser/quota/usage_tracker.cc

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "webkit/browser/quota/usage_tracker.h" 5 #include "webkit/browser/quota/usage_tracker.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/message_loop_proxy.h" 14 #include "base/message_loop/message_loop_proxy.h"
15 #include "base/stl_util.h" 15 #include "base/stl_util.h"
16 #include "net/base/net_util.h" 16 #include "net/base/net_util.h"
17 17
18 namespace quota { 18 namespace quota {
19 19
20 namespace { 20 namespace {
21 21
22 typedef ClientUsageTracker::OriginUsageAccumulator OriginUsageAccumulator; 22 typedef ClientUsageTracker::OriginUsageAccumulator OriginUsageAccumulator;
23 typedef ClientUsageTracker::OriginSetByHost OriginSetByHost; 23 typedef ClientUsageTracker::OriginSetByHost OriginSetByHost;
24 24
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 } 661 }
662 662
663 bool ClientUsageTracker::IsStorageUnlimited(const GURL& origin) const { 663 bool ClientUsageTracker::IsStorageUnlimited(const GURL& origin) const {
664 if (type_ == kStorageTypeSyncable) 664 if (type_ == kStorageTypeSyncable)
665 return false; 665 return false;
666 return special_storage_policy_.get() && 666 return special_storage_policy_.get() &&
667 special_storage_policy_->IsStorageUnlimited(origin); 667 special_storage_policy_->IsStorageUnlimited(origin);
668 } 668 }
669 669
670 } // namespace quota 670 } // namespace quota
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698