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

Split javascript interface methods into domain objects. #4289

Closed
wants to merge 1 commit into from

Conversation

zhongqiliang
Copy link
Contributor

@zhongqiliang zhongqiliang commented Oct 21, 2024

Some refactors.

  1. Create a new interface class WebAppInterface, moved platformservice javascript interface methods into an implementation of it.
  2. Moved user agent string related code to a separate util class.
  3. Move system property methods to util.

Change-Id: I7f43808a579e7740b23a2c154e8395e8c85cf9b4

Change-Id: I7f43808a579e7740b23a2c154e8395e8c85cf9b4
Copy link

Build Status

Workflow Status
lint lint
android android
evergreen evergreen
linux linux
raspi-2 raspi-2
stub stub
win32 win32

@@ -1,51 +1,55 @@
// Copyright 2017 The Cobalt Authors. All Rights Reserved.
Copy link
Member

Choose a reason for hiding this comment

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

Don't delete the copyright please :)

Copy link
Member

@kaidokert kaidokert left a comment

Choose a reason for hiding this comment

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

good cleanup

@kaidokert kaidokert deleted the colin_refactor branch October 21, 2024 23:41
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