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

Unified Diff: chrome/browser/sync/glue/sync_backend_host_core.cc

Issue 1269773002: Cleanup VersionInfo after componentization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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
Index: chrome/browser/sync/glue/sync_backend_host_core.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host_core.cc b/chrome/browser/sync/glue/sync_backend_host_core.cc
index 01688be44b988211eb6e4bc4637ea211ffdad5e9..dd7074262eebd0d6c757c727bc6c846804108c50 100644
--- a/chrome/browser/sync/glue/sync_backend_host_core.cc
+++ b/chrome/browser/sync/glue/sync_backend_host_core.cc
@@ -11,7 +11,6 @@
#include "chrome/browser/sync/glue/invalidation_adapter.h"
#include "chrome/browser/sync/glue/local_device_info_provider_impl.h"
#include "chrome/browser/sync/glue/sync_backend_registrar.h"
-#include "chrome/common/chrome_version_info.h"
#include "components/invalidation/public/invalidation_util.h"
#include "components/invalidation/public/object_id_invalidation_map.h"
#include "sync/internal_api/public/events/protocol_event.h"
@@ -409,9 +408,8 @@ void SyncBackendHostCore::DoInitialize(
// Finish initializing the HttpBridgeFactory. We do this here because
// building the user agent may block on some platforms.
- chrome::VersionInfo version_info;
options->http_bridge_factory->Init(
- LocalDeviceInfoProviderImpl::MakeUserAgentForSyncApi(version_info));
+ LocalDeviceInfoProviderImpl::MakeUserAgentForSyncApi());
// Blow away the partial or corrupt sync data folder before doing any more
// initialization, if necessary.

Powered by Google App Engine
This is Rietveld 408576698