Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Side by Side Diff: chrome/browser/extensions/api/browsing_data/browsing_data_api.h

Issue 9617039: Change Origin bound certs -> Domain bound certs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 RemoveLocalStorageFunction() {} 188 RemoveLocalStorageFunction() {}
189 virtual ~RemoveLocalStorageFunction() {} 189 virtual ~RemoveLocalStorageFunction() {}
190 190
191 protected: 191 protected:
192 // BrowsingDataTypeExtensionFunction interface method. 192 // BrowsingDataTypeExtensionFunction interface method.
193 virtual int GetRemovalMask() const OVERRIDE; 193 virtual int GetRemovalMask() const OVERRIDE;
194 194
195 DECLARE_EXTENSION_FUNCTION_NAME("browsingData.removeLocalStorage") 195 DECLARE_EXTENSION_FUNCTION_NAME("browsingData.removeLocalStorage")
196 }; 196 };
197 197
198 class RemoveOriginBoundCertsFunction : public BrowsingDataExtensionFunction { 198 class RemoveServerBoundCertsFunction : public BrowsingDataExtensionFunction {
199 public: 199 public:
200 RemoveOriginBoundCertsFunction() {} 200 RemoveServerBoundCertsFunction() {}
201 virtual ~RemoveOriginBoundCertsFunction() {} 201 virtual ~RemoveServerBoundCertsFunction() {}
202 202
203 protected: 203 protected:
204 // BrowsingDataTypeExtensionFunction interface method. 204 // BrowsingDataTypeExtensionFunction interface method.
205 virtual int GetRemovalMask() const OVERRIDE; 205 virtual int GetRemovalMask() const OVERRIDE;
206 206
207 DECLARE_EXTENSION_FUNCTION_NAME("browsingData.removeOriginBoundCertificates") 207 DECLARE_EXTENSION_FUNCTION_NAME("browsingData.removeServerBoundCertificates")
208 }; 208 };
209 209
210 class RemovePluginDataFunction : public BrowsingDataExtensionFunction { 210 class RemovePluginDataFunction : public BrowsingDataExtensionFunction {
211 public: 211 public:
212 RemovePluginDataFunction() {} 212 RemovePluginDataFunction() {}
213 virtual ~RemovePluginDataFunction() {} 213 virtual ~RemovePluginDataFunction() {}
214 214
215 protected: 215 protected:
216 // BrowsingDataTypeExtensionFunction interface method. 216 // BrowsingDataTypeExtensionFunction interface method.
217 virtual int GetRemovalMask() const OVERRIDE; 217 virtual int GetRemovalMask() const OVERRIDE;
(...skipping 18 matching lines...) Expand all
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_BROWSING_DATA_BROWSING_DATA_API_H_ 245 #endif // CHROME_BROWSER_EXTENSIONS_API_BROWSING_DATA_BROWSING_DATA_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data_remover_unittest.cc ('k') | chrome/browser/extensions/api/browsing_data/browsing_data_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698