| 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_BROWSINGDATA_BROWSING_DATA_API_H_ | 9 #ifndef CHROME_BROWSER_EXTENSIONS_API_BROWSING_DATA_BROWSING_DATA_API_H_ |
| 10 #define CHROME_BROWSER_EXTENSIONS_API_BROWSINGDATA_BROWSING_DATA_API_H_ | 10 #define CHROME_BROWSER_EXTENSIONS_API_BROWSING_DATA_BROWSING_DATA_API_H_ |
| 11 #pragma once | 11 #pragma once |
| 12 | 12 |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| 15 #include "chrome/browser/browsing_data_remover.h" | 15 #include "chrome/browser/browsing_data_remover.h" |
| 16 #include "chrome/browser/extensions/extension_function.h" | 16 #include "chrome/browser/extensions/extension_function.h" |
| 17 | 17 |
| 18 class PluginPrefs; | 18 class PluginPrefs; |
| 19 | 19 |
| 20 namespace extension_browsing_data_api_constants { | 20 namespace extension_browsing_data_api_constants { |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 public: | 235 public: |
| 236 RemoveWebSQLFunction() {} | 236 RemoveWebSQLFunction() {} |
| 237 virtual ~RemoveWebSQLFunction() {} | 237 virtual ~RemoveWebSQLFunction() {} |
| 238 | 238 |
| 239 protected: | 239 protected: |
| 240 // BrowsingDataTypeExtensionFunction interface method. | 240 // BrowsingDataTypeExtensionFunction interface method. |
| 241 virtual int GetRemovalMask() const OVERRIDE; | 241 virtual int GetRemovalMask() const OVERRIDE; |
| 242 | 242 |
| 243 DECLARE_EXTENSION_FUNCTION_NAME("browsingData.removeWebSQL") | 243 DECLARE_EXTENSION_FUNCTION_NAME("browsingData.removeWebSQL") |
| 244 }; | 244 }; |
| 245 #endif // CHROME_BROWSER_EXTENSIONS_API_BROWSINGDATA_BROWSING_DATA_API_H_ | 245 #endif // CHROME_BROWSER_EXTENSIONS_API_BROWSING_DATA_BROWSING_DATA_API_H_ |
| OLD | NEW |