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 #pragma once | |
12 | 11 |
13 #include <string> | 12 #include <string> |
14 | 13 |
15 #include "chrome/browser/browsing_data_remover.h" | 14 #include "chrome/browser/browsing_data_remover.h" |
16 #include "chrome/browser/extensions/extension_function.h" | 15 #include "chrome/browser/extensions/extension_function.h" |
17 | 16 |
18 class PluginPrefs; | 17 class PluginPrefs; |
19 | 18 |
20 namespace extension_browsing_data_api_constants { | 19 namespace extension_browsing_data_api_constants { |
21 | 20 |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 DECLARE_EXTENSION_FUNCTION_NAME("browsingData.removeWebSQL") | 233 DECLARE_EXTENSION_FUNCTION_NAME("browsingData.removeWebSQL") |
235 | 234 |
236 protected: | 235 protected: |
237 virtual ~RemoveWebSQLFunction() {} | 236 virtual ~RemoveWebSQLFunction() {} |
238 | 237 |
239 // BrowsingDataExtensionFunction: | 238 // BrowsingDataExtensionFunction: |
240 virtual int GetRemovalMask() const OVERRIDE; | 239 virtual int GetRemovalMask() const OVERRIDE; |
241 }; | 240 }; |
242 | 241 |
243 #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 |