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

Unified Diff: chrome/browser/extensions/updater/local_extension_cache.h

Issue 285253002: kiosk: Remove all cached CRX when removing a kiosk app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a typo and remove CHECK for deleting files. Created 6 years, 7 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
Index: chrome/browser/extensions/updater/local_extension_cache.h
diff --git a/chrome/browser/extensions/updater/local_extension_cache.h b/chrome/browser/extensions/updater/local_extension_cache.h
index 63652bab55a371e57e95a3d416e689c47289879e..68f3109ad230ecdaa804348abed723365f51b6c6 100644
--- a/chrome/browser/extensions/updater/local_extension_cache.h
+++ b/chrome/browser/extensions/updater/local_extension_cache.h
@@ -164,9 +164,10 @@ class LocalExtensionCache {
bool was_error,
const PutExtensionCallback& callback);
- // Remove crx file at |file_path| in the cache. This method is invoked via
- // the |backend_task_runner_|.
- static void BackendRemoveCacheEntry(const base::FilePath& file_path);
+ // Remove cached crx files(all versions) under |cached_dir| for extension with
+ // |id|. This method is invoked via the |backend_task_runner_|.
+ static void BackendRemoveCacheEntry(const base::FilePath& cache_dir,
+ const std::string& id);
// Compare two cache items returns true if first item is older.
static bool CompareCacheItemsAge(const CacheMap::iterator& lhs,

Powered by Google App Engine
This is Rietveld 408576698