| Index: chrome/browser/profile.cc
|
| diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
|
| index 7a34dbcdc5b2140a30b32e3b7ba394485d6eceac..a9f7f75154fc1dbee7c9c2f330d5b18902c7d5fb 100644
|
| --- a/chrome/browser/profile.cc
|
| +++ b/chrome/browser/profile.cc
|
| @@ -856,9 +856,12 @@ void ProfileImpl::InitExtensions() {
|
| typedef std::list<std::pair<std::string, int> > ComponentExtensionList;
|
| ComponentExtensionList component_extensions;
|
|
|
| - // Bookmark manager.
|
| component_extensions.push_back(
|
| std::make_pair("bookmark_manager", IDR_BOOKMARKS_MANIFEST));
|
| + if (command_line->HasSwitch(switches::kEnablePrintPreview)) {
|
| + component_extensions.push_back(
|
| + std::make_pair("print_preview", IDR_PRINT_PREVIEW_MANIFEST));
|
| + }
|
|
|
| // Some sample apps to make our lives easier while we are developing extension
|
| // apps. This way we don't have to constantly install these over and over.
|
|
|