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

Unified Diff: chrome/browser/ui/app_list/profile_loader.h

Issue 1376063005: Cleanup: Pull some browser keep alive functions into its own file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 2 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/ui/app_list/app_list_view_delegate.cc ('k') | chrome/browser/ui/app_list/profile_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/profile_loader.h
diff --git a/chrome/browser/ui/app_list/profile_loader.h b/chrome/browser/ui/app_list/profile_loader.h
index 724ea825bd7b0d63605e3b024fe36b8e5b351400..c9a07f2e871b6220a064364de9bae8b9482d00af 100644
--- a/chrome/browser/ui/app_list/profile_loader.h
+++ b/chrome/browser/ui/app_list/profile_loader.h
@@ -12,10 +12,13 @@ namespace base {
class FilePath;
}
+namespace browser_lifetime {
+class ScopedKeepAlive;
+}
+
class Profile;
class ProfileLoaderUnittest;
class ProfileStore;
-class ScopedKeepAlive;
// This class loads profiles asynchronously and calls the provided callback once
// the profile is ready. Only the callback for the most recent load request is
@@ -46,7 +49,7 @@ class ProfileLoader {
void DecrementPendingProfileLoads();
ProfileStore* profile_store_;
- scoped_ptr<ScopedKeepAlive> keep_alive_;
+ scoped_ptr<browser_lifetime::ScopedKeepAlive> keep_alive_;
int profile_load_sequence_id_;
int pending_profile_loads_;
« no previous file with comments | « chrome/browser/ui/app_list/app_list_view_delegate.cc ('k') | chrome/browser/ui/app_list/profile_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698