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

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

Issue 2748033002: Revert of Moving previews code from components/ to chrome/ (Closed)
Patch Set: 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_opt_out_store_sql.h
diff --git a/components/previews/core/previews_opt_out_store_sql.h b/components/previews/core/previews_opt_out_store_sql.h
index 0d3b6389e0f098b58910248d4ad510054910aab3..801b85074471063f309ce6d88dc9254a862af51b 100644
--- a/components/previews/core/previews_opt_out_store_sql.h
+++ b/components/previews/core/previews_opt_out_store_sql.h
@@ -36,8 +36,7 @@
PreviewsOptOutStoreSQL(
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
scoped_refptr<base::SequencedTaskRunner> background_task_runner,
- const base::FilePath& database_dir,
- std::unique_ptr<PreviewsTypeList> enabled_previews);
+ const base::FilePath& database_dir);
~PreviewsOptOutStoreSQL() override;
// PreviewsOptOutStore implementation:
@@ -61,9 +60,6 @@
// SQL connection to the SQLite database.
std::unique_ptr<sql::Connection> db_;
- // All enabled previews and versions.
- const std::unique_ptr<PreviewsTypeList> enabled_previews_;
-
DISALLOW_COPY_AND_ASSIGN(PreviewsOptOutStoreSQL);
};
« no previous file with comments | « components/previews/core/previews_io_data_unittest.cc ('k') | components/previews/core/previews_opt_out_store_sql.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698