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/mock_quota_manager.h" | 5 #include "webkit/browser/quota/mock_quota_manager.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
14 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 last_notified_delta_ = delta; | 190 last_notified_delta_ = delta; |
191 if (mock_manager()) | 191 if (mock_manager()) |
192 mock_manager()->UpdateUsage(origin, type, delta); | 192 mock_manager()->UpdateUsage(origin, type, delta); |
193 } | 193 } |
194 | 194 |
195 MockQuotaManagerProxy::~MockQuotaManagerProxy() { | 195 MockQuotaManagerProxy::~MockQuotaManagerProxy() { |
196 DCHECK(!registered_client_); | 196 DCHECK(!registered_client_); |
197 } | 197 } |
198 | 198 |
199 } // namespace quota | 199 } // namespace quota |
OLD | NEW |