blob: 0ba830053b0fdd0975bfa0e001b208fae5d8292b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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));
}
|