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 // Defines the Chrome Extensions Clear API functions, which entail | 5 // Defines the Chrome Extensions Clear 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 | 7 // honest, are the same thing), as specified in |
8 // chrome/common/extensions/api/extension_api.json. | 8 // chrome/common/extensions/api/. |
Aaron Boodman
2011/12/07 23:30:35
In these cases, I think it would be more clear to
koz (OOO until 15th September)
2011/12/09 19:24:18
Done.
| |
9 | 9 |
10 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CLEAR_API_H_ | 10 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CLEAR_API_H_ |
11 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_CLEAR_API_H_ | 11 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_CLEAR_API_H_ |
12 #pragma once | 12 #pragma once |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 | 15 |
16 #include "chrome/browser/browsing_data_remover.h" | 16 #include "chrome/browser/browsing_data_remover.h" |
17 #include "chrome/browser/extensions/extension_function.h" | 17 #include "chrome/browser/extensions/extension_function.h" |
18 | 18 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
129 virtual ~ClearPasswordsFunction() {} | 129 virtual ~ClearPasswordsFunction() {} |
130 | 130 |
131 protected: | 131 protected: |
132 // BrowsingDataTypeExtensionFunction interface method. | 132 // BrowsingDataTypeExtensionFunction interface method. |
133 virtual int GetRemovalMask() const OVERRIDE; | 133 virtual int GetRemovalMask() const OVERRIDE; |
134 | 134 |
135 DECLARE_EXTENSION_FUNCTION_NAME("experimental.clear.passwords") | 135 DECLARE_EXTENSION_FUNCTION_NAME("experimental.clear.passwords") |
136 }; | 136 }; |
137 | 137 |
138 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CLEAR_API_H_ | 138 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CLEAR_API_H_ |
OLD | NEW |