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

Unified Diff: chrome/browser/extensions/data_deleter.h

Issue 123733003: Get ride of chrome.storage.* data when removing an application. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/apps/app_browsertest.cc ('k') | chrome/browser/extensions/data_deleter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/data_deleter.h
diff --git a/chrome/browser/extensions/data_deleter.h b/chrome/browser/extensions/data_deleter.h
index f2dcbd402b9eabd4802b955b5b11372e86bdb473..218a1088915080c76d36ae4c724bede62ae85e87 100644
--- a/chrome/browser/extensions/data_deleter.h
+++ b/chrome/browser/extensions/data_deleter.h
@@ -5,22 +5,22 @@
#ifndef CHROME_BROWSER_EXTENSIONS_DATA_DELETER_H_
#define CHROME_BROWSER_EXTENSIONS_DATA_DELETER_H_
-#include "url/gurl.h"
+#include <string>
+#include "base/basictypes.h"
class Profile;
namespace extensions {
+class Extension;
+
class DataDeleter {
public:
// Starts removing data. The extension should not be running when this is
// called. Cookies are deleted on the current thread, local storage and
// databases/settings are deleted asynchronously on the webkit and file
// threads, respectively. This function must be called from the UI thread.
- static void StartDeleting(
- Profile* profile,
- const std::string& extension_id,
- const GURL& storage_origin);
+ static void StartDeleting(Profile* profile, const Extension* extenion);
DISALLOW_COPY_AND_ASSIGN(DataDeleter);
};
« no previous file with comments | « chrome/browser/apps/app_browsertest.cc ('k') | chrome/browser/extensions/data_deleter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698