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

Unified Diff: chrome/browser/background_contents_service.h

Issue 2866034: Refactor shutdown code to allow win/linux to run after last browser closes. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Uploaded patch that resolves merge issue Created 10 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
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/background_contents_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/background_contents_service.h
diff --git a/chrome/browser/background_contents_service.h b/chrome/browser/background_contents_service.h
index 48a9a3ce5c4b011061bd8d65107cc732de40da7d..73d9944b5bf2a8da5f6b1ad6364bd2115ae65175 100644
--- a/chrome/browser/background_contents_service.h
+++ b/chrome/browser/background_contents_service.h
@@ -108,6 +108,10 @@ class BackgroundContentsService : private NotificationObserver {
typedef std::map<string16, BackgroundContentsInfo> BackgroundContentsMap;
BackgroundContentsMap contents_map_;
+ // If true, should always keep the browser process alive regardless of whether
+ // there are any BackgroundContents (used for manual/automated testing).
+ bool always_keep_alive_;
+
DISALLOW_COPY_AND_ASSIGN(BackgroundContentsService);
};
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/background_contents_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698