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

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

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/storage_monitor.h ('k') | webkit/browser/quota/storage_observer.h » ('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 #include "webkit/browser/quota/storage_monitor.h" 5 #include "webkit/browser/quota/storage_monitor.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 #include "net/base/net_util.h" 10 #include "net/base/net_util.h"
11 #include "webkit/browser/quota/quota_manager.h" 11 #include "webkit/browser/quota/quota_manager.h"
12 #include "webkit/common/quota/quota_status_code.h" 12 #include "webkit/common/quota/quota_status_code.h"
13 13
14 namespace quota { 14 namespace storage {
15 15
16 // StorageObserverList: 16 // StorageObserverList:
17 17
18 StorageObserverList::ObserverState::ObserverState() 18 StorageObserverList::ObserverState::ObserverState()
19 : requires_update(false) { 19 : requires_update(false) {
20 } 20 }
21 21
22 StorageObserverList::StorageObserverList() {} 22 StorageObserverList::StorageObserverList() {}
23 23
24 StorageObserverList::~StorageObserverList() {} 24 StorageObserverList::~StorageObserverList() {}
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 } 369 }
370 370
371 StorageTypeObserversMap::iterator it = 371 StorageTypeObserversMap::iterator it =
372 storage_type_observers_map_.find(filter.storage_type); 372 storage_type_observers_map_.find(filter.storage_type);
373 if (it == storage_type_observers_map_.end()) 373 if (it == storage_type_observers_map_.end())
374 return; 374 return;
375 375
376 it->second->NotifyUsageChange(filter, delta); 376 it->second->NotifyUsageChange(filter, delta);
377 } 377 }
378 378
379 } // namespace quota 379 } // namespace storage
OLDNEW
« no previous file with comments | « webkit/browser/quota/storage_monitor.h ('k') | webkit/browser/quota/storage_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698