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

Unified Diff: apps/saved_files_service.h

Issue 2789253003: Add chrome/browser/apps/BUILD.gn and move Chrome-specific code there (Closed)
Patch Set: rebase Created 3 years, 8 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 | « apps/browser_context_keyed_service_factories.cc ('k') | apps/saved_files_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/saved_files_service.h
diff --git a/apps/saved_files_service.h b/apps/saved_files_service.h
index 0007d660ffa309f75462bcaab773aed723b0f3ca..927f22b985869eccca6f5787920c180b37b34dad 100644
--- a/apps/saved_files_service.h
+++ b/apps/saved_files_service.h
@@ -101,6 +101,9 @@ class SavedFilesService : public KeyedService,
// Clears all retained files.
void ClearQueue(const extensions::Extension* extension);
+ // Called to notify that the application has begun to exit.
+ void OnApplicationTerminating();
+
private:
FRIEND_TEST_ALL_PREFIXES(::SavedFilesServiceUnitTest, RetainTwoFilesTest);
FRIEND_TEST_ALL_PREFIXES(::SavedFilesServiceUnitTest, EvictionTest);
« no previous file with comments | « apps/browser_context_keyed_service_factories.cc ('k') | apps/saved_files_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698