blob: 0ba830053b0fdd0975bfa0e001b208fae5d8292b [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/sync/profile_sync_service_base.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/profile_sync_service.h"
#include "chrome/browser/sync/profile_sync_service_factory.h"
// static
ProfileSyncServiceBase* ProfileSyncServiceBase::FromBrowserContext(
content::BrowserContext* context) {
return ProfileSyncServiceFactory::GetForProfile(
static_cast<Profile*>(context));
}