EME test page application.
[chromium-blink-merge.git] / chrome / browser / extensions / data_deleter.h
blob218a1088915080c76d36ae4c724bede62ae85e87
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_EXTENSIONS_DATA_DELETER_H_
6 #define CHROME_BROWSER_EXTENSIONS_DATA_DELETER_H_
8 #include <string>
9 #include "base/basictypes.h"
11 class Profile;
13 namespace extensions {
15 class Extension;
17 class DataDeleter {
18 public:
19 // Starts removing data. The extension should not be running when this is
20 // called. Cookies are deleted on the current thread, local storage and
21 // databases/settings are deleted asynchronously on the webkit and file
22 // threads, respectively. This function must be called from the UI thread.
23 static void StartDeleting(Profile* profile, const Extension* extenion);
25 DISALLOW_COPY_AND_ASSIGN(DataDeleter);
28 } // namespace extensions
30 #endif // CHROME_BROWSER_EXTENSIONS_DATA_DELETER_H_