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

Unified Diff: chrome/browser/profiles/profile_impl.h

Issue 7210006: AppCaches which belong to hosted apps are not protected from deletion (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Clearing appcaches & waiting in Shutdown(). Created 9 years, 5 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/profiles/profile_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index 52a85c30b907a5061242297310d2a4395e0b9cc1..24b4a0aecef5d4baa04af9ddc9612c87a1ac2cb1 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -32,6 +32,10 @@ class Preferences;
}
#endif
+namespace base {
+class WaitableEvent;
+}
+
class NetPrefObserver;
// The default profile implementation.
@@ -138,6 +142,8 @@ class ProfileImpl : public Profile,
virtual PrefProxyConfigTracker* GetProxyConfigTracker();
virtual prerender::PrerenderManager* GetPrerenderManager();
+ virtual base::WaitableEvent* ClearAppCache();
+
// NotificationObserver implementation.
virtual void Observe(int type,
const NotificationSource& source,

Powered by Google App Engine
This is Rietveld 408576698