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

Issue 2676893002: [Android History] Fix chrome://history redirect (Closed)

Created:
3 years, 10 months ago by Theresa
Modified:
3 years, 9 months ago
Reviewers:
sky, Dan Beam, nasko, gone
CC:
chromium-reviews, ntp-dev+reviews_chromium.org, jam, darin-cc_chromium.org, asvitkine+watch_chromium.org, agrieve+watch_chromium.org, noyau+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android History] Fix chrome://history redirect BUG=685829 Review-Url: https://codereview.chromium.org/2676893002 Cr-Commit-Position: refs/heads/master@{#448642} Committed: https://chromium.googlesource.com/chromium/src/+/a0d282eee1b4e20cd10f0bfaef744a331b1967fa

Patch Set 1 #

Total comments: 4

Patch Set 2 : [Android History] Fix chrome://history redirect #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -16 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ntp/NativePageFactory.java View 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/about_flags.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/chrome_feature_list.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/android/chrome_feature_list.cc View 3 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/android/ntp/new_tab_page_url_handler.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/browser_about_handler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/url_constants.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/url_constants.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/sessions/content/content_serialized_navigation_driver.cc View 1 2 chunks +22 lines, -0 lines 0 comments Download
M content/public/common/content_features.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_features.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/common/url_constants.h View 1 3 chunks +10 lines, -0 lines 0 comments Download
M content/public/common/url_constants.cc View 1 3 chunks +11 lines, -0 lines 2 comments Download

Messages

Total messages: 27 (15 generated)
Theresa
ptal - demo videos are in the bug
3 years, 10 months ago (2017-02-03 22:12:25 UTC) #2
gone
lgtm
3 years, 10 months ago (2017-02-06 18:47:20 UTC) #7
Theresa
+sky@ for components/sessions/content/content_serialized_navigation_driver.cc and chrome/browser/browser_about_handler.cc +nasko@ for content/public/common/content_features.*
3 years, 10 months ago (2017-02-06 18:57:24 UTC) #9
nasko
content/public/common/content_features.* LGTM
3 years, 10 months ago (2017-02-06 19:15:09 UTC) #10
sky
I have a meta question about this. Did you consider making chrome:// redirect automatically to ...
3 years, 10 months ago (2017-02-06 22:32:14 UTC) #11
Theresa
On 2017/02/06 22:32:14, sky wrote: > I have a meta question about this. Did you ...
3 years, 10 months ago (2017-02-06 22:43:28 UTC) #12
Theresa
https://codereview.chromium.org/2676893002/diff/1/components/sessions/content/content_serialized_navigation_driver.cc File components/sessions/content/content_serialized_navigation_driver.cc (right): https://codereview.chromium.org/2676893002/diff/1/components/sessions/content/content_serialized_navigation_driver.cc#newcode146 components/sessions/content/content_serialized_navigation_driver.cc:146: navigation->virtual_url_.host_piece() == "history-frame")) { On 2017/02/06 22:32:14, sky wrote: ...
3 years, 10 months ago (2017-02-06 23:38:09 UTC) #14
sky
LGTM
3 years, 10 months ago (2017-02-07 00:23:48 UTC) #16
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/2676893002/20001
3 years, 10 months ago (2017-02-07 16:31:22 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/a0d282eee1b4e20cd10f0bfaef744a331b1967fa
3 years, 10 months ago (2017-02-07 16:37:20 UTC) #24
Dan Beam
https://codereview.chromium.org/2676893002/diff/20001/content/public/common/url_constants.cc File content/public/common/url_constants.cc (right): https://codereview.chromium.org/2676893002/diff/20001/content/public/common/url_constants.cc#newcode74 content/public/common/url_constants.cc:74: const char kChromeUIHistoryURL[] = "chrome://history/"; why do we need ...
3 years, 9 months ago (2017-03-14 05:41:55 UTC) #26
Theresa
3 years, 9 months ago (2017-03-14 15:05:50 UTC) #27
Message was sent while issue was closed.
https://codereview.chromium.org/2676893002/diff/20001/content/public/common/u...
File content/public/common/url_constants.cc (right):

https://codereview.chromium.org/2676893002/diff/20001/content/public/common/u...
content/public/common/url_constants.cc:74: const char kChromeUIHistoryURL[] =
"chrome://history/";
On 2017/03/14 05:41:55, Dan Beam wrote:
> why do we need the chrome/common/url_constants.h version of this now that it's
> in content/public/common/url_constants.h?

We probably don't. There are a number of duplicates across these two files that
could probably be cleaned up.

Powered by Google App Engine
This is Rietveld 408576698