OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_SPECIAL_STORAGE_POLICY_H_ | 5 #ifndef WEBKIT_BROWSER_QUOTA_SPECIAL_STORAGE_POLICY_H_ |
6 #define WEBKIT_QUOTA_SPECIAL_STORAGE_POLICY_H_ | 6 #define WEBKIT_BROWSER_QUOTA_SPECIAL_STORAGE_POLICY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
12 #include "webkit/storage/webkit_storage_export.h" | 12 #include "webkit/storage/webkit_storage_export.h" |
13 | 13 |
14 class GURL; | 14 class GURL; |
15 | 15 |
16 namespace quota { | 16 namespace quota { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 virtual ~SpecialStoragePolicy(); | 73 virtual ~SpecialStoragePolicy(); |
74 void NotifyGranted(const GURL& origin, int change_flags); | 74 void NotifyGranted(const GURL& origin, int change_flags); |
75 void NotifyRevoked(const GURL& origin, int change_flags); | 75 void NotifyRevoked(const GURL& origin, int change_flags); |
76 void NotifyCleared(); | 76 void NotifyCleared(); |
77 | 77 |
78 ObserverList<Observer> observers_; | 78 ObserverList<Observer> observers_; |
79 }; | 79 }; |
80 | 80 |
81 } // namespace quota | 81 } // namespace quota |
82 | 82 |
83 #endif // WEBKIT_QUOTA_SPECIAL_STORAGE_POLICY_H_ | 83 #endif // WEBKIT_BROWSER_QUOTA_SPECIAL_STORAGE_POLICY_H_ |
OLD | NEW |