Attention is currently required from: Takashi Toyoshima.
Ken Okada would like Takashi Toyoshima to review this change.
LinkPreview: Introduce feature flag `LinkPreview`
Design doc: https://docs.google.com/document/d/1hrWfVIDrPkrBlf8A576dDBH7Q34ESMLvOObt0j9i0SU
Bug: b/291842539
Change-Id: If06ba79188780ab723620cdf15311df256916112
---
M third_party/blink/common/features.cc
M third_party/blink/public/common/features.h
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/third_party/blink/common/features.cc b/third_party/blink/common/features.cc
index d8fa7e9..2760911 100644
--- a/third_party/blink/common/features.cc
+++ b/third_party/blink/common/features.cc
@@ -1004,6 +1004,8 @@
#endif
);
+BASE_FEATURE(kLinkPreview, "LinkPreview", base::FEATURE_ENABLED_BY_DEFAULT);
+
// Makes network loading tasks unfreezable so that they can be processed while
// the page is frozen.
BASE_FEATURE(kLoadingTasksUnfreezable,
diff --git a/third_party/blink/public/common/features.h b/third_party/blink/public/common/features.h
index fe669b4..6cfe306 100644
--- a/third_party/blink/public/common/features.h
+++ b/third_party/blink/public/common/features.h
@@ -531,6 +531,10 @@
BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kLightweightNoStatePrefetch);
+// Enables the Link Preview.
+// Tracking bug: https://b.corp.google.com/issues/291715868
+BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kLinkPreview);
+
BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kLoadingTasksUnfreezable);
BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(
To view, visit change 4705803. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Takashi Toyoshima.
To view, visit change 4705803. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Ken Okada, Takashi Toyoshima.
Ken Okada has uploaded this change for review.
To view, visit change 4705803. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Ken Okada, Takashi Toyoshima.
Patch set 1:Code-Review +1
2 comments:
Patchset:
Blink core owner LGTM
File third_party/blink/common/features.cc:
Patch Set #1, Line 1007: FEATURE_ENABLED_BY_DEFAULT
This should be DISABLED_BY_DEFAULT.
To view, visit change 4705803. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Ken Okada.
1 comment:
File third_party/blink/public/common/features.h:
Patch Set #1, Line 535: https://b.corp.google.com/issues/
Maybe using https://issuetracker.google.com/issues/291715868 is better when the tracker gets to be in public?
To view, visit change 4705803. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Takashi Toyoshima.
2 comments:
File third_party/blink/common/features.cc:
Patch Set #1, Line 1007: FEATURE_ENABLED_BY_DEFAULT
This should be DISABLED_BY_DEFAULT.
Thanks! Done.
File third_party/blink/public/common/features.h:
Maybe using https://issuetracker.google. […]
sg (For the record, there are URLs like I wrote.)
To view, visit change 4705803. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Ken Okada.
Patch set 4:Code-Review +1
1 comment:
Patchset:
ok, lgtm for now, but let me continue discussing on what's the best URL to be in the public repo.
To view, visit change 4705803. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Ken Okada.
Patch set 4:Commit-Queue +2
Chromium LUCI CQ submitted this change.
LinkPreview: Introduce feature flag `LinkPreview`
Design doc: https://docs.google.com/document/d/1hrWfVIDrPkrBlf8A576dDBH7Q34ESMLvOObt0j9i0SU
Bug: b/291842539
Change-Id: If06ba79188780ab723620cdf15311df256916112
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4705803
Reviewed-by: Hiroki Nakagawa <nhi...@chromium.org>
Reviewed-by: Takashi Toyoshima <toyo...@chromium.org>
Commit-Queue: Ken Okada <ken...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1174645}
---
M third_party/blink/common/features.cc
M third_party/blink/public/common/features.h
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/third_party/blink/common/features.cc b/third_party/blink/common/features.cc
index d348718..2cf613b 100644
--- a/third_party/blink/common/features.cc
+++ b/third_party/blink/common/features.cc
@@ -1014,6 +1014,8 @@
#endif
);
+BASE_FEATURE(kLinkPreview, "LinkPreview", base::FEATURE_DISABLED_BY_DEFAULT);
+
// Makes network loading tasks unfreezable so that they can be processed while
// the page is frozen.
BASE_FEATURE(kLoadingTasksUnfreezable,
diff --git a/third_party/blink/public/common/features.h b/third_party/blink/public/common/features.h
index 7ceb60ef5..d5c4801 100644
--- a/third_party/blink/public/common/features.h
+++ b/third_party/blink/public/common/features.h
@@ -537,6 +537,10 @@
BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kLightweightNoStatePrefetch);
+// Enables the Link Preview.
+// Tracking bug: go/launch/4269184
+BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kLinkPreview);
+
BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kLoadingTasksUnfreezable);
BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(
To view, visit change 4705803. To unsubscribe, or for help writing mail filters, visit settings.