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

Issue 1829733002: Retrieve the web&app activity enabled state from WebHistoryService. (Closed)

Created:
4 years, 9 months ago by msramek
Modified:
4 years, 8 months ago
Reviewers:
msarda, sky, sdefresne
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Retrieve the web&app activity enabled state from WebHistoryService. This replaces the placeholder method HasOtherFormsOfBrowsingHistory() with an asynchronous QueryWebAndAppActivity(), and exposes this asynchronous call through history_notice_utils. For reference: Design doc: https://docs.google.com/document/d/1ZMDSAd44KmzKhqXPjobZOf9rZezs6VqiBnqpDD0auCU/ Mocks: https://docs.google.com/presentation/d/1rpR3xB3aYFzXD0U--piuMq3y4XAmoYdawA2HC1cuEjM/ BUG=595332 Committed: https://crrev.com/ba5b1e9e5644881affcfff2b34ec765883e3d336 Cr-Commit-Position: refs/heads/master@{#383940}

Patch Set 1 #

Patch Set 2 : Fix return value #

Patch Set 3 : Early return. #

Total comments: 10

Patch Set 4 : Addressed comments. #

Total comments: 2

Patch Set 5 : Nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -13 lines) Patch
M components/browsing_data_ui/history_notice_utils.h View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M components/browsing_data_ui/history_notice_utils.cc View 1 2 3 1 chunk +14 lines, -7 lines 0 comments Download
M components/history/core/browser/web_history_service.h View 4 chunks +18 lines, -0 lines 0 comments Download
M components/history/core/browser/web_history_service.cc View 1 2 3 4 6 chunks +42 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
msramek
Hi guys! Mihai - this is a followup to our discussion in https://codereview.chromium.org/1824333002/, which I'm ...
4 years, 9 months ago (2016-03-23 15:42:41 UTC) #2
msramek
(apologies for patching the obvious mistakes after I sent this to review, but my UI ...
4 years, 9 months ago (2016-03-23 18:57:30 UTC) #3
sdefresne
https://codereview.chromium.org/1829733002/diff/40001/components/browsing_data_ui/history_notice_utils.cc File components/browsing_data_ui/history_notice_utils.cc (right): https://codereview.chromium.org/1829733002/diff/40001/components/browsing_data_ui/history_notice_utils.cc#newcode16 components/browsing_data_ui/history_notice_utils.cc:16: // TODO(msramek): The API to query other forms of ...
4 years, 9 months ago (2016-03-24 09:50:08 UTC) #4
msramek
https://codereview.chromium.org/1829733002/diff/40001/components/browsing_data_ui/history_notice_utils.cc File components/browsing_data_ui/history_notice_utils.cc (right): https://codereview.chromium.org/1829733002/diff/40001/components/browsing_data_ui/history_notice_utils.cc#newcode16 components/browsing_data_ui/history_notice_utils.cc:16: // TODO(msramek): The API to query other forms of ...
4 years, 9 months ago (2016-03-24 12:53:22 UTC) #6
msramek
Friendly ping. Mihai, can you please confirm whether the current interface works well for you ...
4 years, 8 months ago (2016-03-28 10:02:19 UTC) #7
msarda
API LGTM.
4 years, 8 months ago (2016-03-29 08:02:13 UTC) #8
msramek
Thanks. Hmm, but Sylvain is OOO, and we cannot wait a week. +Scott, can you ...
4 years, 8 months ago (2016-03-29 08:29:55 UTC) #10
sdefresne
lgtm
4 years, 8 months ago (2016-03-29 21:11:59 UTC) #12
sdefresne
https://codereview.chromium.org/1829733002/diff/80001/components/history/core/browser/web_history_service.cc File components/history/core/browser/web_history_service.cc (right): https://codereview.chromium.org/1829733002/diff/80001/components/history/core/browser/web_history_service.cc#newcode530 components/history/core/browser/web_history_service.cc:530: callback.Run(success && web_and_app_activity_enabled); nit: this could be simplified to ...
4 years, 8 months ago (2016-03-29 21:13:46 UTC) #13
msramek
Thanks a lot, Sylvain! But now please get back to your vacation :) https://codereview.chromium.org/1829733002/diff/80001/components/history/core/browser/web_history_service.cc File ...
4 years, 8 months ago (2016-03-30 08:55:22 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1829733002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1829733002/100001
4 years, 8 months ago (2016-03-30 08:55:53 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 8 months ago (2016-03-30 09:35:54 UTC) #19
commit-bot: I haz the power
4 years, 8 months ago (2016-03-30 09:38:11 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ba5b1e9e5644881affcfff2b34ec765883e3d336
Cr-Commit-Position: refs/heads/master@{#383940}

Powered by Google App Engine
This is Rietveld 408576698