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

Unified Diff: chrome/browser/background/background_mode_manager.h

Issue 564453003: Access to Chrome via the System Tray should go through the User Manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase continued Created 6 years, 3 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/background/background_mode_manager.h
diff --git a/chrome/browser/background/background_mode_manager.h b/chrome/browser/background/background_mode_manager.h
index d4f9008b5e431625a620df7593304ff90f1f2187..538ea52b49089763d1491916a7ffa10fabc57a54 100644
--- a/chrome/browser/background/background_mode_manager.h
+++ b/chrome/browser/background/background_mode_manager.h
@@ -306,6 +306,11 @@ class BackgroundModeManager
// Returns true if we should be in background mode.
bool ShouldBeInBackgroundMode() const;
+ // Finds the BackgroundModeData associated with the last active profile,
+ // if the profile isn't locked. Returns NULL otherwise.
+ BackgroundModeManager::BackgroundModeData*
+ GetBackgroundModeDataForLastProfile() const;
+
// Reference to the profile info cache. It is used to update the background
// app status of profiles when they open/close background apps.
ProfileInfoCache* profile_cache_;
« no previous file with comments | « chrome/browser/app_controller_mac_browsertest.mm ('k') | chrome/browser/background/background_mode_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698