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 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 // Callback for when TemplateURLService has finished loading. Clears the data, | 255 // Callback for when TemplateURLService has finished loading. Clears the data, |
256 // clears the respective waiting flag, and invokes NotifyAndDeleteIfDone. | 256 // clears the respective waiting flag, and invokes NotifyAndDeleteIfDone. |
257 void OnKeywordsLoaded(); | 257 void OnKeywordsLoaded(); |
258 | 258 |
259 // Called when plug-in data has been cleared. Invokes NotifyAndDeleteIfDone. | 259 // Called when plug-in data has been cleared. Invokes NotifyAndDeleteIfDone. |
260 void OnWaitableEventSignaled(base::WaitableEvent* waitable_event); | 260 void OnWaitableEventSignaled(base::WaitableEvent* waitable_event); |
261 | 261 |
262 #if defined(ENABLE_PLUGINS) | 262 #if defined(ENABLE_PLUGINS) |
263 // PepperFlashSettingsManager::Client implementation. | 263 // PepperFlashSettingsManager::Client implementation. |
264 virtual void OnDeauthorizeContentLicensesCompleted(uint32 request_id, | 264 virtual void OnDeauthorizeContentLicensesCompleted(uint32 request_id, |
265 bool success) OVERRIDE; | 265 bool success) override; |
266 #endif | 266 #endif |
267 | 267 |
268 #if defined (OS_CHROMEOS) | 268 #if defined (OS_CHROMEOS) |
269 void OnClearPlatformKeys(chromeos::DBusMethodCallStatus call_status, | 269 void OnClearPlatformKeys(chromeos::DBusMethodCallStatus call_status, |
270 bool result); | 270 bool result); |
271 #endif | 271 #endif |
272 | 272 |
273 // Removes the specified items related to browsing for a specific host. If the | 273 // Removes the specified items related to browsing for a specific host. If the |
274 // provided |origin| is empty, data is removed for all origins. The | 274 // provided |origin| is empty, data is removed for all origins. The |
275 // |origin_set_mask| parameter defines the set of origins from which data | 275 // |origin_set_mask| parameter defines the set of origins from which data |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 | 458 |
459 scoped_ptr<TemplateURLService::Subscription> template_url_sub_; | 459 scoped_ptr<TemplateURLService::Subscription> template_url_sub_; |
460 | 460 |
461 // We do not own this. | 461 // We do not own this. |
462 content::StoragePartition* storage_partition_for_testing_; | 462 content::StoragePartition* storage_partition_for_testing_; |
463 | 463 |
464 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 464 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
465 }; | 465 }; |
466 | 466 |
467 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 467 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
OLD | NEW |