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

Issue 2749693003: Reland of Moving previews code from components/ to chrome/ (Closed)

Created:
3 years, 9 months ago by RyanSturm
Modified:
3 years, 9 months ago
Reviewers:
tbansal1
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moving previews code from components/ to chrome/ Allows support for looking in other components or chrome code to verify if a preview is enabled and check the previews version. The layering dynamic is that components such as d_r_p will depend on previews/ and not the other way around, so these methods should be moved to chrome/ and relevant information should be injected. BUG=700459 Review-Url: https://codereview.chromium.org/2749693003 Cr-Commit-Position: refs/heads/master@{#456952} Committed: https://chromium.googlesource.com/chromium/src/+/db539b8aaf2c0a5e3687f92dfba14a7036aa808f

Patch Set 1 : Patchset from https://codereview.chromium.org/2739033005 #

Patch Set 2 : crash fix #

Total comments: 4

Patch Set 3 : fixed vector copy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -142 lines) Patch
M chrome/browser/previews/previews_service.cc View 2 chunks +51 lines, -1 line 0 comments Download
M components/previews/core/previews_experiments.h View 2 chunks +7 lines, -11 lines 0 comments Download
M components/previews/core/previews_experiments.cc View 2 chunks +13 lines, -41 lines 0 comments Download
M components/previews/core/previews_experiments_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/previews/core/previews_io_data.h View 4 chunks +8 lines, -1 line 0 comments Download
M components/previews/core/previews_io_data.cc View 2 chunks +9 lines, -6 lines 0 comments Download
M components/previews/core/previews_io_data_unittest.cc View 4 chunks +28 lines, -15 lines 0 comments Download
M components/previews/core/previews_opt_out_store_sql.h View 2 chunks +5 lines, -1 line 0 comments Download
M components/previews/core/previews_opt_out_store_sql.cc View 1 2 5 chunks +16 lines, -7 lines 0 comments Download
M components/previews/core/previews_opt_out_store_sql_unittest.cc View 13 chunks +49 lines, -52 lines 0 comments Download
M components/previews/core/previews_ui_service.h View 2 chunks +3 lines, -1 line 0 comments Download
M components/previews/core/previews_ui_service.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M components/previews/core/previews_ui_service_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 19 (13 generated)
RyanSturm
tbansal: PTAL
3 years, 9 months ago (2017-03-14 18:53:04 UTC) #5
tbansal1
https://codereview.chromium.org/2749693003/diff/20001/components/previews/core/previews_opt_out_store_sql.cc File components/previews/core/previews_opt_out_store_sql.cc (right): https://codereview.chromium.org/2749693003/diff/20001/components/previews/core/previews_opt_out_store_sql.cc#newcode451 components/previews/core/previews_opt_out_store_sql.cc:451: for (const auto preview : *enabled_previews_) { rm parens. ...
3 years, 9 months ago (2017-03-14 20:48:37 UTC) #8
RyanSturm
https://codereview.chromium.org/2749693003/diff/20001/components/previews/core/previews_opt_out_store_sql.cc File components/previews/core/previews_opt_out_store_sql.cc (right): https://codereview.chromium.org/2749693003/diff/20001/components/previews/core/previews_opt_out_store_sql.cc#newcode451 components/previews/core/previews_opt_out_store_sql.cc:451: for (const auto preview : *enabled_previews_) { On 2017/03/14 ...
3 years, 9 months ago (2017-03-14 20:57:28 UTC) #11
tbansal1
lgtm
3 years, 9 months ago (2017-03-14 20:58:44 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2749693003/40001
3 years, 9 months ago (2017-03-15 02:04:32 UTC) #16
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 02:14:42 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/db539b8aaf2c0a5e3687f92dfba1...

Powered by Google App Engine
This is Rietveld 408576698