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

Side by Side Diff: storage/browser/quota/storage_observer.cc

Issue 539143002: Migrate webkit/browser/ to storage/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android build Created 6 years, 3 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
« no previous file with comments | « storage/browser/quota/storage_observer.h ('k') | storage/browser/quota/usage_tracker.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_observer.h" 5 #include "storage/browser/quota/storage_observer.h"
6 6
7 namespace storage { 7 namespace storage {
8 8
9 // StorageObserver::Filter 9 // StorageObserver::Filter
10 10
11 StorageObserver::Filter::Filter() 11 StorageObserver::Filter::Filter()
12 : storage_type(kStorageTypeUnknown) { 12 : storage_type(kStorageTypeUnknown) {
13 } 13 }
14 14
15 StorageObserver::Filter::Filter(StorageType storage_type, const GURL& origin) 15 StorageObserver::Filter::Filter(StorageType storage_type, const GURL& origin)
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 : filter(filter), usage(usage), quota(quota) { 56 : filter(filter), usage(usage), quota(quota) {
57 } 57 }
58 58
59 bool StorageObserver::Event::operator==(const Event& other) const { 59 bool StorageObserver::Event::operator==(const Event& other) const {
60 return filter == other.filter && 60 return filter == other.filter &&
61 usage == other.usage && 61 usage == other.usage &&
62 quota == other.quota; 62 quota == other.quota;
63 } 63 }
64 64
65 } // namespace storage 65 } // namespace storage
OLDNEW
« no previous file with comments | « storage/browser/quota/storage_observer.h ('k') | storage/browser/quota/usage_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698