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

Unified Diff: components/offline_pages/background/offliner_factory_stub.cc

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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
Index: components/offline_pages/background/offliner_factory_stub.cc
diff --git a/components/offline_pages/background/offliner_factory_stub.cc b/components/offline_pages/background/offliner_factory_stub.cc
deleted file mode 100644
index f3209069b217b6d065585c2c4f251d6c7f70eb39..0000000000000000000000000000000000000000
--- a/components/offline_pages/background/offliner_factory_stub.cc
+++ /dev/null
@@ -1,22 +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/offline_pages/background/offliner_factory_stub.h"
-
-#include "components/offline_pages/background/offliner_stub.h"
-
-namespace offline_pages {
-
-OfflinerFactoryStub::OfflinerFactoryStub() : offliner_(nullptr) {}
-
-OfflinerFactoryStub::~OfflinerFactoryStub() {}
-
-Offliner* OfflinerFactoryStub::GetOffliner(const OfflinerPolicy* policy) {
- if (offliner_.get() == nullptr) {
- offliner_.reset(new OfflinerStub());
- }
- return offliner_.get();
-}
-
-} // namespace offline_pages
« no previous file with comments | « components/offline_pages/background/offliner_factory_stub.h ('k') | components/offline_pages/background/offliner_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698