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

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

Issue 16010007: Move webkit/quota files to webkit/browser/quota or webkit/common/quota (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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
OLDNEW
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_special_storage_policy.h" 5 #include "webkit/browser/quota/mock_special_storage_policy.h"
6 6
7 namespace quota { 7 namespace quota {
8 8
9 MockSpecialStoragePolicy::MockSpecialStoragePolicy() 9 MockSpecialStoragePolicy::MockSpecialStoragePolicy()
10 : all_unlimited_(false) { 10 : all_unlimited_(false) {
11 } 11 }
12 12
13 bool MockSpecialStoragePolicy::IsStorageProtected(const GURL& origin) { 13 bool MockSpecialStoragePolicy::IsStorageProtected(const GURL& origin) {
14 return protected_.find(origin) != protected_.end(); 14 return protected_.find(origin) != protected_.end();
15 } 15 }
(...skipping 16 matching lines...) Expand all
32 return file_handlers_.find(extension_id) != file_handlers_.end(); 32 return file_handlers_.find(extension_id) != file_handlers_.end();
33 } 33 }
34 34
35 bool MockSpecialStoragePolicy::HasSessionOnlyOrigins() { 35 bool MockSpecialStoragePolicy::HasSessionOnlyOrigins() {
36 return !session_only_.empty(); 36 return !session_only_.empty();
37 } 37 }
38 38
39 MockSpecialStoragePolicy::~MockSpecialStoragePolicy() {} 39 MockSpecialStoragePolicy::~MockSpecialStoragePolicy() {}
40 40
41 } // namespace quota 41 } // namespace quota
OLDNEW
« no previous file with comments | « webkit/browser/quota/mock_special_storage_policy.h ('k') | webkit/browser/quota/mock_storage_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698