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

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

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 #ifndef WEBKIT_QUOTA_MOCK_SPECIAL_STORAGE_POLICY_H_ 5 #ifndef WEBKIT_BROWSER_QUOTA_MOCK_SPECIAL_STORAGE_POLICY_H_
6 #define WEBKIT_QUOTA_MOCK_SPECIAL_STORAGE_POLICY_H_ 6 #define WEBKIT_BROWSER_QUOTA_MOCK_SPECIAL_STORAGE_POLICY_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "webkit/quota/special_storage_policy.h" 12 #include "webkit/browser/quota/special_storage_policy.h"
13 13
14 namespace quota { 14 namespace quota {
15 15
16 class MockSpecialStoragePolicy : public quota::SpecialStoragePolicy { 16 class MockSpecialStoragePolicy : public quota::SpecialStoragePolicy {
17 public: 17 public:
18 MockSpecialStoragePolicy(); 18 MockSpecialStoragePolicy();
19 19
20 virtual bool IsStorageProtected(const GURL& origin) OVERRIDE; 20 virtual bool IsStorageProtected(const GURL& origin) OVERRIDE;
21 virtual bool IsStorageUnlimited(const GURL& origin) OVERRIDE; 21 virtual bool IsStorageUnlimited(const GURL& origin) OVERRIDE;
22 virtual bool IsStorageSessionOnly(const GURL& origin) OVERRIDE; 22 virtual bool IsStorageSessionOnly(const GURL& origin) OVERRIDE;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 std::set<GURL> protected_; 80 std::set<GURL> protected_;
81 std::set<GURL> unlimited_; 81 std::set<GURL> unlimited_;
82 std::set<GURL> session_only_; 82 std::set<GURL> session_only_;
83 std::set<GURL> can_query_disk_size_; 83 std::set<GURL> can_query_disk_size_;
84 std::set<std::string> file_handlers_; 84 std::set<std::string> file_handlers_;
85 85
86 bool all_unlimited_; 86 bool all_unlimited_;
87 }; 87 };
88 } // namespace quota 88 } // namespace quota
89 89
90 #endif // WEBKIT_QUOTA_MOCK_SPECIAL_STORAGE_POLICY_H_ 90 #endif // WEBKIT_BROWSER_QUOTA_MOCK_SPECIAL_STORAGE_POLICY_H_
OLDNEW
« no previous file with comments | « webkit/browser/quota/mock_quota_manager_unittest.cc ('k') | webkit/browser/quota/mock_special_storage_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698