| Index: chrome/browser/sync/profile_sync_components_factory_impl.cc
|
| diff --git a/chrome/browser/sync/profile_sync_components_factory_impl.cc b/chrome/browser/sync/profile_sync_components_factory_impl.cc
|
| index 70dc4cd78eeae13d3438215cbf14e3bd21b34d4f..4256ffd22497e948c93b0560e90c2b433e194e88 100644
|
| --- a/chrome/browser/sync/profile_sync_components_factory_impl.cc
|
| +++ b/chrome/browser/sync/profile_sync_components_factory_impl.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/command_line.h"
|
| +#include "build/build_config.h"
|
| #include "chrome/browser/extensions/app_notification_manager.h"
|
| #include "chrome/browser/extensions/extension_service.h"
|
| #include "chrome/browser/extensions/settings/settings_frontend.h"
|
| @@ -268,10 +269,17 @@ ProfileSyncComponentsFactory::SyncComponents
|
| BookmarkModel* bookmark_model =
|
| profile_sync_service->profile()->GetBookmarkModel();
|
| sync_api::UserShare* user_share = profile_sync_service->GetUserShare();
|
| + // TODO(akalin): We may want to propagate this switch up eventually.
|
| +#if defined(OS_ANDROID)
|
| + const bool kExpectMobileBookmarksFolder = true;
|
| +#else
|
| + const bool kExpectMobileBookmarksFolder = false;
|
| +#endif
|
| BookmarkModelAssociator* model_associator =
|
| new BookmarkModelAssociator(bookmark_model,
|
| user_share,
|
| - error_handler);
|
| + error_handler,
|
| + kExpectMobileBookmarksFolder);
|
| BookmarkChangeProcessor* change_processor =
|
| new BookmarkChangeProcessor(model_associator,
|
| error_handler);
|
|
|