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

Issue 1884553002: Add a testing switch to override the query for other forms of browsing history (Closed)

Created:
4 years, 8 months ago by msramek
Modified:
4 years, 8 months ago
CC:
chromium-reviews, Patrick Dubroy, dbeam+watch-history_chromium.org, pam+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a testing switch to override the query for other forms of browsing history The API to query other forms of browsing history is not ready yet. The query done by web history service therefore currently always return false, i.e. "no other forms of browsing history found in this account". Until the API is ready, provide a switch for testing purposes that will change this to always return true. BUG=602629 Committed: https://crrev.com/2b3e76a0b6974e86953e3786fad5ddafa59cd573 Cr-Commit-Position: refs/heads/master@{#388753}

Patch Set 1 #

Patch Set 2 : Missing include #

Patch Set 3 : Updated bug number. #

Total comments: 2

Patch Set 4 : Added comment. #

Patch Set 5 : Added iOS code. #

Patch Set 6 : Rebase. #

Patch Set 7 : Fix includes. #

Patch Set 8 : Fix indentation in history_ui.cc #

Patch Set 9 : Renamed .cc->.mm #

Patch Set 10 : Require exact URL. #

Patch Set 11 : Addressed comments. #

Total comments: 2

Patch Set 12 : Renamed the switch. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -154 lines) Patch
M chrome/browser/ui/webui/history_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +18 lines, -0 lines 0 comments Download
M components/browsing_data_ui/history_notice_utils.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download
M components/browsing_data_ui/history_notice_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -1 line 0 comments Download
M ios/chrome/app/resources/history/history.js View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/webui/history/history_ui.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -149 lines 0 comments Download
A + ios/chrome/browser/ui/webui/history/history_ui.mm View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +18 lines, -0 lines 0 comments Download
M ios/chrome/ios_chrome.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 37 (16 generated)
msramek
Hi folks, please have a look! Thanks, Martin
4 years, 8 months ago (2016-04-12 13:57:34 UTC) #2
msarda
lgtm https://codereview.chromium.org/1884553002/diff/40001/components/browsing_data_ui/history_notice_utils.h File components/browsing_data_ui/history_notice_utils.h (right): https://codereview.chromium.org/1884553002/diff/40001/components/browsing_data_ui/history_notice_utils.h#newcode20 components/browsing_data_ui/history_notice_utils.h:20: extern const char kOverrideOtherFormsOfBrowsingHistoryQuery[]; Please add a comment ...
4 years, 8 months ago (2016-04-12 16:41:48 UTC) #3
msramek
Updates: - Added iOS code. - Now requiring exact URL for the switch to be ...
4 years, 8 months ago (2016-04-13 14:29:42 UTC) #10
Dan Beam
why do you want to check this in? to make your local development easier? that ...
4 years, 8 months ago (2016-04-14 03:31:14 UTC) #11
msramek
On 2016/04/14 03:31:14, Dan Beam wrote: > why do you want to check this in? ...
4 years, 8 months ago (2016-04-14 09:16:14 UTC) #12
Dan Beam
https://codereview.chromium.org/1884553002/diff/310001/chrome/browser/ui/webui/history_ui.cc File chrome/browser/ui/webui/history_ui.cc (right): https://codereview.chromium.org/1884553002/diff/310001/chrome/browser/ui/webui/history_ui.cc#newcode198 chrome/browser/ui/webui/history_ui.cc:198: void HistoryUI::DidStopLoading() { why do we need to do ...
4 years, 8 months ago (2016-04-19 23:00:46 UTC) #13
msramek
Thanks, Dan! The code is much simpler now :) Unfortunately, while I was cleaning up ...
4 years, 8 months ago (2016-04-20 15:23:22 UTC) #17
msramek
Jackie, as we discussed yesterday, there was a problem with the redirect on iOS. By ...
4 years, 8 months ago (2016-04-20 15:24:23 UTC) #18
msramek
I tested it with Android and it seems to work. However, I realized that (at ...
4 years, 8 months ago (2016-04-20 17:36:30 UTC) #19
Jackie Quinn
On 2016/04/20 17:36:30, msramek wrote: > I tested it with Android and it seems to ...
4 years, 8 months ago (2016-04-20 23:28:39 UTC) #20
Jackie Quinn
On 2016/04/20 23:28:39, Jackie Quinn wrote: > On 2016/04/20 17:36:30, msramek wrote: > > I ...
4 years, 8 months ago (2016-04-21 00:37:58 UTC) #21
Dan Beam
lgtm https://codereview.chromium.org/1884553002/diff/370001/chrome/browser/ui/webui/history_ui.cc File chrome/browser/ui/webui/history_ui.cc (right): https://codereview.chromium.org/1884553002/diff/370001/chrome/browser/ui/webui/history_ui.cc#newcode190 chrome/browser/ui/webui/history_ui.cc:190: browsing_data_ui::testing::kOverrideOtherFormsOfBrowsingHistoryQuery = true; this is a constant naming ...
4 years, 8 months ago (2016-04-21 03:12:56 UTC) #22
msramek
\o/ Thanks a lot for your help :-) https://codereview.chromium.org/1884553002/diff/370001/chrome/browser/ui/webui/history_ui.cc File chrome/browser/ui/webui/history_ui.cc (right): https://codereview.chromium.org/1884553002/diff/370001/chrome/browser/ui/webui/history_ui.cc#newcode190 chrome/browser/ui/webui/history_ui.cc:190: browsing_data_ui::testing::kOverrideOtherFormsOfBrowsingHistoryQuery ...
4 years, 8 months ago (2016-04-21 08:50:30 UTC) #23
msramek
+David, can you please have a quick look at .gyp and .gn? Thanks, Martin
4 years, 8 months ago (2016-04-21 08:51:33 UTC) #25
droger
gyp/gn lgtm
4 years, 8 months ago (2016-04-21 09:24:27 UTC) #26
msramek
Thank you!
4 years, 8 months ago (2016-04-21 09:36:05 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884553002/390001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884553002/390001
4 years, 8 months ago (2016-04-21 09:36:22 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/148473) linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 8 months ago (2016-04-21 09:40:38 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884553002/390001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884553002/390001
4 years, 8 months ago (2016-04-21 11:01:09 UTC) #34
commit-bot: I haz the power
Committed patchset #12 (id:390001)
4 years, 8 months ago (2016-04-21 12:57:27 UTC) #35
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:34:01 UTC) #37
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/2b3e76a0b6974e86953e3786fad5ddafa59cd573
Cr-Commit-Position: refs/heads/master@{#388753}

Powered by Google App Engine
This is Rietveld 408576698