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

Unified Diff: chrome/browser/chromeos/app_mode/startup_app_launcher.h

Issue 13581008: cros: Explicitly manage app session lifetime. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/chromeos/app_mode/startup_app_launcher.h
diff --git a/chrome/browser/chromeos/app_mode/startup_app_launcher.h b/chrome/browser/chromeos/app_mode/startup_app_launcher.h
index 8d63387bc3baa6f39a700eefaab8b9ea8cec150d..be503ade3b720ed8a03365d14c4c9c7de9079cb5 100644
--- a/chrome/browser/chromeos/app_mode/startup_app_launcher.h
+++ b/chrome/browser/chromeos/app_mode/startup_app_launcher.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/timer.h"
#include "chrome/browser/chromeos/app_mode/kiosk_app_launch_error.h"
@@ -54,6 +55,9 @@ class StartupAppLauncher
std::string client_secret;
};
+ // A class to watch for app window creation.
+ class AppWindowWatcher;
+
// Private dtor because this class manages its own lifetime.
virtual ~StartupAppLauncher();
@@ -97,6 +101,8 @@ class StartupAppLauncher
base::OneShotTimer<StartupAppLauncher> network_wait_timer_;
KioskOAuthParams auth_params_;
+ scoped_ptr<AppWindowWatcher> app_window_watcher_;
+
DISALLOW_COPY_AND_ASSIGN(StartupAppLauncher);
};

Powered by Google App Engine
This is Rietveld 408576698