| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/browser/quota/mock_quota_manager_proxy.h" | 5 #include "storage/browser/test/mock_quota_manager_proxy.h" |
| 6 | 6 |
| 7 #include "base/message_loop/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
| 8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
| 9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
| 10 | 10 |
| 11 using storage::kStorageTypeUnknown; | 11 using storage::kStorageTypeUnknown; |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 MockQuotaManagerProxy::MockQuotaManagerProxy( | 15 MockQuotaManagerProxy::MockQuotaManagerProxy( |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 last_notified_delta_ = delta; | 63 last_notified_delta_ = delta; |
| 64 if (mock_manager()) | 64 if (mock_manager()) |
| 65 mock_manager()->UpdateUsage(origin, type, delta); | 65 mock_manager()->UpdateUsage(origin, type, delta); |
| 66 } | 66 } |
| 67 | 67 |
| 68 MockQuotaManagerProxy::~MockQuotaManagerProxy() { | 68 MockQuotaManagerProxy::~MockQuotaManagerProxy() { |
| 69 DCHECK(!registered_client_); | 69 DCHECK(!registered_client_); |
| 70 } | 70 } |
| 71 | 71 |
| 72 } // namespace content | 72 } // namespace content |
| OLD | NEW |