| 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 #ifndef WEBKIT_BROWSER_QUOTA_STORAGE_MONITOR_H_ | 5 #ifndef STORAGE_BROWSER_QUOTA_STORAGE_MONITOR_H_ |
| 6 #define WEBKIT_BROWSER_QUOTA_STORAGE_MONITOR_H_ | 6 #define STORAGE_BROWSER_QUOTA_STORAGE_MONITOR_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 12 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
| 13 #include "webkit/browser/quota/storage_observer.h" | 13 #include "storage/browser/quota/storage_observer.h" |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 class StorageMonitorTestBase; | 16 class StorageMonitorTestBase; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace storage { | 19 namespace storage { |
| 20 | 20 |
| 21 class QuotaManager; | 21 class QuotaManager; |
| 22 | 22 |
| 23 // This class dispatches storage events to observers of a common | 23 // This class dispatches storage events to observers of a common |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 typedef std::map<StorageType, StorageTypeObservers*> StorageTypeObserversMap; | 170 typedef std::map<StorageType, StorageTypeObservers*> StorageTypeObserversMap; |
| 171 | 171 |
| 172 QuotaManager* quota_manager_; | 172 QuotaManager* quota_manager_; |
| 173 StorageTypeObserversMap storage_type_observers_map_; | 173 StorageTypeObserversMap storage_type_observers_map_; |
| 174 | 174 |
| 175 DISALLOW_COPY_AND_ASSIGN(StorageMonitor); | 175 DISALLOW_COPY_AND_ASSIGN(StorageMonitor); |
| 176 }; | 176 }; |
| 177 | 177 |
| 178 } // namespace storage | 178 } // namespace storage |
| 179 | 179 |
| 180 #endif // WEBKIT_BROWSER_QUOTA_STORAGE_MONITOR_H_ | 180 #endif // STORAGE_BROWSER_QUOTA_STORAGE_MONITOR_H_ |
| OLD | NEW |