Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-2255: Allow Dawn's newtab extension to query GBE historical stats #677

Merged
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Next

Allow Dawn's newtab extesnion to query GBE historical stats

  • Loading branch information
wlycdgr committed Feb 2, 2021
commit 0f60afef942229c91a884536edaf04d3eb936376
@@ -1393,7 +1393,8 @@ function initializeEventListeners() {
globals.GHOSTERY_TAB_CHROME_PRERELEASE_ID,
globals.GHOSTERY_TAB_CHROME_TEST_ID,
globals.GHOSTERY_TAB_FIREFOX_PRODUCTION_ID,
globals.GHOSTERY_TAB_FIREFOX_TEST_ID
globals.GHOSTERY_TAB_FIREFOX_TEST_ID,
globals.DAWN_NEWTAB_PRODUCTION_ID,
].indexOf(sender.id) !== -1;

if (recognized && request.name === 'getStatsAndSettings') {
@@ -72,6 +72,7 @@ class Globals {
this.GHOSTERY_TAB_CHROME_TEST_ID = 'ifnpgdmcliingpambkkihjlhikmbbjid';
this.GHOSTERY_TAB_FIREFOX_PRODUCTION_ID = 'firefoxtab@ghostery.com';
this.GHOSTERY_TAB_FIREFOX_TEST_ID = '{0ea88bc4-03bd-4baa-8153-acc861589c1c}';
this.DAWN_NEWTAB_PRODUCTION_ID = 'newtab@ghostery.com';

// Site Policy named constants
this.BLACKLISTED = 1;
ProTip! Use n and p to navigate between commits in a pull request.