From 398206ce0943c935a8da55d382e60e7be16099cf Mon Sep 17 00:00:00 2001 From: "atwilson@chromium.org" Date: Mon, 21 Jun 2010 01:46:08 +0000 Subject: Added BackgroundContentsService to manage lifecycle of BackgroundContents. If --restore-background-contents flag is passed, stores the URLs of running BackgroundContents in preferences so they can be re-launched when the browser restarts. Moved logic to shutdown background contents into BackgroundContentsService so we can use this to coordinate when to keep the browser process running. BUG=43382 TEST=new tests Review URL: http://codereview.chromium.org/2104018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50329 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/pref_names.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chrome/common/pref_names.cc') diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index 9e13585..f3a8e2b 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -868,6 +868,11 @@ const wchar_t kLoginDatabaseMigrated[] = L"login_database.migrated"; // The root URL of the cloud print service. const wchar_t kCloudPrintServiceURL[] = L"cloud_print.service_url"; +// The list of BackgroundContents that should be loaded when the browser +// launches. +const wchar_t kRegisteredBackgroundContents[] = + L"background_contents.registered"; + // *************** SERVICE PREFS *************** // These are attached to the service process. -- cgit v1.1