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

rename the AuthTokenStore* machinery to RecordReplayService* #1033

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

toshok
Copy link

@toshok toshok commented Dec 13, 2023

depends on #1032.

#1032 fleshed out the rest of the interface between browser tabs and the auth token store, by adding several interface messages that are decidedly not about auth tokens. This PR renames the following:

RecordReplayAuthTokenStore -> RecordReplayService
RecordReplayAuthTokenStoreFactory -> RecordReplayServiceFactory
RecordReplayAuthTokenStoreObserver -> RecordReplayAuthTokenObserver

All files were renamed as well (from auth_token* to record_replay*.)

@@ -0,0 +1,20 @@
module record_replay.mojom;

// Provides access to the browser-side record/replay service.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This additional line is one of the two changes that are not strict file/symbol renaming.

Comment on lines -117 to -118
mojo::Remote<auth_token::mojom::RecordReplayAuthTokenStore> auth_token_store_;

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this file's change is the other that's not renaming. The window proxy creates a RecordReplayEventListener, which routes events through its LocalFrame, which then delegates to its LocalFrameMojoHandler to deal with all the mojo stuff.

toshok added a commit that referenced this pull request Jan 3, 2024
Squashed commit of the following:

commit 994bdc9bd36d870958e6bd8e213c6905a6038dca
Author: Chris Toshok <toshok@gmail.com>
Date:   Wed Dec 13 12:52:12 2023 -0800

    remove the include too

commit 3e82c721ce9bc805298538f6c1c3c56eb8a004b0
Author: Chris Toshok <toshok@gmail.com>
Date:   Wed Dec 13 12:08:38 2023 -0800

    the big renaming

commit bd81a6c7578e61771240a8fa7b3c7672973f9d68
Author: Chris Toshok <toshok@gmail.com>
Date:   Wed Dec 13 10:08:04 2023 -0800

    rename the member fields, and switch to checking if the observer receiver is already bound (saving us that weird extra auth_token_store_ check) in RecordReplayRegisterAuthTokenObserver)

commit 7f8369014d39183acc4efca9220dafcd51912f82
Author: Chris Toshok <toshok@gmail.com>
Date:   Fri Dec 8 11:23:30 2023 -0800

    plumb the rest of the devtools messages to the (increasingly misnamed) auth token store
kannanvijayan pushed a commit that referenced this pull request Jan 8, 2024
Squashed commit of the following:

commit 994bdc9bd36d870958e6bd8e213c6905a6038dca
Author: Chris Toshok <toshok@gmail.com>
Date:   Wed Dec 13 12:52:12 2023 -0800

    remove the include too

commit 3e82c721ce9bc805298538f6c1c3c56eb8a004b0
Author: Chris Toshok <toshok@gmail.com>
Date:   Wed Dec 13 12:08:38 2023 -0800

    the big renaming

commit bd81a6c7578e61771240a8fa7b3c7672973f9d68
Author: Chris Toshok <toshok@gmail.com>
Date:   Wed Dec 13 10:08:04 2023 -0800

    rename the member fields, and switch to checking if the observer receiver is already bound (saving us that weird extra auth_token_store_ check) in RecordReplayRegisterAuthTokenObserver)

commit 7f8369014d39183acc4efca9220dafcd51912f82
Author: Chris Toshok <toshok@gmail.com>
Date:   Fri Dec 8 11:23:30 2023 -0800

    plumb the rest of the devtools messages to the (increasingly misnamed) auth token store
@toshok toshok force-pushed the toshok/more-devtools-plumbing branch from bd81a6c to 6a5e46b Compare January 9, 2024 17:56
Base automatically changed from toshok/more-devtools-plumbing to master January 9, 2024 20:04
… already bound (saving us that weird extra check) in RecordReplayRegisterAuthTokenObserver)
@toshok toshok force-pushed the toshok/rename-auth-token-store branch from 994bdc9 to c8e1f35 Compare January 9, 2024 21:03
@toshok
Copy link
Author

toshok commented Jan 9, 2024

big rebase party above - now that #1032 landed, rebase on current master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants