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

Unified Diff: components/previews/previews_ui_service.cc

Issue 2333003002: Changed previews component to be a layered component. (Closed)
Patch Set: Rebased on master 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/previews/previews_ui_service.h ('k') | components/previews/previews_ui_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/previews/previews_ui_service.cc
diff --git a/components/previews/previews_ui_service.cc b/components/previews/previews_ui_service.cc
deleted file mode 100644
index 70cb9cb5fdb94f9454fef095fe208a23ddf829db..0000000000000000000000000000000000000000
--- a/components/previews/previews_ui_service.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2016 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 "components/previews/previews_ui_service.h"
-
-#include "components/previews/previews_io_data.h"
-
-namespace previews {
-
-PreviewsUIService::PreviewsUIService(
- PreviewsIOData* previews_io_data,
- const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner)
- : io_task_runner_(io_task_runner), weak_factory_(this) {
- previews_io_data->Initialize(weak_factory_.GetWeakPtr());
-}
-
-PreviewsUIService::~PreviewsUIService() {
- DCHECK(thread_checker_.CalledOnValidThread());
-}
-
-void PreviewsUIService::SetIOData(base::WeakPtr<PreviewsIOData> io_data) {
- DCHECK(thread_checker_.CalledOnValidThread());
- io_data_ = io_data;
-}
-
-} // namespace previews
« no previous file with comments | « components/previews/previews_ui_service.h ('k') | components/previews/previews_ui_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698