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

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

Issue 1929223002: Add skeletons for the factories to create the request coordinator and (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Manual merge of changes in the base changelist. Created 4 years, 8 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
Index: components/offline_pages/background/prerenderer_offliner.cc
diff --git a/components/offline_pages/background/prerenderer_offliner.cc b/components/offline_pages/background/prerenderer_offliner.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b72e2e4fd7a5ebafe38cd0d511abfbfb932a1f7b
--- /dev/null
+++ b/components/offline_pages/background/prerenderer_offliner.cc
@@ -0,0 +1,29 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
fgorski 2016/04/29 04:16:46 Again this file is not needed.
+// 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/prerenderer_offliner.h"
+
+#include "components/offline_pages/background/offliner.h"
+
+namespace offline_pages {
+
+PrerendererOffliner::PrerendererOffliner(OfflinerPolicy* policy) {
+ policy_ = policy;
+}
+
+PrerendererOffliner::~PrerendererOffliner() {}
+
+// Processes |request| to load and save an offline page.
+// Returns whether the request was accepted or not.
+bool PrerendererOffliner::LoadAndSave(
+ const SavePageRequest& request,
+ const CompletionCallback& callback) {
+ return true;
+}
+
+// Clears the currently processing request, if any.
+void PrerendererOffliner::Cancel() {
+}
+
+} // namespace offline_pages

Powered by Google App Engine
This is Rietveld 408576698