// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_FEED_CORE_V2_TASKS_WAIT_FOR_STORE_INITIALIZE_TASK_H_ #define COMPONENTS_FEED_CORE_V2_TASKS_WAIT_FOR_STORE_INITIALIZE_TASK_H_ #include "base/memory/raw_ref.h" #include "base/memory/weak_ptr.h" #include "components/feed/core/proto/v2/store.pb.h" #include "components/feed/core/v2/feed_store.h" #include "components/offline_pages/task/task.h" namespace feed { class FeedStore; class FeedStream; // Initializes |store|. This task is run first so that other tasks can assume // storage is initialized. class WaitForStoreInitializeTask : public offline_pages::Task { … }; } // namespace feed #endif // COMPONENTS_FEED_CORE_V2_TASKS_WAIT_FOR_STORE_INITIALIZE_TASK_H_