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 the Chrome Extensions BrowsingData API functions, which entail | 5 // Defines the Chrome Extensions BrowsingData API functions, which entail |
6 // clearing browsing data, and clearing the browser's cache (which, let's be | 6 // clearing browsing data, and clearing the browser's cache (which, let's be |
7 // honest, are the same thing), as specified in the extension API JSON. | 7 // honest, are the same thing), as specified in the extension API JSON. |
8 | 8 |
9 #ifndef CHROME_BROWSER_EXTENSIONS_API_BROWSING_DATA_BROWSING_DATA_API_H_ | 9 #ifndef CHROME_BROWSER_EXTENSIONS_API_BROWSING_DATA_BROWSING_DATA_API_H_ |
10 #define CHROME_BROWSER_EXTENSIONS_API_BROWSING_DATA_BROWSING_DATA_API_H_ | 10 #define CHROME_BROWSER_EXTENSIONS_API_BROWSING_DATA_BROWSING_DATA_API_H_ |
11 | 11 |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "chrome/browser/browsing_data_remover.h" | 14 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
15 #include "chrome/browser/extensions/extension_function.h" | 15 #include "chrome/browser/extensions/extension_function.h" |
16 | 16 |
17 class PluginPrefs; | 17 class PluginPrefs; |
18 | 18 |
19 namespace extension_browsing_data_api_constants { | 19 namespace extension_browsing_data_api_constants { |
20 | 20 |
21 // Type keys. | 21 // Type keys. |
22 extern const char kAppCacheKey[]; | 22 extern const char kAppCacheKey[]; |
23 extern const char kCacheKey[]; | 23 extern const char kCacheKey[]; |
24 extern const char kCookiesKey[]; | 24 extern const char kCookiesKey[]; |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 DECLARE_EXTENSION_FUNCTION_NAME("browsingData.removeWebSQL") | 233 DECLARE_EXTENSION_FUNCTION_NAME("browsingData.removeWebSQL") |
234 | 234 |
235 protected: | 235 protected: |
236 virtual ~RemoveWebSQLFunction() {} | 236 virtual ~RemoveWebSQLFunction() {} |
237 | 237 |
238 // BrowsingDataExtensionFunction: | 238 // BrowsingDataExtensionFunction: |
239 virtual int GetRemovalMask() const OVERRIDE; | 239 virtual int GetRemovalMask() const OVERRIDE; |
240 }; | 240 }; |
241 | 241 |
242 #endif // CHROME_BROWSER_EXTENSIONS_API_BROWSING_DATA_BROWSING_DATA_API_H_ | 242 #endif // CHROME_BROWSER_EXTENSIONS_API_BROWSING_DATA_BROWSING_DATA_API_H_ |
OLD | NEW |