blob: b841f89b6c64f471ed416fa1dbf86ec6687fbc05 (
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/bookmarks/bookmark_service.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/profiles/profile.h"
// static
BookmarkService* BookmarkService::FromBrowserContext(
content::BrowserContext* browser_context) {
return BookmarkModelFactory::GetForProfile(
Profile::FromBrowserContext(browser_context));
}
|