| OLD | NEW |
| 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 "webkit/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_proxy.h" |
| 15 #include "base/stl_util.h" | 15 #include "base/stl_util.h" |
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 } | 589 } |
| 590 | 590 |
| 591 bool ClientUsageTracker::IsStorageUnlimited(const GURL& origin) const { | 591 bool ClientUsageTracker::IsStorageUnlimited(const GURL& origin) const { |
| 592 if (type_ == kStorageTypeSyncable) | 592 if (type_ == kStorageTypeSyncable) |
| 593 return false; | 593 return false; |
| 594 return special_storage_policy_.get() && | 594 return special_storage_policy_.get() && |
| 595 special_storage_policy_->IsStorageUnlimited(origin); | 595 special_storage_policy_->IsStorageUnlimited(origin); |
| 596 } | 596 } |
| 597 | 597 |
| 598 } // namespace quota | 598 } // namespace quota |
| OLD | NEW |