OLD | NEW |
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 // Defines methods relevant to all code that wants to work with browsing data. | 5 // Defines methods relevant to all code that wants to work with browsing data. |
6 | 6 |
7 #ifndef CHROME_BROWSER_BROWSING_DATA_HELPER_H_ | 7 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_HELPER_H_ |
8 #define CHROME_BROWSER_BROWSING_DATA_HELPER_H_ | 8 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_HELPER_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 | 13 |
14 namespace WebKit { | 14 namespace WebKit { |
15 class WebString; | 15 class WebString; |
16 } | 16 } |
17 | 17 |
18 class ExtensionSpecialStoragePolicy; | 18 class ExtensionSpecialStoragePolicy; |
(...skipping 24 matching lines...) Expand all Loading... |
43 | 43 |
44 // Returns true if the provided origin matches the provided mask. | 44 // Returns true if the provided origin matches the provided mask. |
45 static bool DoesOriginMatchMask(const GURL& origin, | 45 static bool DoesOriginMatchMask(const GURL& origin, |
46 int origin_set_mask, | 46 int origin_set_mask, |
47 ExtensionSpecialStoragePolicy* policy); | 47 ExtensionSpecialStoragePolicy* policy); |
48 | 48 |
49 private: | 49 private: |
50 DISALLOW_IMPLICIT_CONSTRUCTORS(BrowsingDataHelper); | 50 DISALLOW_IMPLICIT_CONSTRUCTORS(BrowsingDataHelper); |
51 }; | 51 }; |
52 | 52 |
53 #endif // CHROME_BROWSER_BROWSING_DATA_HELPER_H_ | 53 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_HELPER_H_ |
OLD | NEW |