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

Unified Diff: components/previews/core/previews_ui_service.h

Issue 2739033005: Moving previews code from components/ to chrome/ (Closed)
Patch Set: tbansal comments Created 3 years, 9 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/previews/core/previews_ui_service.h
diff --git a/components/previews/core/previews_ui_service.h b/components/previews/core/previews_ui_service.h
index 12452bcacbec17f23895ac19047030de39f9668a..85dc8d12dd6335145b02631711807a5e7986a457 100644
--- a/components/previews/core/previews_ui_service.h
+++ b/components/previews/core/previews_ui_service.h
@@ -13,6 +13,7 @@
#include "base/threading/thread_checker.h"
#include "base/time/time.h"
#include "components/previews/core/previews_experiments.h"
+#include "components/previews/core/previews_io_data.h"
#include "components/previews/core/previews_opt_out_store.h"
class GURL;
@@ -31,7 +32,8 @@ class PreviewsUIService {
PreviewsUIService(
PreviewsIOData* previews_io_data,
const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner,
- std::unique_ptr<PreviewsOptOutStore> previews_opt_out_store);
+ std::unique_ptr<PreviewsOptOutStore> previews_opt_out_store,
+ const PreviewsIsEnabledCallback& is_enabled_callback);
virtual ~PreviewsUIService();
// Sets |io_data_| to |io_data| to allow calls from the UI thread to the IO
« no previous file with comments | « components/previews/core/previews_opt_out_store_sql_unittest.cc ('k') | components/previews/core/previews_ui_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698