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

Side by Side Diff: webkit/browser/quota/storage_monitor.h

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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
« no previous file with comments | « webkit/browser/quota/special_storage_policy.cc ('k') | webkit/browser/quota/storage_monitor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 WEBKIT_BROWSER_QUOTA_STORAGE_MONITOR_H_
6 #define WEBKIT_BROWSER_QUOTA_STORAGE_MONITOR_H_ 6 #define WEBKIT_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 "webkit/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 quota { 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
24 // StorageObserver::Filter. 24 // StorageObserver::Filter.
25 class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE StorageObserverList { 25 class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE StorageObserverList {
26 public: 26 public:
27 StorageObserverList(); 27 StorageObserverList();
28 virtual ~StorageObserverList(); 28 virtual ~StorageObserverList();
29 29
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 private: 169 private:
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 quota 178 } // namespace storage
179 179
180 #endif // WEBKIT_BROWSER_QUOTA_STORAGE_MONITOR_H_ 180 #endif // WEBKIT_BROWSER_QUOTA_STORAGE_MONITOR_H_
OLDNEW
« no previous file with comments | « webkit/browser/quota/special_storage_policy.cc ('k') | webkit/browser/quota/storage_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698