diff options
author | denisromanov@chromium.org <denisromanov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-15 16:07:45 +0000 |
---|---|---|
committer | denisromanov@chromium.org <denisromanov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-15 16:07:45 +0000 |
commit | 368ad4cad5cc624d86036ca4276c5da8486cbe6c (patch) | |
tree | 1f1945200082c5d20adbe9220bc8749afe432b0f /chrome/browser/browser_init.h | |
parent | 031857d5c3e4019dca3ae999792d1fe6b0798bd1 (diff) | |
download | chromium_src-368ad4cad5cc624d86036ca4276c5da8486cbe6c.zip chromium_src-368ad4cad5cc624d86036ca4276c5da8486cbe6c.tar.gz chromium_src-368ad4cad5cc624d86036ca4276c5da8486cbe6c.tar.bz2 |
Added --services-manifest switch, to provide Chrome OS OEM services customization manifest on the command line.
The manifest is parsed and specified OEM welcome page is opened on startup.
BUG=cros:3176
TEST=Run out/Debug/chrome --services-manifest=chrome/browser/chromeos/testdata/services_manifest.json. An URL specified in the manifest as the initial_start_page should be opened (presently http://localhost).
Review URL: http://codereview.chromium.org/2691003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49798 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_init.h')
-rw-r--r-- | chrome/browser/browser_init.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/browser_init.h b/chrome/browser/browser_init.h index a38326c..3aa9b70 100644 --- a/chrome/browser/browser_init.h +++ b/chrome/browser/browser_init.h @@ -18,6 +18,11 @@ class GURL; class PrefService; class Profile; class TabContents; +#if defined(OS_CHROMEOS) +namespace chromeos { +class ServicesCustomizationDocument; +} +#endif // class containing helpers for BrowserMain to spin up a new instance and // initialize the profile. @@ -71,6 +76,13 @@ class BrowserInit { const std::wstring& cur_dir, bool process_startup, int* return_code); +#if defined(OS_CHROMEOS) + // Processes the OEM services customization document and modifies browser + // settings like initial startup page, web apps and extentions. + bool ApplyServicesCustomization( + const chromeos::ServicesCustomizationDocument* customization); +#endif + // LaunchWithProfile --------------------------------------------------------- // // Assists launching the application and appending the initial tabs for a |