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

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

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: more rebase Created 4 years, 1 month 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/scheduler_stub.cc
diff --git a/components/offline_pages/background/scheduler_stub.cc b/components/offline_pages/background/scheduler_stub.cc
deleted file mode 100644
index 8a2862a783924fdebe101e029b7ad28cd8677ad2..0000000000000000000000000000000000000000
--- a/components/offline_pages/background/scheduler_stub.cc
+++ /dev/null
@@ -1,34 +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/scheduler_stub.h"
-
-namespace offline_pages {
-
-SchedulerStub::SchedulerStub()
- : schedule_called_(false),
- backup_schedule_called_(false),
- unschedule_called_(false),
- schedule_delay_(0L),
- conditions_(false, 0, false) {}
-
-SchedulerStub::~SchedulerStub() {}
-
-void SchedulerStub::Schedule(const TriggerConditions& trigger_conditions) {
- schedule_called_ = true;
- conditions_ = trigger_conditions;
-}
-
-void SchedulerStub::BackupSchedule(const TriggerConditions& trigger_conditions,
- long delay_in_seconds) {
- backup_schedule_called_ = true;
- schedule_delay_ = delay_in_seconds;
- conditions_ = trigger_conditions;
-}
-
-void SchedulerStub::Unschedule() {
- unschedule_called_ = true;
-}
-
-} // namespace offline_pages

Powered by Google App Engine
This is Rietveld 408576698