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

Side by Side Diff: chrome/browser/previews/previews_service.cc

Issue 2300213002: Adding an IO Data and keyed service to previews/ (Closed)
Patch Set: thestig comments Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/previews/previews_service.h"
6
7 #include "components/previews/previews_ui_service.h"
8 #include "content/public/browser/browser_thread.h"
9
10 PreviewsService::PreviewsService() {
11 DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
12 }
13
14 PreviewsService::~PreviewsService() {
15 DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
16 }
17
18 void PreviewsService::set_previews_ui_service(
19 std::unique_ptr<previews::PreviewsUIService> previews_ui_service) {
20 DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
21 previews_ui_service_ = std::move(previews_ui_service);
22 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698