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

Issue 2804543003: [Offline Pages] Remove activation time for background loading. (Closed)

Created:
3 years, 8 months ago by romax
Modified:
3 years, 8 months ago
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline Pages] Remove activation time for background loading. Since activation time is no longer used, remove all codes related. BUG=705103 Review-Url: https://codereview.chromium.org/2804543003 Cr-Commit-Position: refs/heads/master@{#463097} Committed: https://chromium.googlesource.com/chromium/src/+/92dd0fe1f2cc4acc05593a8f64a26f55f1f86521

Patch Set 1 #

Patch Set 2 : more change to tests #

Total comments: 2

Patch Set 3 : reset the schema related changes. #

Patch Set 4 : Keep schema. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -53 lines) Patch
M components/offline_pages/core/background/pick_request_task.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M components/offline_pages/core/background/request_queue_store_sql.h View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M components/offline_pages/core/background/request_queue_store_sql.cc View 1 2 3 4 chunks +4 lines, -6 lines 0 comments Download
M components/offline_pages/core/background/request_queue_store_unittest.cc View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download
M components/offline_pages/core/background/save_page_request.h View 3 3 chunks +0 lines, -11 lines 0 comments Download
M components/offline_pages/core/background/save_page_request.cc View 3 4 chunks +0 lines, -20 lines 0 comments Download
M components/offline_pages/core/background/save_page_request_unittest.cc View 3 4 chunks +2 lines, -6 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
romax
PTAL, thanks.
3 years, 8 months ago (2017-04-06 17:51:18 UTC) #5
Pete Williamson
https://codereview.chromium.org/2804543003/diff/20001/components/offline_pages/core/background/request_queue_store_sql.cc File components/offline_pages/core/background/request_queue_store_sql.cc (left): https://codereview.chromium.org/2804543003/diff/20001/components/offline_pages/core/background/request_queue_store_sql.cc#oldcode38 components/offline_pages/core/background/request_queue_store_sql.cc:38: " activation_time INTEGER NOT NULL DEFAULT 0," Instead of ...
3 years, 8 months ago (2017-04-07 18:18:58 UTC) #9
fgorski
https://codereview.chromium.org/2804543003/diff/20001/components/offline_pages/core/background/request_queue_store_sql.cc File components/offline_pages/core/background/request_queue_store_sql.cc (left): https://codereview.chromium.org/2804543003/diff/20001/components/offline_pages/core/background/request_queue_store_sql.cc#oldcode38 components/offline_pages/core/background/request_queue_store_sql.cc:38: " activation_time INTEGER NOT NULL DEFAULT 0," On 2017/04/07 ...
3 years, 8 months ago (2017-04-07 18:28:53 UTC) #11
romax
addressed comments: Undid the removal related with schema, and also brought back the activation_time field ...
3 years, 8 months ago (2017-04-07 21:01:20 UTC) #12
Pete Williamson
Let's also remove it from save_page_request. It will simplify the code. We could add a ...
3 years, 8 months ago (2017-04-07 21:30:05 UTC) #13
romax
removed the field from SavePageRequest and also related code in store_sql.cc, leaving some default values ...
3 years, 8 months ago (2017-04-07 23:41:46 UTC) #14
Pete Williamson
lgtm
3 years, 8 months ago (2017-04-08 00:01:00 UTC) #15
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/2804543003/60001
3 years, 8 months ago (2017-04-08 01:09:09 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-04-08 01:18:41 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/92dd0fe1f2cc4acc05593a8f64a2...

Powered by Google App Engine
This is Rietveld 408576698